/* =========================================================
   TUBARÃO MOTORS — Reset & Base
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-void);
  color: var(--text-primary);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

/* --- Foco visível para acessibilidade --- */
:focus-visible {
  outline: 2px solid var(--shark-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Seleção de texto --- */
::selection {
  background: var(--shark-500);
  color: #fff;
}

/* --- Scrollbar (webkit) --- */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface-raised);
  border-radius: var(--radius-pill);
  border: 2px solid var(--bg-base);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--shark-700);
}

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

.container--narrow {
  max-width: 900px;
}

/* --- Utilitários de visibilidade --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--sp-4);
  background: var(--shark-500);
  color: #fff;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius-md);
  z-index: 1000;
  font-weight: 600;
  transition: top var(--dur-base) var(--ease-out);
}

.skip-link:focus {
  top: var(--sp-4);
}

/* --- Seções --- */
section {
  position: relative;
}

.section-pad {
  padding-block: var(--sp-11);
}

@media (max-width: 720px) {
  .section-pad {
    padding-block: var(--sp-9);
  }
}

/* --- Cabeçalho de seção --- */
.section-head {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shark-400);
  margin-bottom: var(--sp-3);
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--shark-400);
  border-radius: var(--radius-pill);
}

.section-title {
  font-size: var(--fs-2xl);
  color: var(--text-primary);
  text-transform: uppercase;
}

.section-sub {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  margin-top: var(--sp-3);
  font-family: var(--font-body);
  font-weight: 400;
}

@media (max-width: 720px) {
  .section-title {
    font-size: var(--fs-xl);
  }
}
