/* ============================================================
   Call To Brand — Premium Live Marketing
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-elev: #141416;
  --bg-elev-2: #1f2024;
  --bg-light: #ebe7e0;
  --bg-light-fg: #1a1a1a;
  --fg: #f4f1ec;
  --fg-dim: #a8a39c;
  --fg-mute: #6b6864;
  --line: #2a2c30;
  --line-strong: #3a3d42;
  --accent: oklch(0.88 0.20 130);
  --accent-ink: #0a0a0a;

  --font-display: "Anton", "Bebas Neue", "Impact", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
}

[data-theme="light"] {
  --bg: #f4f1ec;
  --bg-elev: #ebe7e0;
  --bg-elev-2: #e0dcd4;
  --fg: #0a0a0a;
  --fg-dim: #4a4742;
  --fg-mute: #807c76;
  --line: #d8d3ca;
  --line-strong: #c4beb3;
  --accent-ink: #0a0a0a;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Display type */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: transform .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--fg); }

.btn-arrow {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-ink);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.btn-ghost .btn-arrow { background: var(--fg); color: var(--bg); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
}
.nav-logo img {
  height: 38px;
  width: auto;
  filter: invert(1);
}
[data-theme="light"] .nav-logo img { filter: none; }

.nav-links {
  display: flex;
  gap: 36px;
  font-size: 14px;
  color: var(--fg-dim);
}
.nav-links a:hover { color: var(--fg); }
.nav-cta { display: flex; gap: 12px; align-items: center; }

@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: clamp(60px, 8vw, 120px) 0 clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.hero-image {
  padding: 0;
  min-height: 0;
  height: auto;
  max-height: none;
  display: block;
  background: #000;
  aspect-ratio: 16 / 9;
}
@media (max-width: 720px) {
  .hero-image {
    aspect-ratio: 750 / 960;
  }
  .hero-image .hero-bg img {
    object-fit: contain;
  }
}
.hero-image .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #000;
}
.hero-image .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
}
.hero-image-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: inherit;
  padding-bottom: clamp(20px, 3vw, 40px);
}
.hero-title-image {
  color: #fff;
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  font-weight: 800;
  max-width: 980px;
}
.hero-title-image .accent { color: var(--accent); }
.hero-lead-image {
  margin-top: 28px;
  color: #fff;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.4;
  font-weight: 600;
  max-width: 720px;
}
.hero-image-cta { margin-top: 40px; }
@media (max-width: 720px) {
  .hero-image .hero-bg::after {
    display: none;
  }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: center;
  justify-content: space-between;
}
.hero-meta-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-title {
  font-size: clamp(64px, 11vw, 184px);
  margin-top: 32px;
}
.hero-title .accent { color: var(--accent); }
.hero-title .outline {
  -webkit-text-stroke: 1.5px var(--fg);
  color: transparent;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: end;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-lead {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.4;
  color: var(--fg);
  max-width: 540px;
}
.hero-lead strong { color: var(--accent); font-weight: 500; }
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.hero-actions-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .hero-bottom { grid-template-columns: 1fr; }
}

/* Hero stats strip */
.hero-stats {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-stat {
  padding: 28px 0;
  border-right: 1px solid var(--line);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1;
}
.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-top: 8px;
}
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: none; }
  .hero-stat:nth-child(1), .hero-stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ============================================================
   Section base
   ============================================================ */
section { padding: clamp(80px, 9vw, 140px) 0; }
#solucoes { padding-bottom: clamp(40px, 5vw, 72px); }
#cases {
  padding-top: clamp(40px, 5vw, 72px);
}
.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-title {
  font-size: clamp(40px, 5vw, 80px);
  text-wrap: balance;
  line-height: 0.95;
}
.section-desc {
  color: var(--fg-dim);
  font-size: 16px;
  line-height: 1.55;
  max-width: 480px;
}
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; }
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  background: var(--bg);
}
.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: scroll 36s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.marquee-track .star {
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 100;
  font-size: 0.7em;
  display: inline-flex;
  align-items: center;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ============================================================
   Solucoes
   ============================================================ */
.solutions {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.solution {
  background: var(--bg);
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 340px;
  position: relative;
  cursor: pointer;
  transition: background .3s ease;
}
.solution:hover { background: var(--bg-elev); }
.solution.featured {
  background: var(--accent);
  color: var(--accent-ink);
  grid-column: span 6;
}
.solution.featured:hover { background: var(--accent); }
.solution.col-4 { grid-column: span 4; }
.solution.col-6 { grid-column: span 6; }
.solution.col-12 { grid-column: span 12; }

.solution-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-mute);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.solution.featured .solution-num { color: var(--accent-ink); opacity: 0.6; }
.solution-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 0.95;
  margin-top: auto;
}
.solution-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-dim);
  max-width: 380px;
}
.solution.featured .solution-desc { color: var(--accent-ink); opacity: 0.85; }

.solution-icon {
  margin-bottom: auto;
}
.solution-geo {
  margin-bottom: auto;
  width: 100%;
  max-width: 220px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-elev);
}
.solution-geo svg { display: block; width: 100%; height: auto; }
.solution.featured .solution-geo { background: rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.18); }
.solution-bignum {
  font-family: var(--font-display);
  font-size: clamp(80px, 8vw, 140px);
  line-height: 0.8;
  color: var(--accent);
  margin-bottom: auto;
  margin-top: -10px;
}
.solution.featured .solution-bignum { color: var(--accent-ink); opacity: 0.85; }
.solutions.style-none .solution-icon,
.solutions.style-none .solution-bignum,
.solutions.style-none .solution-geo,
.solutions.style-none .solution-photo { display: none; }
.solutions.style-photo .solution-arrow { display: none; }

.solution-photo {
  margin: -32px -32px 28px -32px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-elev);
  position: relative;
}
.solution-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.solution:hover .solution-photo img { transform: scale(1.04); }
.col-12 .solution-photo { aspect-ratio: 21 / 9; }
.col-4 .solution-photo { aspect-ratio: 4 / 3; }
.solution-arrow {
  position: absolute;
  top: clamp(28px, 3vw, 44px);
  right: clamp(28px, 3vw, 44px);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.solution:hover .solution-arrow {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  transform: rotate(-45deg);
}
.solution.featured .solution-arrow {
  background: var(--accent-ink);
  color: var(--accent);
  border-color: var(--accent-ink);
}

@media (max-width: 920px) {
  .solution.col-4, .solution.col-6, .solution.featured { grid-column: span 12; }
}

/* ============================================================
   Why us
   ============================================================ */
.why {
  background: var(--bg-light);
  color: var(--bg-light-fg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.why-item {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 240px;
  transition: background .3s ease;
}
.why-item:hover { background: var(--bg-elev-2); }
.why-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.why-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1;
  margin-top: auto;
}
.why-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-dim);
}
@media (max-width: 920px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Projects (real cases)
   ============================================================ */
.projects { display: flex; flex-direction: column; gap: clamp(60px, 8vw, 120px); }

/* Carousel mode */
.projects-carousel {
  position: relative;
}
.projects-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.carousel-btn-side {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
:root[data-theme="light"] .carousel-btn-side {
  background: rgba(255, 255, 255, 0.85);
  color: var(--fg);
  border-color: var(--line);
}
.carousel-btn-side.prev { left: 16px; }
.carousel-btn-side.next { right: 16px; }
.carousel-btn-side:hover {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
@media (max-width: 720px) {
  .carousel-btn-side.prev { left: 8px; }
  .carousel-btn-side.next { right: 8px; }
  .carousel-btn-side { width: 44px; height: 44px; }
}
.projects-rail {
  display: flex;
  width: 100%;
  transition: transform .7s cubic-bezier(.65, .05, .35, 1);
  will-change: transform;
}
.projects-slide {
  flex: 0 0 100%;
  min-width: 0;
}
.projects-slide .project {
  padding: 0;
  border: 0;
  margin: 0;
  grid-template-rows: auto;
}
/* In carousel mode, normalize total media height so all slides match Solides/Aeolus */
.projects-slide .project-media {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 600px;
}
.projects-slide .project-main {
  flex: 1 1 auto;
  min-height: 0;
}
.projects-slide .project-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.projects-slide .project-side {
  flex: 0 0 140px;
  height: 140px;
}
.projects-slide .project-side .project-thumb { height: 100%; }
@media (max-width: 920px) {
  .projects-slide .project-media { height: auto; min-height: 420px; }
  .projects-slide .project-side { flex: 0 0 100px; height: 100px; }
}
.projects-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: clamp(40px, 5vw, 64px);
}
.carousel-btn {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.carousel-btn:hover {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.carousel-dot {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  transition: color .25s ease;
}
.carousel-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--fg-dim);
  opacity: 0.35;
  transition: background .25s ease, opacity .25s ease, transform .25s ease;
}
.carousel-dot:hover { color: var(--fg); }
.carousel-dot:hover::before { opacity: 0.7; }
.carousel-dot.is-active { color: var(--accent); }
.carousel-dot.is-active::before {
  background: var(--accent);
  opacity: 1;
  transform: scale(1.4);
}
.carousel-dot-label {
  display: inline-block;
}
@media (max-width: 720px) {
  .carousel-dot-label { display: none; }
  .carousel-dot { padding: 8px; }
}
.project {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(30px, 4vw, 64px);
  align-items: start;
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.project:first-child { border-top: none; padding-top: 0; }

.project-meta { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 100px; }
.project-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--accent); }
.project-client {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 64px);
  line-height: 0.9;
  letter-spacing: 0.01em;
}
.project-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.project-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--fg-dim);
}
.project-data {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.project-data > div {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.project-data dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-mute); padding-top: 4px; }
.project-data dd { color: var(--fg); font-weight: 500; }
.project-desc { color: var(--fg-dim); font-size: 14px; line-height: 1.55; }

.project-media { display: flex; flex-direction: column; gap: 16px; }
.project-main {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-elev);
}
.project-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project-main:hover img { transform: scale(1.02); }

.project-side { display: grid; gap: 16px; }
.project-side.count-1 { grid-template-columns: 1fr; }
.project-side.count-2 { grid-template-columns: 1fr 1fr; }
.project-side.count-3 { grid-template-columns: repeat(3, 1fr); }
.project-thumb {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-elev);
}
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-thumb:hover img { transform: scale(1.04); }

@media (max-width: 920px) {
  .project { grid-template-columns: 1fr; }
  .project-meta { position: static; }
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials {
  background: var(--bg-light);
  color: var(--bg-light-fg);
  border-top: 1px solid var(--line);
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.testi {
  background: var(--bg);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 320px;
}
.testi-quote {
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.4;
  color: var(--fg);
}
.testi-quote::before {
  content: "“";
  display: block;
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 64px;
  line-height: 0.5;
  margin-bottom: 16px;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-elev-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--accent);
}
.testi-name { font-weight: 600; font-size: 14px; }
.testi-role { font-family: var(--font-mono); font-size: 11px; color: var(--fg-mute); letter-spacing: 0.06em; }
@media (max-width: 920px) { .testi-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Clients
   ============================================================ */
.clients {
  padding: clamp(60px, 6vw, 100px) 0;
  border-top: 1px solid var(--line);
  background: var(--bg-light);
  color: var(--bg-light-fg);
  overflow: hidden;
}
.clients .eyebrow { color: rgba(0,0,0,0.55); }
.clients .display { color: var(--bg-light-fg); }

/* Solucoes em zona clara (+ Why + Testimonials + Clients = 4 zonas) */
#solucoes {
  background: var(--bg-light);
  color: var(--bg-light-fg);
}
#solucoes .eyebrow,
.why .eyebrow,
.testimonials .eyebrow { color: rgba(0,0,0,0.55); }
#solucoes .section-desc,
.why .section-desc,
.testimonials .section-desc { color: rgba(0,0,0,0.65); }
#solucoes .section-title,
.why .section-title,
.testimonials .section-title { color: var(--bg-light-fg); }

/* Solucoes — adapt cards to light bg */
#solucoes .solutions { border-color: rgba(0,0,0,0.12); }
#solucoes .solution { background: #ffffff; border-color: rgba(0,0,0,0.10); }
#solucoes .solution:hover { background: #f5f1ea; }
#solucoes .solution-num { color: rgba(0,0,0,0.55); }
#solucoes .solution-desc { color: rgba(0,0,0,0.65); }
#solucoes .solution-arrow { background: var(--bg); color: #fff; border-color: var(--bg); }
#solucoes .solution-photo { background: #f0ece5; }

/* Why — adapt cards to light bg */
.why .why-grid { border-color: rgba(0,0,0,0.12); }
.why .why-item { background: #ffffff; border-color: rgba(0,0,0,0.10); }
.why .why-item:hover { background: #f5f1ea; }
.why .why-desc { color: rgba(0,0,0,0.65); }

/* Testimonials — adapt cards to light bg */
.testimonials .testi { background: #ffffff; border-color: rgba(0,0,0,0.10); }
.testimonials .testi-quote { color: var(--bg-light-fg); }
.testimonials .testi-quote::before { color: var(--accent); }
.testimonials .testi-avatar { background: #f0ece5; color: var(--accent-ink, #c8521a); }
.testimonials .testi-logo {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
}
.testimonials .testi-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.testimonials .testi-name { color: var(--bg-light-fg); }
.testimonials .testi-role { color: rgba(0,0,0,0.55); }
.clients-head { text-align: center; margin-bottom: 56px; }
.clients-head .display { font-size: clamp(36px, 4vw, 56px); }

.clients-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.clients-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: clients-scroll 50s linear infinite;
}
.clients-marquee:hover .clients-track { animation-play-state: paused; }

.client-logo {
  flex: 0 0 auto;
  width: 220px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 32px;
  background: #ffffff;
  margin: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: transform .3s ease;
}
.client-logo:hover { transform: translateY(-4px); }
.client-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@keyframes clients-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 720px) {
  .client-logo { width: 160px; height: 90px; padding: 18px 24px; }
}

/* ============================================================
   CTA Block
   ============================================================ */
.cta-block {
  padding: clamp(80px, 10vw, 160px) 0;
}
.cta-inner {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 8px;
  padding: clamp(40px, 6vw, 100px);
  position: relative;
  overflow: hidden;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: end;
  position: relative;
  z-index: 2;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.9;
  text-transform: uppercase;
}
.cta-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cta-aside p { font-size: 16px; line-height: 1.5; }
.cta-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent-ink);
  background: rgba(0,0,0,0.08);
  padding: 10px 14px;
  border-radius: 4px;
  align-self: flex-start;
  text-transform: uppercase;
}
.cta-aside .btn {
  background: var(--accent-ink);
  color: var(--accent);
  align-self: flex-start;
}
.cta-aside .btn .btn-arrow {
  background: var(--accent);
  color: var(--accent-ink);
}
.cta-bg-text {
  position: absolute;
  bottom: -30px;
  right: -20px;
  font-family: var(--font-display);
  font-size: clamp(140px, 22vw, 320px);
  line-height: 0.8;
  color: var(--accent-ink);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}
@media (max-width: 820px) { .cta-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: clamp(60px, 6vw, 100px) 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  align-items: start;
}
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.footer-brand h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
  font-weight: 400;
  margin: 0;
}
.footer-brand img {
  height: 64px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  filter: invert(1);
  margin: 0;
}
[data-theme="light"] .footer-brand img { filter: none; }
.footer-brand p { color: var(--fg-dim); font-size: 14px; max-width: 280px; line-height: 1.55; margin: 0; }
.footer-col h4, .footer-brand h4 { line-height: 1; }
.footer-col ul li, .footer-col ul li a { line-height: 1.4; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 18px;
  font-weight: 400;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--fg-dim); font-size: 14px; transition: color .2s ease; }
.footer-col a:hover { color: var(--accent); }

.footer-big {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.95;
  text-align: center;
  color: var(--fg);
  padding: 56px 24px 32px;
  border-top: 1px solid var(--line);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.footer-big .accent { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.06em;
}
@media (max-width: 820px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
