/* ============================================================
   PONTO DE RECARGA BYD
   Design System baseado em Carbook (Winsfolio)
   https://winsfolio.net/html/carbook/demo-1/
   Cores BYD: #007BFF | #00D26A | #071A2D
   ============================================================ */

/* ---------- Design Tokens (Carbook DS → BYD) ---------- */
:root {
  /* Carbook: --theme-color → BYD primary */
  --theme-color: #007BFF;
  --theme-accent: #00D26A;
  --color-dark: #071A2D;
  --color-black: #000000;
  --color-footer: #060709;
  --color-white: #FFFFFF;
  --color-text: #444444;
  --color-muted: #7a7a7a;
  --color-bg: #F5F7FA;
  --color-bg-card: #f2f2f2;
  --color-bg-step: #f3f3f3;
  --color-border: #ced1d4;

  /* Carbook typography */
  --font-display: 'Funnel Display', sans-serif;
  --font-body: 'Be Vietnam Pro', sans-serif;

  /* Carbook spacing & radius */
  --section-gap: 120px;
  --radius-btn: 10px;
  --radius-card: 20px;
  --radius-image: 30px;
  --radius-pill: 62px;

  /* Carbook shadows */
  --shadow-card: 0px 0px 32px 10px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 60px rgba(7, 26, 45, 0.12);

  --transition: 0.3s ease-in-out;
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --header-height: 130px;
  --container-max: 1296px;
}

/* ---------- Reset & Base (Carbook) ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 30px;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}

main {
  overflow-x: hidden;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-black);
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.375rem); line-height: 1.14; font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.75rem); font-weight: 700; }
h3 { font-size: 1.625rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 30px;
  color: var(--color-text);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

figure {
  overflow: hidden;
  margin: 0;
}

/* ---------- Text Highlight (Carbook underline animation) ---------- */
.text-highlight {
  position: relative;
  display: inline;
}

.text-highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--theme-color), var(--theme-accent));
  border-radius: 4px;
  opacity: 0.35;
  z-index: -1;
  animation: textline 8s infinite;
}

.text-highlight--green::after {
  background: linear-gradient(90deg, var(--theme-accent), var(--theme-color));
}

@keyframes textline {
  0%   { clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%); }
  50%  { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  100% { clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%); }
}

/* ---------- Buttons (Carbook .btn) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--theme-color);
  padding: 14px 40px;
  border-radius: var(--radius-btn);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color var(--transition), transform var(--transition);
}

.btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 0;
  left: 0;
  top: 0;
  background-color: var(--color-white);
  border-radius: var(--radius-btn);
  transition: height var(--transition), opacity var(--transition);
  opacity: 0;
  z-index: 0;
}

.btn span {
  position: relative;
  z-index: 1;
}

.btn:hover::before {
  height: 100%;
  opacity: 1;
}

.btn:hover {
  color: var(--color-black);
}

.btn--pill {
  background-color: rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  backdrop-filter: blur(8px);
}

.btn--pill:hover {
  background-color: var(--color-white);
  color: var(--color-black);
}

.btn--pill::before { display: none; }

.header--scrolled .btn--pill {
  background-color: var(--theme-color);
  color: var(--color-white);
}

.header--scrolled .btn--pill:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.45);
  color: var(--color-white);
}

.btn--outline::before { background: rgba(255, 255, 255, 0.15); }
.btn--outline:hover { color: var(--color-white); border-color: var(--color-white); }

.btn--white {
  background: var(--color-white);
  color: var(--theme-color);
}

.btn--white:hover { color: var(--color-black); }

.btn--outline-dark {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--color-white);
}

.btn--outline-dark::before { background: rgba(255, 255, 255, 0.2); }
.btn--outline-dark:hover { color: var(--color-white); }

.btn--lg {
  padding: 16px 40px;
  font-size: 1rem;
}

/* ---------- Heading (Carbook .heading) ---------- */
.heading {
  text-align: center;
  width: min(100%, 720px);
  margin: 0 auto 60px;
}

.heading span {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--color-text);
  text-transform: lowercase;
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.heading h2 {
  margin-bottom: 16px;
}

.heading p {
  color: var(--color-muted);
}

.heading--left {
  text-align: left;
  margin-left: 0;
  width: 100%;
}

.heading--left p {
  width: 90%;
  padding-top: 8px;
}

.heading--light,
.heading--light .heading span { color: var(--color-white); }
.heading--light span { color: rgba(255, 255, 255, 0.7); }
.heading--light-desc { color: rgba(255, 255, 255, 0.65) !important; }

/* ---------- Top Bar (Carbook) ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition);
}

.top-bar {
  background-color: rgba(0, 0, 0, 0.17);
  backdrop-filter: blur(10px);
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar p {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.875rem;
  line-height: 1.4;
}

.top-bar__contact {
  display: flex;
  gap: 32px;
  align-items: center;
}

.top-bar__contact a {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar__contact a:hover { color: var(--theme-accent); }
.top-bar__contact svg { width: 18px; height: 18px; }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 24px;
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header--scrolled .top-bar { display: none; }
.header--scrolled .header__logo-text strong { color: var(--color-dark); }
.header--scrolled .nav-link { color: var(--color-dark); }
.header--scrolled .header__toggle span { background: var(--color-dark); }

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.header__logo-text strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  transition: color var(--transition);
}

.header__logo-text small {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--theme-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.header__nav { display: none; }

.header__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-white);
  text-transform: capitalize;
  padding: 8px 16px;
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--theme-color);
}

.header:not(.header--scrolled) .nav-link.active {
  color: var(--theme-accent);
}

.header__cta { display: none; }

.header__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.header__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}

.header__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header__toggle.active span:nth-child(2) { opacity: 0; }
.header__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.header__nav.open {
  display: flex;
  position: fixed;
  inset: 0;
  top: var(--header-height);
  background: rgba(6, 7, 9, 0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header__nav.open .header__menu {
  flex-direction: column;
  gap: 20px;
}

.header__nav.open .nav-link {
  font-size: 1.25rem;
  color: var(--color-white);
}

/* ---------- Hero (Carbook #home) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + 24px) 0 32px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: imgscale 10s infinite;
}

@keyframes imgscale {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.06); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__title {
  color: var(--color-white);
  max-width: 100%;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: clamp(1.75rem, 7vw, 4.375rem);
  line-height: 1.15;
  word-wrap: break-word;
}

.hero__subtitle {
  font-size: clamp(1.125rem, 4vw, 2.1875rem);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 400;
  padding-bottom: 20px;
  line-height: 1.3;
}

.theme-list { margin-bottom: 36px; }

.theme-list li {
  color: var(--color-white);
  padding-bottom: 12px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.5;
}

.theme-list li svg {
  color: var(--theme-accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.hero__actions .btn {
  width: 100%;
}

.hero__bottom {
  position: relative;
  z-index: 2;
  margin-top: 32px;
  width: 100%;
}

/* ---------- Count Style (Carbook stats bar) ---------- */
.count-style {
  position: relative;
  z-index: 3;
  background-color: rgba(93, 93, 93, 0.85);
  backdrop-filter: blur(5px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 16px 12px;
  border-radius: var(--radius-card);
  border: 2px solid #5f6668;
  width: 100%;
}

.hero__scroll {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.5); opacity: 0.5; }
}

/* ---------- Count Style (Carbook stats bar) ---------- */
.count-style__item {
  text-align: center;
  position: relative;
  flex: 1;
}

.count-style__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: #8c8989;
}

.count-style__number {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 6vw, 3.75rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 4px;
}

.count-style__item span {
  color: var(--color-white);
  font-size: clamp(0.625rem, 2.5vw, 0.875rem);
  font-family: var(--font-body);
  line-height: 1.3;
  display: block;
}

/* ---------- Sections ---------- */
.section {
  padding: var(--section-gap) 0;
}

.section--light { background: var(--color-bg); }

.section--dark {
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

/* ---------- Steps (Carbook .stap) ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.stap {
  text-align: center;
  padding: 60px 32px;
  position: relative;
  transition: transform var(--transition);
}

.stap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-bg-step);
  border-radius: var(--radius-card);
  transition: all var(--transition);
  z-index: 0;
}

.stap:hover::before,
.stap.active::before {
  background-color: var(--color-white);
  box-shadow: var(--shadow-card);
}

@media (hover: hover) {
  .stap:hover::before,
  .stap.active::before {
    transform: scale(1.03);
  }

  .car-bok:hover { transform: translateX(8px); }
  .img-hover:hover img { transform: scale(1.08); }
}

.stap__icon,
.stap h4,
.stap h3,
.stap p {
  position: relative;
  z-index: 1;
}

.stap__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-color);
  border-radius: var(--radius-card);
  color: var(--color-white);
}

.stap__icon svg { width: 32px; height: 32px; }

.stap h4 {
  color: var(--theme-color);
  font-weight: 700;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 6px;
}

.stap h3 {
  font-size: 1.75rem;
  font-weight: 700;
  padding-bottom: 16px;
}

.stap p { color: var(--color-muted); line-height: 1.7; }

/* ---------- Split / Motoristas ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.list-style li {
  position: relative;
  padding-left: 24px;
  padding-bottom: 16px;
  font-size: 1.125rem;
  font-family: var(--font-body);
  color: var(--color-text);
}

.list-style li::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--theme-color);
  left: 0;
  top: 10px;
}

.car-here {
  position: relative;
}

.car-here figure,
.car-here img {
  border-radius: var(--radius-image);
  width: 100%;
}

.img-hover img {
  width: 100%;
  transition: transform var(--transition);
}

.video-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-card);
  background-color: var(--theme-color);
  color: var(--color-white);
  animation: shadow-pulse 1s infinite;
  z-index: 2;
}

.video-badge svg { width: 32px; height: 32px; }

@keyframes shadow-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); }
  100% { box-shadow: 0 0 0 28px rgba(0, 0, 0, 0); }
}

/* ---------- Partner Cards (Carbook .car-bok) ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.car-bok {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  transition: transform var(--transition);
}

.car-bok__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: var(--theme-accent);
  position: relative;
  z-index: 1;
}

.car-bok__icon svg { width: 32px; height: 32px; }

.car-bok h4 {
  font-size: clamp(1rem, 3vw, 1.375rem);
  font-weight: 700;
  color: var(--color-white);
  padding-bottom: 6px;
  line-height: 1.3;
}

.car-bok p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.section__cta {
  text-align: center;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

/* ---------- Services / Benefits (Carbook .service) ---------- */
.services-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.service {
  padding-bottom: 40px;
}

.service__row {
  background-color: var(--color-bg-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  transition: background-color var(--transition);
}

.service h3 {
  font-weight: 700;
  font-size: clamp(1rem, 3.5vw, 1.5rem);
  transition: color var(--transition);
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}

.service__row svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--theme-color);
  transition: color var(--transition);
}

.service:hover h3,
.service:hover .service__row svg {
  color: var(--color-white);
}

.service:hover .service__row {
  background-color: var(--theme-color);
}

.service p {
  padding-top: 12px;
  padding-left: 16px;
  padding-right: 16px;
  width: 100%;
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ---------- Map ---------- */
.map-container {
  position: relative;
  border-radius: var(--radius-image);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #0a1628;
}

.map-container__placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: #0a1628;
}

.map-container__placeholder--brazil {
  aspect-ratio: 1280 / 1131;
  width: 100%;
  min-height: 280px;
}

.map-container__placeholder--brazil img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.12) brightness(0.5) contrast(1.15);
  transform: scale(1.02);
}

.map-container__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
}

.map-container__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 26, 45, 0.35), rgba(0, 123, 255, 0.15));
  pointer-events: none;
}

.map-container__badge svg { width: 16px; height: 16px; color: var(--theme-accent); flex-shrink: 0; }

.map-pin {
  position: absolute;
  z-index: 2;
  cursor: pointer;
  transform: translate(-50%, -50%);
  left: 0;
  top: 0;
}

.map-pin__dot {
  display: block;
  width: 14px;
  height: 14px;
  background: var(--theme-accent);
  border: 3px solid var(--color-white);
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

.map-pin__pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 210, 106, 0.3);
  border-radius: 50%;
  animation: pinPulse 2s ease-out infinite;
  animation-delay: var(--pin-delay, 0s);
}

@keyframes pinPulse {
  0%   { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* ---------- Testimonials (Carbook .review-clint) ---------- */
.testimonials {
  overflow: hidden;
  width: 100%;
}

.testimonials__track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.review-clint {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-top: 3px solid #373737;
  padding-top: 24px;
  margin-top: 10px;
}

.review {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--color-bg-card);
  padding: 16px 24px;
  border-radius: var(--radius-card);
  width: fit-content;
  margin-bottom: 24px;
}

.star {
  display: flex;
  align-items: center;
  gap: 6px;
}

.star svg {
  width: 18px;
  height: 18px;
  fill: #ff7928;
  color: #ff7928;
}

.star h6 {
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: var(--color-text);
  padding-left: 4px;
}

.review-clint > p {
  font-size: clamp(1rem, 4vw, 1.5rem);
  line-height: 1.6;
  padding-bottom: 24px;
  color: var(--color-text);
}

.review-clint__author h5 {
  font-size: clamp(1rem, 3.5vw, 1.375rem);
  padding-bottom: 4px;
  line-height: 1.3;
}

.review-clint__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.review-clint__avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--theme-color);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-clint__author h6 {
  font-size: 0.9375rem;
  color: var(--color-muted);
  font-family: var(--font-body);
  font-weight: 400;
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.testimonials__btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-card);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--color-black);
}

.testimonials__btn:hover {
  background: var(--theme-color);
  color: var(--color-white);
}

.testimonials__btn svg { width: 20px; height: 20px; }

.testimonials__dots { display: flex; gap: 8px; }

.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}

.testimonials__dot.active {
  background: var(--theme-color);
  width: 28px;
  border-radius: 5px;
}

/* ---------- CTA (Carbook .book-car-hire) ---------- */
.cta-final {
  padding: 80px 0;
  background: var(--color-bg);
}

.book-car-hire {
  background-color: var(--theme-color);
  padding: 40px 24px;
  border-radius: var(--radius-card);
  width: 100%;
  max-width: 600px;
  height: auto;
  min-height: unset;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.book-car-hire h2 {
  color: var(--color-white);
  font-weight: 700;
  width: 100%;
  margin: 0 auto 12px;
  font-size: clamp(1.375rem, 5vw, 2.25rem);
  line-height: 1.25;
}

.book-car-hire p {
  color: var(--color-white);
  padding-bottom: 20px;
  line-height: 1.6;
  font-size: 0.9375rem;
}

.cta-final__actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
}

.cta-final__actions .btn {
  width: 100%;
}

/* ---------- Footer (Carbook) ---------- */
.footer {
  background-color: var(--color-footer);
  padding-top: 80px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 30px;
  border-bottom: 1px solid #4f4f4f;
}

.footer-top > a {
  font-size: clamp(1.125rem, 5vw, 2.6875rem);
  color: var(--color-white);
  font-weight: 700;
  font-family: var(--font-display);
  word-break: break-word;
  line-height: 1.2;
}

.footer-top ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.footer-top ul li a {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.9375rem;
}

.footer-top > a:hover,
.footer-top ul li a:hover,
.information-link ul li a:hover {
  color: var(--theme-color);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-top: 48px;
}

.subscribe-letter h3 {
  font-size: clamp(1.125rem, 4vw, 1.625rem);
  color: var(--color-white);
  font-weight: 700;
  padding-bottom: 12px;
  width: 100%;
  line-height: 1.3;
}

.subscribe-letter p {
  color: rgba(255, 255, 255, 0.6);
  padding-bottom: 16px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.subscribe-form input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid #444;
  background-color: rgba(255, 255, 255, 0.07);
  color: var(--color-white);
  font-family: var(--font-body);
  outline: none;
  font-size: 0.9375rem;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.subscribe-form .btn {
  position: static;
  width: 100%;
  padding: 14px 24px;
}

.subscribe-form input::placeholder { color: rgba(255, 255, 255, 0.4); }

.information-link h3 {
  font-size: 1.25rem;
  color: var(--color-white);
  font-weight: 700;
  padding-bottom: 24px;
  text-transform: capitalize;
}

.information-link ul li {
  padding-bottom: 14px;
  font-size: 0.9375rem;
}

.information-link ul li a,
.information-link p {
  color: var(--color-white);
  font-family: var(--font-body);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  border-top: 1px solid #4f4f4f;
  padding: 25px 0;
  margin-top: 60px;
  text-align: center;
}

.footer__logo-mini strong {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.125rem;
}

.footer__bottom p {
  color: var(--color-white);
  font-size: 0.875rem;
}

/* ---------- Back to Top (Carbook #progress) ---------- */
#progress {
  position: fixed;
  bottom: 20px;
  right: 16px;
  width: 56px;
  height: 56px;
  display: none;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  background: transparent;
  z-index: 999;
  padding: 0;
}

#progress.visible { display: grid; }

#progress-value {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--theme-color);
  color: var(--color-white);
  transition: background-color var(--transition);
}

#progress:hover #progress-value {
  background-color: var(--theme-accent);
}

#progress-value svg { width: 22px; height: 22px; }

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal--right { transform: translateX(40px); }
.reveal.visible { opacity: 1; transform: translate(0); }
.reveal--delay   { transition-delay: 0.15s; }
.reveal--delay-2 { transition-delay: 0.3s; }
.reveal--delay-3 { transition-delay: 0.45s; }

/* ---------- Responsive — Mobile First Fixes ---------- */
@media (max-width: 767px) {
  :root {
    --section-gap: 64px;
    --header-height: 118px;
    --radius-image: 20px;
  }

  .top-bar p { display: none; }

  .top-bar__inner {
    justify-content: center;
    padding: 8px 0;
  }

  .top-bar__contact {
    gap: 20px;
    width: 100%;
    justify-content: center;
  }

  .header__inner {
    padding: 14px 0;
    gap: 12px;
  }

  .header__logo-text strong { font-size: 0.85rem; }

  .theme-list { margin-bottom: 24px; }

  .theme-list li {
    font-size: 0.9375rem;
    align-items: flex-start;
  }

  .heading {
    margin-bottom: 40px;
  }

  .heading h2 {
    font-size: clamp(1.625rem, 6vw, 2.5rem);
  }

  .heading--left p { width: 100%; }

  .stap {
    padding: 32px 20px;
  }

  .stap h3 {
    font-size: clamp(1.25rem, 4.5vw, 1.75rem);
  }

  .split { gap: 32px; }

  .list-style li {
    font-size: 1rem;
    line-height: 1.5;
  }

  .car-here figure,
  .car-here img {
    border-radius: var(--radius-card);
  }

  .partner-grid { gap: 24px; }

  .service { padding-bottom: 24px; }

  .section--dark .heading h2,
  .section--dark .heading span {
    word-wrap: break-word;
  }

  .footer {
    padding-top: 48px;
  }

  .footer__bottom {
    margin-top: 40px;
  }

  /* Desativa zoom da imagem do hero no mobile (evita overflow) */
  .hero__bg img {
    animation: none;
    transform: scale(1);
  }
}

@media (max-width: 380px) {
  .count-style {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .count-style__item:not(:last-child)::after {
    display: none;
  }

  .count-style__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .count-style__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .count-style__number {
    font-size: 1.75rem;
    margin-bottom: 0;
  }

  .count-style__item span {
    font-size: 0.8125rem;
    text-align: right;
    flex: 1;
  }
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero__actions .btn {
    width: auto;
  }

  .cta-final__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .cta-final__actions .btn {
    width: auto;
  }

  .subscribe-form {
    flex-direction: row;
    position: relative;
  }

  .subscribe-form input {
    height: 63px;
    padding: 0 140px 0 20px;
  }

  .subscribe-form .btn {
    position: absolute;
    top: 7px;
    right: 7px;
    width: auto;
  }

  .map-container__placeholder:not(.map-container__placeholder--brazil) {
    aspect-ratio: 16/7;
  }

  .map-container__placeholder--brazil {
    min-height: 320px;
  }

  .map-container__badge {
    top: 20px;
    right: 20px;
    left: auto;
    width: auto;
    font-size: 0.8125rem;
  }

  .services-list { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .partner-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-top    { flex-direction: row; align-items: center; }
  .footer__grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  :root {
    --section-gap: 100px;
    --header-height: 110px;
    --radius-image: 30px;
  }

  .container { padding: 0 20px; }

  .hero {
    padding: calc(var(--header-height) + 40px) 0 48px;
  }

  .count-style {
    padding: 24px 32px;
    border-width: 3px;
    display: flex;
    justify-content: space-around;
    gap: 24px;
  }

  .count-style__item:not(:last-child)::after {
    height: 60px;
  }

  .header__nav  { display: flex; }
  .header__cta  { display: inline-flex; }
  .header__toggle { display: none; }

  .steps { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .review-clint { flex: 0 0 calc(50% - 12px); margin-right: 24px; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-top: 60px; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }

  .book-car-hire {
    padding: 80px 40px;
    border-radius: 50%;
    width: min(100%, 600px);
    height: min(100vw, 600px);
    max-height: 600px;
  }

  .book-car-hire h2 { width: 90%; }

  .car-bok__icon {
    width: 80px;
    height: 80px;
  }
}

@media (min-width: 1024px) {
  :root { --section-gap: 120px; }

  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .review-clint { flex: 0 0 calc(33.333% - 16px); }
  .hero__scroll { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
