:root {
  --ink: #21170d;
  --muted: #6b6259;
  --line: #ead7be;
  --paper: #fff8ef;
  --surface: #ffffff;
  --brand: #e18a19;
  --brand-dark: #7a4814;
  --accent: #f3b247;
  --steel: #2a1d12;
  --deep: #150f09;
  --cream: #fff2dc;
  --shadow: 0 18px 60px rgba(78, 45, 14, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 248, 239, 0.94);
  border-bottom: 1px solid rgba(122, 72, 20, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--steel);
  font-size: 1.05rem;
}

.brand small {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--steel);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav a {
  white-space: nowrap;
}

.nav-cta {
  padding: 10px 14px;
  color: var(--deep);
  background: var(--accent);
  border-radius: 7px;
  box-shadow: 0 12px 28px rgba(225, 138, 25, 0.22);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--deep);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  padding: clamp(72px, 12vw, 120px) clamp(18px, 4vw, 56px) 42px;
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 42%, rgba(225, 138, 25, 0.2), transparent 32%),
    linear-gradient(90deg, rgba(20, 15, 9, 0.92), rgba(53, 32, 13, 0.7), rgba(20, 15, 9, 0.35)),
    url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1800&q=80")
      center / cover;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
  width: min(1180px, 100%);
}

.hero-content {
  position: relative;
  max-width: 780px;
  color: #fff;
}

.hero-content::before {
  content: "Garcia Representações";
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.hero-content p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.avatar-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 18px;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 248, 239, 0.96), rgba(255, 229, 190, 0.94));
  border: 1px solid rgba(255, 242, 220, 0.64);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.25);
}

.avatar-photo {
  display: grid;
  min-height: 300px;
  place-items: end center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 64%, rgba(225, 138, 25, 0.42), transparent 42%),
    linear-gradient(155deg, #2a1d12, #e18a19);
  border-radius: 8px;
}

.avatar-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 24px rgba(20, 15, 9, 0.32));
}

.avatar-message {
  position: relative;
  padding: 16px;
  background: #fffaf2;
  border: 1px solid rgba(201, 137, 43, 0.28);
  border-radius: 8px;
}

.avatar-message::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 28px;
  width: 18px;
  height: 18px;
  background: #fffaf2;
  border-left: 1px solid rgba(201, 137, 43, 0.28);
  border-top: 1px solid rgba(201, 137, 43, 0.28);
  transform: rotate(45deg);
}

.avatar-message strong {
  display: block;
  margin-bottom: 5px;
  color: var(--brand-dark);
  font-size: 1.05rem;
}

.avatar-message p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.avatar-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.avatar-links .button {
  grid-column: 1 / -1;
}

.avatar-links a:not(.button),
.social-strip a,
.contact-direct a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--brand-dark);
  background: #fff2dc;
  border: 1px solid rgba(225, 138, 25, 0.22);
  border-radius: 7px;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 0;
  border-radius: 7px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.avatar-links a:hover,
.social-strip a:hover,
.brand-grid a:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--deep);
  background: linear-gradient(135deg, #f5b24a, #dc7d12);
  box-shadow: 0 16px 34px rgba(225, 138, 25, 0.32);
}

.whatsapp-button::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 9px;
  background: #23d366;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(35, 211, 102, 0.16);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 242, 220, 0.45);
}

.section {
  padding: clamp(64px, 10vw, 112px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.intro-grid,
.split,
.region,
.trainings,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.intro-grid > p,
.split > div > p,
.trainings > div > p,
.contact > div > p {
  color: var(--muted);
  font-size: 1.08rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stats div,
.feature-list article,
.cards article,
.timeline div,
.training-panel,
.contact-form {
  background: var(--surface);
  border: 1px solid rgba(225, 138, 25, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stats div {
  padding: 22px;
}

.stats strong {
  display: block;
  color: var(--brand-dark);
  font-size: 2rem;
}

.stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

.split {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(21, 15, 9, 0.96), rgba(91, 52, 12, 0.92)),
    var(--steel);
}

.split .eyebrow,
.trainings .eyebrow {
  color: #f0b45f;
}

.split p {
  color: rgba(255, 255, 255, 0.78);
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article {
  padding: 24px;
  color: var(--ink);
  border-left: 4px solid var(--brand);
}

.feature-list p,
.cards p,
.timeline p,
.training-panel p {
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cards article {
  min-height: 190px;
  padding: 26px;
}

.represented {
  background: linear-gradient(180deg, #fff, #fff4e5);
}

.represented .section-heading p,
.region-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.brand-grid article {
  min-height: 250px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(225, 138, 25, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.brand-grid span {
  display: grid;
  width: 88px;
  height: 58px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--deep);
  background: linear-gradient(135deg, #f5b24a, #dc7d12);
  border: 0;
  border-radius: 7px;
  font-weight: 800;
}

.brand-grid p {
  color: var(--muted);
}

.brand-grid a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--brand-dark);
  font-weight: 800;
}

.represented-card::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 170px;
  height: 170px;
  background: rgba(225, 138, 25, 0.12);
  border-radius: 50%;
}

.stam-card {
  border-top: 5px solid #e18a19;
}

.star-card {
  border-top: 5px solid #7a4814;
}

.region {
  align-items: center;
  background: #fff8ef;
}

.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.city-list li {
  padding: 9px 12px;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(225, 138, 25, 0.22);
  border-radius: 7px;
  font-weight: 800;
}

.map-panel {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 48%, rgba(225, 138, 25, 0.32), transparent 26%),
    linear-gradient(135deg, #fffaf2, #f0d6b5);
  border: 1px solid rgba(225, 138, 25, 0.2);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(122, 72, 20, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 72, 20, 0.12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle, black, transparent 78%);
}

.map-ring {
  position: absolute;
  left: 50%;
  top: 49%;
  width: 230px;
  height: 230px;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(225, 138, 25, 0.42);
  border-radius: 50%;
}

.map-ring::before,
.map-ring::after {
  content: "";
  position: absolute;
  inset: 30px;
  border: 1px solid rgba(122, 72, 20, 0.25);
  border-radius: 50%;
}

.map-ring::after {
  inset: -42px;
}

.map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  transform: translate(-50%, -50%);
  padding: 7px 9px 7px 24px;
  color: var(--steel);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(225, 138, 25, 0.24);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(24, 33, 42, 0.12);
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.map-pin::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
  background: var(--brand);
  border-radius: 50%;
}

.map-pin.main {
  color: var(--deep);
  background: var(--accent);
  border-color: var(--brand);
}

.map-pin.main::before {
  background: #fff;
}

.roadmap {
  background: #fff2dc;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.timeline div {
  padding: 28px;
}

.timeline span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--deep);
  background: var(--accent);
  border-radius: 8px;
  font-weight: 800;
}

.trainings {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(21, 15, 9, 0.94), rgba(87, 50, 12, 0.72)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1600&q=80")
      center / cover;
}

.trainings p {
  color: rgba(255, 255, 255, 0.82);
}

.training-panel {
  padding: 30px;
  color: var(--ink);
}

.contact {
  background: var(--surface);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--steel);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 12px;
  color: var(--ink);
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.social-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-direct {
  display: grid;
  gap: 10px;
  max-width: 460px;
  margin-top: 24px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.74);
  background: var(--deep);
}

.footer p {
  margin: 0;
}

.footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 16px;
  color: var(--deep);
  background: linear-gradient(135deg, #f5b24a, #dc7d12);
  border: 1px solid rgba(255, 242, 220, 0.42);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(78, 45, 14, 0.26);
  font-weight: 900;
}

.floating-whatsapp span {
  width: 12px;
  height: 12px;
  background: #23d366;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(35, 211, 102, 0.16);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 72px;
    right: 18px;
    left: 18px;
    display: none;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: grid;
  }

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

  .hero-inner,
  .intro-grid,
  .split,
  .region,
  .trainings,
  .contact,
  .cards,
  .timeline,
  .brand-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 78vh;
  }

  .map-panel {
    min-height: 360px;
  }

  .avatar-card {
    max-width: 420px;
  }

  .avatar-photo {
    min-height: 260px;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .hero {
    min-height: 84vh;
    padding-inline: 16px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .avatar-links {
    grid-template-columns: 1fr;
  }

  .footer {
    display: grid;
  }

  .footer div {
    justify-content: flex-start;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    left: 12px;
    justify-content: center;
  }
}
