/* =========================================================
   Rodrigues Diesel - Base visual
   - Estrutura organizada
   - Responsividade reforçada
   - Sem quebrar a base já funcional
========================================================= */

/* =========================================================
   TOKENS / VARIÁVEIS
========================================================= */
:root {
  --bg: #050505;
  --bg-soft: #101010;
  --panel: #161616;
  --panel-2: #1d1d1d;

  --text: #f5f5f5;
  --muted: #b9b9b9;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --brand: #ef3c32;
  --brand-2: #ffffff;
  --whatsapp: #25d366;

  --shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 10px 26px rgba(0, 0, 0, 0.24);

  --radius: 24px;
  --radius-sm: 18px;
  --radius-pill: 999px;

  --container: 1180px;
  --header-h: 88px;

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 20px;
  --space-5: 24px;
  --space-6: 28px;
  --space-7: 36px;
  --space-8: 48px;
  --space-9: 64px;
  --space-10: 78px;
}

/* =========================================================
   RESET / BASE
========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(239, 60, 50, 0.10), transparent 25%),
    linear-gradient(180deg, #060606 0%, #090909 100%);
}

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

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

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

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

/* =========================================================
   CABEÇALHO
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(5, 5, 5, 0.92);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__logo {
  width: 136px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.brand__text {
  min-width: 0;
}

.brand__text strong {
  display: block;
  font-size: clamp(1.1rem, 1.4vw, 1.45rem);
  line-height: 1.1;
}

.brand__text span {
  display: block;
  color: var(--muted);
  font-size: clamp(0.86rem, 1vw, 1rem);
  line-height: 1.35;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-weight: 700;
  color: #dddddd;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #ffffff;
}

.site-nav a.is-active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 3px;
  background: var(--brand);
  border-radius: var(--radius-pill);
}

/* =========================================================
   HERO / BANNERS
========================================================= */
.hero,
.page-banner {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: clamp(560px, 78vh, 820px);
  display: grid;
  align-items: end;
}

.page-banner {
  min-height: clamp(340px, 48vh, 460px);
  display: grid;
  align-items: end;
}

.hero::before,
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.64) 42%, rgba(0, 0, 0, 0.26) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.40) 100%),
    var(--hero-image, linear-gradient(135deg, #111111, #1e1e1e));
}

.page-banner::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.62) 50%, rgba(0, 0, 0, 0.34) 100%),
    var(--hero-image, linear-gradient(135deg, #090909, #1e1e1e));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, #080808 82%);
}

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

.hero__content {
  max-width: 920px;
  width: 100%;
  padding: 110px 0 96px;
  margin-left: clamp(0px, 3vw, 36px);
}

.page-banner__content {
  max-width: 800px;
  padding: 88px 0 74px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.hero h1,
.page-banner h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.hero p,
.page-banner p {
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.65;
  color: #e6e6e6;
  max-width: 58ch;
}

/* =========================================================
   SEÇÕES
========================================================= */
.section {
  padding: var(--space-10) 0;
}

.section--tight {
  padding-top: 42px;
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  line-height: 1.1;
}

.section-intro {
  margin: 0;
  max-width: 70ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.section-actions {
  margin-top: 28px;
}

/* =========================================================
   GRIDS / LAYOUTS
========================================================= */
.grid-2,
.grid-3,
.grid-4,
.contact-layout,
.form-grid {
  display: grid;
}

.grid-2 {
  grid-template-columns: 1.04fr 0.96fr;
  gap: 32px;
}

.grid-2--align-center {
  align-items: center;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.contact-layout {
  grid-template-columns: 0.92fr 1.08fr;
  gap: 22px;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

/* =========================================================
   CARDS / BLOCOS
========================================================= */
.card,
.stat,
.contact-panel,
.map-box {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border-radius: var(--radius);
  padding: 26px;
  height: 100%;
}

.card h3 {
  margin: 0 0 0px;
  font-size: 1.24rem;
  line-height: 1.5;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.stat {
  padding: 24px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.141);
  min-height: 100%;
}

.stat strong {
  display: block;
  color: var(--brand);
  font-size: clamp(1.6rem, 2vw, 1.95rem);
  line-height: 1.1;
  margin-bottom: 10px;
}

.stat span {
  color: var(--muted);
  line-height: 1.65;
}

/* =========================================================
   IMAGEM / MÍDIA
========================================================= */
.media-box {
  min-height: 440px;
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.44)),
    var(--media-image, linear-gradient(135deg, #2b2b2b, #111111));
  background-size: cover;
  background-position: center;
}

/* =========================================================
   LISTA COM CHECK
========================================================= */
.list-check {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.list-check li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
  line-height: 1.75;
}

.list-check li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700;
}

/* =========================================================
   CTA
========================================================= */
.cta-band {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.12), rgba(255, 255, 255, 0.21));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-band__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cta-band h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1.15;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  max-width: 62ch;
}

/* =========================================================
   BOTÕES
========================================================= */
.btn-whatsapp,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  border: 0;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.32);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-outline {
  min-height: 50px;
  border: 1px solid rgba(239, 60, 50, 0.45);
  color: #ffffff;
  background: transparent;
}

.btn-outline:hover {
  transform: translateY(-2px);
  border-color: rgba(239, 60, 50, 0.75);
  background: rgba(239, 60, 50, 0.08);
}

/* =========================================================
   CARD DE SERVIÇO
========================================================= */
.service-card {
  position: relative;
  padding-top: 76px;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.042),
    rgba(0, 0, 0, 0.6)
  );

  border: 1px solid rgba(239, 59, 50, 0.289);
}



/* =========================================================
   CONTATO / FORMULÁRIO
========================================================= */
.contact-panel p,
.contact-panel li {
  color: var(--muted);
  line-height: 1.8;
}

.contact-panel ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 14px;
}

.contact-panel strong {
  color: #ffffff;
}

.field,
.select,
.textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.field:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(239, 60, 50, 0.48);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(239, 60, 50, 0.08);
}

.textarea {
  min-height: 156px;
  resize: vertical;
}

.field::placeholder,
.textarea::placeholder {
  color: #9f9f9f;
}

.form-group label {
  display: block;
  margin: 0 0 8px;
  color: #dddddd;
  font-weight: 700;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* =========================================================
   MAPA
========================================================= */
.map-box {
  overflow: hidden;
  border-radius: 28px;
  min-height: 380px;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* =========================================================
   RODAPÉ
========================================================= */
.site-footer {
  border-top: 1px solid var(--line);
  background: #060606;
}

.footer__inner {
  padding: 28px 0 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--muted);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__brand img {
  width: 92px;
  flex-shrink: 0;
}

.footer__text strong,
.footer__brand strong {
  display: block;
  color: #ffffff;
  line-height: 1.1;
}

.footer__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__links a:hover {
  color: #ffffff;
}

/* =========================================================
   RESPONSIVIDADE
========================================================= */
@media (max-width: 1180px) {
  .hero__content {
    max-width: 860px;
  }
}

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

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

  .hero {
    min-height: 68vh;
  }

  .hero__content {
    max-width: 760px;
    margin-left: 0;
    padding: 96px 0 84px;
  }

  .media-box {
    min-height: 380px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 78px;
  }

  .site-header__inner {
    gap: 16px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 16px 18px;
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .site-nav a.is-active::after,
  .site-nav a:hover::after {
    bottom: -4px;
  }

  .hero,
  .page-banner {
    min-height: auto;
  }

  .hero__content,
  .page-banner__content {
    margin-left: 0;
    padding: 82px 0 62px;
  }

  .hero h1,
  .page-banner h1 {
    max-width: 14ch;
  }

  .cta-band__inner,
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-whatsapp,
  .btn-outline {
    width: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

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

  .brand {
    gap: 12px;
  }

  .brand__logo {
    width: 96px;
  }

  .brand__text strong {
    font-size: 1rem;
  }

  .brand__text span {
    font-size: 0.84rem;
  }

  .section {
    padding: 62px 0;
  }

  .section--tight {
    padding-top: 34px;
  }

  .card,
  .stat {
    padding: 22px;
  }

  .media-box {
    min-height: 300px;
    border-radius: 24px;
  }

  .kicker {
    font-size: 0.8rem;
    padding: 9px 14px;
  }

  .hero__content {
    padding: 72px 0 54px;
  }

  .hero h1,
  .page-banner h1 {
    font-size: clamp(2rem, 10vw, 2.9rem);
    line-height: 1.04;
    max-width: 100%;
  }

  .hero p,
  .page-banner p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .btn-whatsapp,
  .btn-outline {
    width: 100%;
  }

  .footer__links {
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .brand__logo {
    width: 82px;
  }

  .brand__text span {
    font-size: 0.78rem;
  }

  .hero__content {
    padding: 64px 0 48px;
  }

  .stat strong {
    font-size: 1.45rem;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 620px;
  }

  .hero::before {
    background-position: 68% center;
    background-size: cover;
  }

  .hero__content {
    padding: 88px 0 80px;
  }
}