/* ═══════════════════════════════════════════════════════
   STYLE.CSS — R.A. Retífica de Motores
   Arquivo único. Ordem: variáveis → reset → base →
   componentes → header → footer → páginas
═══════════════════════════════════════════════════════ */


/* ── CSS VARIABLES ──────────────────────────────────── */
:root {
  --c-primary: #030f43;
  --c-accent: #F5C200;
  --c-white: #e6e6e6;
  --c-off-white: #f8f7f2;
  --c-dark: #0a0a0a;

  --f-display: 'Antonio', sans-serif;
  --f-heading: 'Oswald', sans-serif;
  --f-body: 'Oswald', sans-serif;

  --header-h: 80px;
  --radius: 6px;
  --shadow: 0 4px 24px rgba(3, 15, 67, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--f-body);
  font-weight: 400;
  color: var(--c-primary);
  background: var(--c-white);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--header-h);
}

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

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

ul {
  list-style: none;
}


/* ── TIPOGRAFIA ─────────────────────────────────────── */
h1 {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

h2 {
  font-family: var(--f-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

h3 {
  font-family: var(--f-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.04em;
}

h4 {
  font-family: var(--f-heading);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

p {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 1rem;
}

.t-display {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.t-heading {
  font-family: var(--f-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.t-subheading {
  font-family: var(--f-heading);
  font-weight: 500;
  letter-spacing: 0.04em;
}


/* ── LAYOUT ─────────────────────────────────────────── */
.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

main {
  position: relative;
  z-index: 1;
}

.section {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.section--dark {
  background: var(--c-primary);
  color: var(--c-primary);
}

.section--accent {
  background: var(--c-accent);
  color: var(--c-primary);
}

.section--off {
  background: var(--c-off-white);
}


/* ── GRID ───────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;

}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}


/* ── BOTÕES ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--f-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--c-primary);
  color: var(--c-white);
}

.btn--primary:hover {
  background: #0a1f7a;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--accent {
  background: var(--c-accent);
  color: var(--c-primary);
}

.btn--accent:hover {
  background: #ffd600;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(245, 194, 0, 0.4);
}

.btn--whatsapp {
  background: #25D366;
  color: var(--c-white);
}

.btn--whatsapp svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--whatsapp:hover {
  background: #1fb358;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}


/* ── CARDS ──────────────────────────────────────────── */
.card {
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(3, 15, 67, 0.16);
}

.card__body {
  padding: 1.75rem;
}

.card__icon {
  width: 48px;
  height: 48px;
  background: var(--c-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--c-accent);
}


/* ── SECTION HEADER ─────────────────────────────────── */
.section-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-header__label {
  font-family: var(--f-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.5rem;
  display: block;
}

.section-header p {
  color: rgba(3, 15, 67, 0.55);
  margin-top: 0.75rem;
  font-size: 1rem;
  max-width: 520px;
  font-weight: 300;
}

.section--dark .section-header p {
  color: rgba(255, 255, 255, 0.55);
}

.section--dark h2 {
  color: var(--c-white);
}


/* ── UTILITÁRIOS ────────────────────────────────────── */
.text-accent {
  color: var(--c-accent);
}

.text-primary {
  color: var(--c-primary);
}

.text-white {
  color: var(--c-white);
}

.text-center {
  text-align: center;
}

.text-center .section-header p {
  margin-left: auto;
  margin-right: auto;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.accent-bar {
  width: 48px;
  height: 4px;
  background: var(--c-accent);
  margin: 0.75rem 0 0;
  border-radius: 2px;
}

.text-center .accent-bar {
  margin: 0.75rem auto 0;
}

.divider {
  border: none;
  border-top: 1px solid rgba(3, 15, 67, 0.08);
  margin: 0;
}


/* ══════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: var(--c-primary);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(3, 15, 67, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo img {
  height: 54px;
  width: auto;
  display: block;
}

.header__logo-text {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: none;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header__nav-links a {
  font-family: var(--f-heading);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
}

.header__nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--c-accent);
  border-radius: 2px;
  transition: var(--transition);
}

.header__nav-links a:hover,
.header__nav-links a.active {
  color: var(--c-white);
}

.header__nav-links a:hover::after,
.header__nav-links a.active::after {
  left: 0.75rem;
  right: 0.75rem;
}

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.header__burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile */
@media (max-width: 768px) {
  .header__burger {
    display: flex;
  }

  .header__nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--c-primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 5%;
    gap: 1rem;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(3, 15, 67, 0.4);
  }

  .header__nav.open {
    clip-path: inset(0 0 -20px 0);
  }

  .header__nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
  }

  .header__nav-links a {
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
  }

  .header__nav-links a::after {
    display: none;
  }

  .header__burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .header__burger.open span:nth-child(2) {
    opacity: 0;
  }

  .header__burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}


/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
#site-footer {
  background: var(--c-primary);
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
}

.footer__top {
  padding: 4rem 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer__info h3 {
  font-family: var(--f-display);
  color: var(--c-white);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.footer__info p,
.footer__info address {
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
}

.footer__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  aspect-ratio: 4/3;
  max-height: 280px;
}

.footer__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.8) contrast(1.1);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 768px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}


/* ══════════════════════════════════════════════════════
   COMPONENTES DE PÁGINA — COMPARTILHADOS
══════════════════════════════════════════════════════ */

/* Hero */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  background: var(--c-off-white);
  position: relative;
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  font-family: var(--f-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: var(--c-primary);
  display: inline-block;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-family: var(--f-heading);
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  font-weight: 400;
  color: rgba(3, 15, 67, 0.6);
  margin-top: 1rem;
  margin-bottom: 2rem;
  max-width: 480px;
  letter-spacing: 0.04em;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Page Banner (páginas internas) */
.page-banner {
  background: var(--c-primary);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  background: var(--c-accent);
  opacity: 0.06;
  border-radius: 50%;
}

.page-banner h1 {
  color: var(--c-white);
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.page-banner h1 span {
  color: var(--c-accent);
}


/* ══════════════════════════════════════════════════════
   HOME — estilos exclusivos
══════════════════════════════════════════════════════ */

/* Hero layout 2 colunas */
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

/* Decoração hero lado direito */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
}

.hero__visual-card {
  position: absolute;
  background: var(--c-primary);
  border-radius: 12px;
}

.hero__visual-card--back {
  width: 280px;
  height: 320px;
  right: 0;
  top: 20px;
  transform: rotate(6deg);
  opacity: 0.5;
}

.hero__visual-card--front {
  width: 280px;
  height: 320px;
  right: 20px;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 2rem;
  overflow: hidden;
}

.hero__visual-big {
  font-family: var(--f-display);
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  position: absolute;
  top: -10px;
  right: -10px;
  letter-spacing: -0.04em;
  user-select: none;
}

.hero__visual-label {
  font-family: var(--f-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.5rem;
}

.hero__visual-stat {
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1;
}

.hero__visual-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--c-accent);
}

.hero__visual-dot--lg {
  width: 80px;
  height: 80px;
  top: -20px;
  left: -20px;
  opacity: 0.18;
}

.hero__visual-dot--sm {
  width: 32px;
  height: 32px;
  bottom: 60px;
  right: -12px;
  opacity: 0.35;
}

.hero__visual-stripe {
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: var(--c-accent);
  border-radius: 3px;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    display: none;
  }
}

/* Stats bar */
.stats-bar {
  background: var(--c-primary);
  padding: 2.5rem 0;
  position: relative;
  z-index: 1;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stats-bar__item {
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
}

.stats-bar__item+.stats-bar__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

.stats-bar__number {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
  display: block;
}

.stats-bar__label {
  font-family: var(--f-heading);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.4rem;
  display: block;
}

@media (max-width: 768px) {
  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stats-bar__item+.stats-bar__item::before {
    display: none;
  }
}

/* Serviços cards na home */
.service-card {
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(3, 15, 67, 0.16);
}

.service-card__thumb {
  height: 6px;
  background: var(--c-accent);
}

.service-card__body {
  padding: 1.75rem;
  flex: 1;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--c-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--c-accent);
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  color: rgba(3, 15, 67, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}

.service-card__footer {
  padding: 1rem 1.75rem;
  border-top: 1px solid rgba(3, 15, 67, 0.06);
}

.service-card__link {
  font-family: var(--f-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.service-card__link::after {
  content: '→';
  transition: transform var(--transition);
}

.service-card:hover .service-card__link {
  color: var(--c-accent);
}

.service-card:hover .service-card__link::after {
  transform: translateX(4px);
}

/* Diferenciais — split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

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

  .split__visual {
    order: -1;
  }
}

.split__visual {
  position: relative;
  height: 380px;
}

.split__bg-block {
  position: absolute;
  inset: 0;
  background: var(--c-primary);
  border-radius: 12px;
}

.split__accent-block {
  position: absolute;
  width: 60%;
  height: 55%;
  background: var(--c-accent);
  border-radius: 8px;
  bottom: -1.5rem;
  right: -1.5rem;
  z-index: -1;
}

.split__inner-label {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  font-family: var(--f-display);
  font-size: 4.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.05);
  text-transform: uppercase;
  line-height: 1;
  user-select: none;
}

.split__badge {
  position: absolute;
  top: 2rem;
  left: 2rem;
  background: var(--c-accent);
  color: var(--c-primary);
  font-family: var(--f-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
}

/* foto dentro do bloco azul */
.split__bg-block {
  overflow: hidden;
  /* adicione essa linha se não tiver */
}

.split__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 12px;
  opacity: 0.85;
  /* leve transparência para o azul aparecer na borda */

}

/* Lista de diferenciais */
.diff-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.diff-list__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.diff-list__icon {
  width: 36px;
  height: 36px;
  background: rgba(245, 194, 0, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.diff-list__icon svg {
  width: 18px;
  height: 18px;
  color: var(--c-accent);
}

.diff-list__text h4 {
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
}

.diff-list__text p {
  font-size: 0.85rem;
  color: rgba(3, 15, 67, 0.55);
  font-weight: 300;
}

/* CTA faixa */
.cta-strip {
  background: var(--c-accent);
  padding: 4rem 0;
}

.cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-strip h2 {
  color: var(--c-primary);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.cta-strip p {
  color: rgba(3, 15, 67, 0.65);
  font-size: 0.95rem;
  margin-top: 0.4rem;
  font-weight: 300;
}

@media (max-width: 640px) {
  .cta-strip__inner {
    flex-direction: column;
    text-align: center;
  }
}


/* ══════════════════════════════════════════════════════
   SERVIÇOS — estilos exclusivos
══════════════════════════════════════════════════════ */
/* Adicione aqui estilos específicos da página serviços */


/* ══════════════════════════════════════════════════════
   SOBRE — estilos exclusivos
══════════════════════════════════════════════════════ */
/* Adicione aqui estilos específicos da página sobre */

@media (max-width: 768px) {

  /* grid 2 colunas da página sobre vira 1 coluna */
  .sobre-grid {
    grid-template-columns: 1fr !important;
  }
}


/* ══════════════════════════════════════════════════════
   CONTATO — estilos exclusivos
══════════════════════════════════════════════════════ */
/* Adicione aqui estilos específicos da página contato */

@media (max-width: 768px) {

  /* grid 2 colunas da página contato vira 1 coluna */
  .contato-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ██ HOME · HERO █████████████████████████████████████ */
.home-hero {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* imagem de fundo — cobre tudo, responsiva */
.home-hero__bg {
  position: absolute;
  inset: 0;
}

.home-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* cobre sem distorcer */
  object-position: center;
  /* centraliza o foco */
  display: block;
}

/* overlay escuro para o texto respirar */
.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 15, 67, 0.5);
  /* azul primário semitransparente */
}

/* conteúdo centralizado */
.home-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 760px;
}

.home-hero__eyebrow {
  display: inline-block;
  font-family: var(--f-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: rgba(3, 15, 67, 0.5);
  padding: 0.3rem 0.9rem;
  border-radius: 3px;
  margin-bottom: 1.25rem;
}

.home-hero__title {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--c-white);
}

.home-hero__title span {
  color: var(--c-accent);
}

.home-hero__sub {
  font-family: var(--f-heading);
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  margin: 1.25rem 0 2rem;
  line-height: 1.7;
}

.home-hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* responsivo mobile */
@media (max-width: 480px) {
  .home-hero {
    height: 80vh;
  }

  .home-hero__actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ██ HOME · HERO · FIM ████████████████████████████████ */
/* ██ SERVICOS · CATEGORIAS ██████████████████████████████ */
.svc-category__header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.svc-category__num {
  font-family: var(--f-display);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(3, 15, 67, 0.08);
  flex-shrink: 0;
  margin-top: -0.5rem;
}

/* ██ SERVICOS · CARDS ████████████████████████████████████ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

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

.svc-card {
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--c-accent);
  transition: var(--transition);
}

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(3, 15, 67, 0.14);
}

.svc-card--dark {
  background: rgba(255, 255, 255, 0.05);
  border-top: 4px solid var(--c-accent);
  box-shadow: none;
}

.svc-card--dark h3 {
  color: var(--c-white);
}

.svc-card--dark p {
  color: rgba(255, 255, 255, 0.85) !important;
}

.svc-card__body {
  padding: 1.5rem 1.5rem 1rem;
  flex: 1;
}

.svc-card__body h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0.03em;
}

.svc-card__body p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(3, 15, 67, 0.6);
  font-weight: 300;
}

.svc-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 1.5rem 1.5rem;
  padding: 0.65rem 1rem;
  background: var(--c-primary);
  color: var(--c-white);
  font-family: var(--f-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
}

.svc-card__btn::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='%23ffffff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}

.svc-card__btn:hover {
  background: #0a1f7a;
  transform: translateY(-1px);
}

.svc-card__btn--accent {
  background: var(--c-accent);
  color: var(--c-primary);
}

.svc-card__btn--accent::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='%23030f43' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
}

.svc-card__btn--accent:hover {
  background: #ffd600;
}

/* ██ SERVICOS · FIM ██████████████████████████████████████ */