/* ==========================================================================
   Thomaz Oliveira — Inteligência Contábil
   Design system: preto/grafite + dourado premium. Mobile-first: os estilos
   base (fora de media query) valem para telas pequenas; breakpoints em
   min-width vão progressivamente melhorando o layout para telas maiores.
   ========================================================================== */

:root {
  --void: #050505;
  --base: #0b0b0b;
  --elevated: #121212;
  --card: #1a1a1a;
  --card-soft: #17171799;
  --gold: #d4af37;
  --gold-light: #e5c766;
  --white: #ffffff;
  --gray: #b5b5b5;
  --gray-dim: #83837e;
  --border-soft: rgba(212, 175, 55, 0.16);
  --border-mid: rgba(212, 175, 55, 0.3);
  --border-strong: rgba(212, 175, 55, 0.55);
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.45);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Space Grotesk", "Segoe UI", sans-serif;
  --container: 1180px;
  --header-h: 64px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 1024px) {
  :root {
    --header-h: 84px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--base);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 999;
  background: var(--gold);
  color: var(--void);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Utilities ---------- */

.content-shell {
  width: min(var(--container), calc(100vw - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--white);
  font-size: clamp(28px, 6vw, 44px);
  line-height: 1.16;
}

.section-subtitle {
  margin: 14px 0 0;
  max-width: 62ch;
  color: var(--gray);
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.65;
}

.gold {
  color: var(--gold-light);
}

section {
  position: relative;
  padding: 64px 0;
}

@media (min-width: 1024px) {
  section {
    padding: 100px 0;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease),
    background 220ms var(--ease);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--void);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(212, 175, 55, 0.32);
  outline: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--white);
  border-color: var(--border-mid);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--border-strong);
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-2px);
  outline: none;
}

/* Scroll-reveal: estado inicial oculto, JS adiciona .is-visible via
   IntersectionObserver. Sem JS (ou reduced motion), tudo fica visivel. */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Header
   ========================================================================== */

#site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 320ms var(--ease), border-color 320ms var(--ease), backdrop-filter 320ms var(--ease);
}

#site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  width: min(var(--container), calc(100vw - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  line-height: 1.15;
}

.brand-line {
  font-family: var(--font-sans);
}

.brand-line-1 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.brand-rule {
  display: block;
  width: 30px;
  height: 1px;
  margin: 6px 0;
  background: linear-gradient(90deg, var(--gold-light), rgba(212, 175, 55, 0));
}

.brand-line-2 {
  color: var(--gold-light);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
}

@media (min-width: 768px) {
  .brand-line-1 {
    font-size: 26px;
  }

  .brand-rule {
    width: 38px;
    margin: 7px 0;
  }

  .brand-line-2 {
    font-size: 11px;
  }
}

.main-nav {
  display: none;
}

.header-cta {
  display: none;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: transform 260ms var(--ease), opacity 260ms var(--ease), width 260ms var(--ease);
}

.menu-toggle span:nth-child(1) {
  width: 26px;
}

.menu-toggle span:nth-child(2) {
  width: 20px;
}

.menu-toggle span:nth-child(3) {
  width: 26px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  width: 26px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 26px;
}

@media (min-width: 1024px) {
  .brand-line-1 {
    font-size: 21px;
  }

  .brand-rule {
    width: 30px;
    margin: 6px 0;
  }

  .main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .main-nav a {
    position: relative;
    color: var(--gray);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: color 200ms ease;
  }

  .main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -6px;
    height: 1px;
    background: var(--gold);
    transition: right 260ms var(--ease);
  }

  .main-nav a:hover,
  .main-nav a:focus-visible {
    color: var(--white);
    outline: none;
  }

  .main-nav a:hover::after,
  .main-nav a:focus-visible::after {
    right: 0;
  }

  .header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--border-mid);
    color: var(--gold-light);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
  }

  .header-cta:hover,
  .header-cta:focus-visible {
    border-color: var(--border-strong);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-1px);
    outline: none;
  }

  .menu-toggle {
    display: none;
  }
}

@media (min-width: 1280px) {
  .brand-line-1 {
    font-size: 26px;
  }

  .brand-rule {
    width: 38px;
    margin: 7px 0;
  }

  .brand-line-2 {
    white-space: nowrap;
  }

  .main-nav {
    gap: 28px;
  }

  .main-nav a {
    font-size: 14px;
  }

  .header-cta {
    padding: 0 20px;
    font-size: 13px;
    letter-spacing: 0.02em;
  }
}

/* ---------- Mobile menu overlay ---------- */

#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(5, 5, 5, 0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms var(--ease);
}

#mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  padding: 32px;
  transform: translateY(14px);
  transition: transform 360ms var(--ease);
}

#mobile-menu.open .mobile-menu-panel {
  transform: translateY(0);
}

.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-mid);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--gold);
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 28px;
}

.mobile-nav a {
  padding: 12px 0;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: clamp(28px, 9vw, 38px);
  font-weight: 500;
  border-bottom: 1px solid var(--border-soft);
}

.mobile-menu-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  width: 100%;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--void);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

@media (min-width: 1024px) {
  #mobile-menu {
    display: none;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: calc(var(--header-h) + 32px) 0 88px;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.32) 0%, rgba(5, 5, 5, 0.58) 40%, rgba(5, 5, 5, 0.88) 78%, var(--void) 100%),
    linear-gradient(100deg, rgba(5, 5, 5, 0.55) 0%, transparent 62%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100vw - 40px));
  margin: 0 auto;
}

.hero-title {
  margin: 6px 0 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--white);
  font-size: clamp(34px, 9vw, 58px);
  line-height: 1.1;
}

.hero-subtitle {
  margin: 18px 0 0;
  max-width: 46ch;
  color: var(--gray);
  font-size: clamp(15px, 2.4vw, 18px);
  line-height: 1.65;
}

.scroll-hint {
  position: relative;
  z-index: 2;
  margin: 40px auto 0;
  width: fit-content;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-dim);
}

@media (min-width: 1024px) {
  .hero {
    justify-content: center;
    padding: calc(var(--header-h) + 40px) 0 60px;
  }

  .hero-photo {
    object-fit: cover;
    object-position: center 40%;
    filter: brightness(1.15) saturate(1.05);
  }

  .hero-scrim {
    background: linear-gradient(90deg, var(--void) 0%, rgba(5, 5, 5, 0.42) 30%, rgba(5, 5, 5, 0.1) 55%, transparent 70%),
      linear-gradient(180deg, rgba(5, 5, 5, 0.08) 0%, transparent 30%, rgba(5, 5, 5, 0.28) 75%, var(--void) 100%);
  }

  .hero-inner {
    max-width: 640px;
    margin: 0;
    padding-left: max(40px, calc((100vw - var(--container)) / 2));
  }

  .hero-title,
  .hero-subtitle {
    max-width: none;
  }

  .scroll-hint {
    margin-top: 40px;
    margin-left: max(40px, calc((100vw - var(--container)) / 2));
  }
}

/* ==========================================================================
   Stats
   ========================================================================== */

.stats {
  padding: 44px 0;
  background: var(--elevated);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

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

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 8vw, 42px);
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: clamp(10px, 2.6vw, 14px);
  color: var(--gray);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Services
   ========================================================================== */

.services-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-card {
  padding: 28px 24px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--card), var(--elevated));
  transition: transform 300ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--border-mid);
  box-shadow: var(--shadow-soft);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 18px;
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.service-card p {
  margin: 0;
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.6;
}

.service-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold-light);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: transform 220ms var(--ease);
}

.service-link:hover,
.service-link:focus-visible {
  transform: translateX(4px);
  outline: none;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================================================
   About
   ========================================================================== */

.about {
  background: var(--elevated);
}

.about-copy-centered {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about-copy-centered .section-title {
  margin: 0 auto;
}

.about-text {
  margin: 16px auto 0;
  color: var(--gray);
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.7;
  max-width: 56ch;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.about-tags li {
  padding: 8px 16px;
  border: 1px solid var(--border-mid);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Nossa equipe
   ========================================================================== */

.team-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.team-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--card), var(--elevated));
  transition: transform 300ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-mid);
  box-shadow: var(--shadow-soft);
}

.team-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
}

.team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(5, 5, 5, 0.5));
  pointer-events: none;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
}

.team-content {
  padding: 24px 26px 28px;
}

.team-content h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
}

.team-role {
  margin: 4px 0 0;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.team-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-photo {
    aspect-ratio: 3 / 4;
  }

  .team-photo img {
    object-position: center 20%;
  }
}

/* ==========================================================================
   Why us
   ========================================================================== */

.why-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.why-card {
  padding: 26px 22px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--card);
  transition: transform 300ms var(--ease), border-color 300ms var(--ease);
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-mid);
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid var(--border-mid);
  color: var(--gold);
  margin-bottom: 16px;
}

.why-icon svg {
  width: 26px;
  height: 26px;
}

.why-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
}

.why-card p {
  margin: 0;
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================================================
   News (mantido funcional — apenas redesenhado)
   ========================================================================== */

.news-grid {
  margin-top: 30px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}

.news-grid::-webkit-scrollbar {
  display: none;
}

.news-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--card), var(--elevated));
  text-decoration: none;
  transition: transform 300ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}

.news-card:hover,
.news-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--border-mid);
  box-shadow: var(--shadow-soft);
  outline: none;
}

.news-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--void);
}

.news-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.news-category {
  align-self: flex-start;
  padding: 4px 12px;
  border: 1px solid var(--border-mid);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--gray-dim);
  font-size: 12px;
}

.news-meta .news-dot {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: var(--gray-dim);
}

.news-title {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-desc {
  margin: 0;
  color: var(--gray);
  font-size: 13.5px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-readmore {
  margin-top: auto;
  padding-top: 6px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
}

.news-empty {
  padding: 26px;
  border: 1px dashed var(--border-mid);
  border-radius: var(--radius-lg);
  color: var(--gray);
  text-align: center;
  font-size: 14px;
}

@media (min-width: 768px) {
  .news-grid {
    grid-auto-columns: 46%;
  }
}

@media (min-width: 1024px) {
  .news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: row;
    overflow: visible;
  }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial-carousel {
  margin-top: 34px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.testimonial-track {
  display: flex;
}

.testimonial-slide {
  flex-shrink: 0;
  padding: 34px 28px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--card), var(--elevated));
  transition: transform 480ms var(--ease);
}

.testimonial-stars {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 15px;
}

.testimonial-quote {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 3.6vw, 22px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--white);
}

.testimonial-author {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-name {
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 600;
}

.testimonial-company {
  color: var(--gray-dim);
  font-size: 12.5px;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: var(--border-mid);
  cursor: pointer;
  transition: background 220ms ease, transform 220ms ease;
}

.testimonial-dot.active {
  background: var(--gold);
  transform: scale(1.25);
}

@media (min-width: 1024px) {
  .testimonial-slide {
    padding: 48px 60px;
  }
}

/* ==========================================================================
   Partners
   ========================================================================== */

.partners-marquee {
  margin-top: 30px;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.partners-track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 4px 2px;
  touch-action: pan-y;
  cursor: grab;
}

.partners-track:active {
  cursor: grabbing;
}

@media (min-width: 1024px) {
  .partners-track {
    animation: partners-scroll 95s linear infinite;
    cursor: default;
  }

  .partners-marquee:hover .partners-track {
    animation-play-state: paused;
  }
}

@keyframes partners-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.partner-card {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 210px;
  height: 78px;
  padding: 0 18px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: var(--card);
  transition: border-color 280ms ease, transform 280ms ease;
}

.partner-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-2px);
}

.partner-logo {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.partner-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-mid);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.partner-name {
  overflow: hidden;
  color: var(--gray);
  font-size: 13px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.final-cta {
  background: radial-gradient(120% 140% at 50% -20%, rgba(212, 175, 55, 0.14), transparent 55%), var(--void);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
}

.final-cta-inner h2 {
  margin: 0 auto;
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--white);
  font-size: clamp(28px, 7vw, 44px);
  line-height: 1.2;
}

.final-cta-inner p {
  margin: 18px auto 0;
  max-width: 48ch;
  color: var(--gray);
  font-size: clamp(15px, 2vw, 17px);
}

.final-cta-inner .btn {
  margin-top: 28px;
}

/* ==========================================================================
   Location
   ========================================================================== */

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.location-copy .btn {
  margin-top: 22px;
}

.location-map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-mid);
  box-shadow: var(--shadow-soft);
}

.location-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 1024px) {
  .location-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 40px;
  }
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-actions {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.contact-action {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--card);
  text-decoration: none;
  color: var(--white);
  transition: transform 240ms var(--ease), border-color 240ms var(--ease);
}

.contact-action:hover,
.contact-action:focus-visible {
  transform: translateY(-2px);
  border-color: var(--border-mid);
  outline: none;
}

.contact-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
}

.contact-action-icon svg {
  width: 20px;
  height: 20px;
}

.contact-action-label {
  font-size: 14.5px;
  font-weight: 600;
}

.contact-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.9;
}

.contact-list strong {
  color: var(--white);
}

@media (min-width: 640px) {
  .contact-actions {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================================================
   Footer
   ========================================================================== */

#site-footer {
  background: var(--void);
  border-top: 1px solid var(--border-soft);
  padding: 52px 0 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding-bottom: 36px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.footer-nav a {
  color: var(--gray);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 200ms ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--gold-light);
  outline: none;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--gray);
  transition: border-color 200ms ease, color 200ms ease;
}

.footer-social a svg {
  width: 17px;
  height: 17px;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: var(--border-mid);
  color: var(--gold-light);
  outline: none;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid var(--border-soft);
}

.footer-bottom p {
  margin: 0;
  color: var(--gray-dim);
  font-size: 12.5px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ==========================================================================
   Floating actions
   ========================================================================== */

#whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(145deg, #2af56f, #17b851);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
  text-decoration: none;
  animation: whatsapp-pulse 2.4s ease-out infinite;
}

#whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  stroke: none;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 14px 28px rgba(0, 0, 0, 0.45);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 14px 28px rgba(0, 0, 0, 0.45);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 14px 28px rgba(0, 0, 0, 0.45);
  }
}

#chat-float {
  position: fixed;
  right: 16px;
  bottom: 82px;
  z-index: 50;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(18, 18, 18, 0.92);
  color: var(--gold);
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
}

#chat-float svg {
  width: 22px;
  height: 22px;
}

@media (min-width: 1024px) {
  #whatsapp-float {
    right: 28px;
    bottom: 28px;
  }

  #chat-float {
    right: 28px;
    bottom: 96px;
  }
}

/* ==========================================================================
   Chat modal (Thom)
   ========================================================================== */

#chat-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: end;
  padding: 16px;
  background: rgba(3, 3, 3, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

#chat-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

#chat-modal {
  display: flex;
  flex-direction: column;
  width: min(420px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  margin-bottom: env(safe-area-inset-bottom);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 90% -20%, rgba(212, 175, 55, 0.14), transparent 44%),
    linear-gradient(165deg, var(--elevated), var(--void));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  transform: translateY(14px);
  transition: transform 220ms ease;
}

#chat-modal-backdrop.open #chat-modal {
  transform: translateY(0);
}

.chat-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--border-soft);
}

.chat-kicker {
  margin: 0;
  color: var(--gray-dim);
  letter-spacing: 0.16em;
  font-size: 10px;
}

#chat-modal-title {
  margin: 3px 0 0;
  font-family: var(--font-display);
  color: var(--gold-light);
  font-size: 22px;
}

.chat-status {
  margin: 6px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d9f5d9;
  font-size: 12px;
}

.chat-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #31d96b;
  box-shadow: 0 0 0 3px rgba(49, 217, 107, 0.18);
}

#chat-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-mid);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(0, 0, 0, 0.36);
  cursor: pointer;
}

#chat-close svg {
  width: 16px;
  height: 16px;
}

#chat-messages {
  display: grid;
  flex: 1;
  gap: 10px;
  min-height: 160px;
  max-height: 48vh;
  overflow: auto;
  padding: 16px;
}

.chat-bubble {
  width: fit-content;
  max-width: 92%;
  margin: 0;
  border: 1px solid var(--border-mid);
  border-radius: 14px;
  padding: 11px 14px;
  background: rgba(20, 18, 11, 0.9);
  color: #f8ecc4;
  line-height: 1.5;
  font-size: 14px;
}

.chat-bubble-user {
  justify-self: end;
  border-color: var(--border-strong);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.28), rgba(229, 199, 102, 0.12));
  color: var(--white);
}

.chat-whatsapp-cta {
  display: block;
  width: min(100%, 330px);
  border: 1px solid rgba(37, 211, 102, 0.5);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(37, 211, 102, 0.12);
  color: #baf3cf;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.chat-whatsapp-cta:hover,
.chat-whatsapp-cta:focus-visible {
  border-color: rgba(37, 211, 102, 0.85);
  background: rgba(37, 211, 102, 0.2);
  transform: translateY(-1px);
  outline: none;
}

.chat-options {
  display: grid;
  gap: 8px;
  width: min(100%, 330px);
}

.chat-option {
  width: 100%;
  border: 1px solid var(--border-mid);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.08);
  font: inherit;
  font-size: 13.5px;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.chat-option:hover,
.chat-option:focus-visible {
  border-color: var(--border-strong);
  background: rgba(212, 175, 55, 0.16);
  transform: translateY(-1px);
  outline: none;
}

.chat-input-row {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border-soft);
}

.chat-input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border-mid);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.4);
  color: var(--white);
  font: inherit;
  font-size: 14px;
}

.chat-input:focus {
  border-color: var(--border-strong);
  outline: none;
}

.chat-send {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--void);
  cursor: pointer;
}

.chat-send svg {
  width: 18px;
  height: 18px;
  stroke: var(--void);
}

@media (max-width: 640px) {
  #chat-modal {
    width: min(460px, calc(100vw - 16px));
    max-height: calc(100dvh - 28px - env(safe-area-inset-bottom));
  }

  #chat-messages {
    max-height: none;
  }
}
