@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap");
:root {
  --bg: #f4f1eb;
  --surface: #fffdf8;
  --text: #19181a;
  --muted: #6d696d;
  --line: rgba(25, 24, 26, 0.13);
  --plum: #44273f;
  --plum-rich: #2f1b2d;
  --cream: #eee4d4;
  --gold: #ffad3f;
  --pink: #e5006d;
}

:root[data-theme="dark"] {
  --bg: #09090d;
  --surface: #111017;
  --text: #f3eee7;
  --muted: #b2aab1;
  --line: rgba(255, 255, 255, 0.13);
  --cream: #d9ccb9;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  transition: background .35s ease, color .35s ease;
}

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

button {
  color: inherit;
  font: inherit;
}

.topbar {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  position: relative;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 58px;
  width: 112px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(1);
}

:root[data-theme="dark"] .brand img,
:root[data-theme="dark"] .footer-brand img {
  filter: none;
}

.icon-button {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: .25s ease;
}

.icon-button:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.menu-button {
  left: 24px;
  grid-template-columns: repeat(3, 3px);
  gap: 4px;
}

.menu-button span {
  width: 3px;
  height: 3px;
  background: var(--text);
  border-radius: 50%;
  box-shadow: 0 7px 0 var(--text), 0 -7px 0 var(--text);
}

.theme-button {
  right: 24px;
  font-size: 22px;
}

.drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(390px, 90vw);
  z-index: 50;
  background: var(--surface);
  padding: 30px;
  transform: translateX(-105%);
  transition: transform .42s cubic-bezier(.2,.8,.2,1);
  box-shadow: 20px 0 70px rgba(0,0,0,.22);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
}

.drawer-head button {
  border: 0;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
}

.drawer nav {
  display: flex;
  flex-direction: column;
}

.drawer nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 21px 2px;
  border-bottom: 1px solid var(--line);
}

.drawer nav span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.drawer nav b {
  font-size: 16px;
}

.drawer nav small {
  color: var(--muted);
}

.drawer nav i {
  font-style: normal;
}

.drawer > p {
  position: absolute;
  bottom: 30px;
  color: var(--muted);
  font-size: 13px;
}

.drawer-contact {
  color: var(--gold);
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  border: 0;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(5px);
}

.bio-grid {
  max-width: 1460px;
  margin: 0 auto;
  padding: 22px 28px 80px;
  display: grid;
  grid-template-columns: 1.24fr .9fr .76fr;
  min-height: 680px;
  gap: 28px;
}

.hero-card,
.service-card,
.conversion-card {
  border-radius: 34px;
  overflow: hidden;
  position: relative;
}

.hero-card {
  min-height: 650px;
  background: #111017;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -18px;
  background: url("filipe-stefanni-hd.webp") center / cover no-repeat;
  opacity: 0;
}

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

.hero-card picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
  transform: scale(1.045);
  animation: portrait-laugh 11s ease-in-out infinite;
}

@keyframes portrait-laugh {
  0% { transform: scale(1.045) translate3d(0, 0, 0); }
  2% { transform: scale(1.052) translate3d(0, -5px, 0); }
  4% { transform: scale(1.048) translate3d(0, 1px, 0); }
  6% { transform: scale(1.055) translate3d(0, -4px, 0); }
  8% { transform: scale(1.05) translate3d(0, 0, 0); }
  48% { transform: scale(1.09) translate3d(-1.1%, -1%, 0); }
  100% { transform: scale(1.045) translate3d(0, 0, 0); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 20%, rgba(9,9,13,.22) 48%, rgba(9,9,13,.96) 100%),
    linear-gradient(90deg, rgba(9,9,13,.22), transparent 70%);
  z-index: 2;
}

.hero-copy {
  position: absolute;
  left: 54px;
  right: 44px;
  bottom: 46px;
  color: white;
  z-index: 3;
}

.hero-copy h1 {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(42px, 4.25vw, 66px);
  letter-spacing: -.065em;
  line-height: .94;
  margin: 0 0 24px;
}

.hero-copy h1 em {
  display: inline;
  color: var(--gold);
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -.04em;
}

.hero-copy p {
  max-width: 530px;
  line-height: 1.55;
  font-size: 15px;
  margin: 0 0 27px;
  color: rgba(255,255,255,.86);
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: .25s ease;
}

.socials a:hover {
  background: white;
  color: #09090d;
  transform: translateY(-3px);
}

.socials svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.socials .fill-dot {
  fill: currentColor;
  stroke: none;
}

.service-stack {
  display: grid;
  grid-template-rows: repeat(3, minmax(220px, 1fr));
  gap: 28px;
}

.service-card {
  display: flex;
  padding: 34px;
  border: 1px solid var(--line);
  min-height: 0;
  transition: transform .35s ease, box-shadow .35s ease;
}

.service-card:hover,
.conversion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(24,15,22,.16);
}

.consulting {
  background:
    radial-gradient(circle at 85% 20%, rgba(255,173,63,.23), transparent 32%),
    radial-gradient(circle at 0% 100%, rgba(229,0,109,.12), transparent 42%),
    linear-gradient(135deg, var(--surface), #17131e);
  align-items: center;
  color: var(--text);
}

.eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-card h2 {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.04em;
  margin: 0 0 18px;
}

.service-card h2 em,
.conversion-question em {
  color: var(--gold);
  font-family: Georgia, serif;
  font-weight: 400;
  font-style: italic;
}

.service-card p {
  max-width: 380px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.round-arrow {
  position: absolute;
  right: 26px;
  bottom: 25px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.audiovisual {
  color: white;
  border: 0;
  align-items: flex-end;
  background: #19111a;
}

.audiovisual iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 178%;
  height: 178%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,10,17,.06), rgba(25,12,23,.86));
}

.video-copy {
  position: relative;
  z-index: 1;
}

.audiovisual p {
  color: rgba(255,255,255,.78);
  max-width: 300px;
}

.social-media {
  align-items: center;
  color: white;
  border-color: rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 92% 12%, rgba(229,0,109,.38), transparent 38%),
    radial-gradient(circle at 8% 100%, rgba(255,173,63,.16), transparent 42%),
    linear-gradient(145deg, #17131e, #0c0b10);
}

.social-media p {
  color: rgba(255,255,255,.72);
}

.social-media .round-arrow {
  border-color: rgba(255,255,255,.34);
}

.play {
  position: absolute;
  z-index: 2;
  right: 28px;
  top: 28px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  font-size: 12px;
}

.conversion-card {
  background:
    radial-gradient(circle at 110% 70%, rgba(229,0,109,.45), transparent 38%),
    linear-gradient(155deg, #1c1423, #0c0b10);
  color: white;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .35s ease, box-shadow .35s ease;
}

.conversion-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255,173,63,.46);
  border-radius: 50%;
  right: -100px;
  top: 28%;
  box-shadow: 0 0 0 38px rgba(216,185,112,.04);
}

.mini-tag {
  align-self: flex-end;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 50px;
  font-size: 9px;
  letter-spacing: .16em;
}

.conversion-card div {
  position: relative;
  z-index: 1;
}

.conversion-card .conversion-question {
  max-width: 280px;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(34px, 3vw, 46px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .96;
  margin: 0 0 22px;
  color: #fff;
}

.conversion-card h2 {
  font-family: "DM Sans", sans-serif;
  max-width: 270px;
  font-weight: 500;
  font-size: clamp(26px, 2.35vw, 36px);
  line-height: 1.02;
  letter-spacing: -.045em;
  margin: 0;
}

.cta {
  position: relative;
  z-index: 1;
  background: var(--cream);
  color: #21151f;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
}

footer {
  max-width: 1404px;
  margin: 0 auto;
  padding: 29px 0 44px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}

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

.footer-brand img {
  width: 82px;
  height: 46px;
  object-fit: contain;
  filter: invert(1);
}

.footer-whatsapp {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;
  transition: transform .25s ease, color .25s ease, border-color .25s ease;
}

.footer-whatsapp:hover {
  transform: translateY(-3px);
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: none;
}

.footer-whatsapp svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

footer p {
  margin: 0;
  text-align: right;
}

footer i {
  color: var(--gold);
  font-style: normal;
  padding: 0 7px;
}

@media (max-width: 1020px) {
  .bio-grid {
    grid-template-columns: 1.1fr .9fr;
  }

  .hero-card {
    grid-row: span 2;
  }

  .conversion-card {
    grid-column: 1 / -1;
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .topbar {
    height: 74px;
  }

  .menu-button { left: 15px; }
  .theme-button { right: 15px; }

  .bio-grid {
    display: flex;
    flex-direction: column;
    padding: 10px 14px 45px;
    gap: 16px;
  }

  .hero-card {
    min-height: 650px;
    border-radius: 28px;
  }

  .hero-card picture > img {
    object-fit: cover;
    object-position: center top;
    transform: scale(1);
    animation: portrait-laugh-mobile 11s ease-in-out infinite;
  }

  .hero-card::before {
    opacity: 0;
  }

  .hero-copy {
    left: 28px;
    right: 24px;
    bottom: 28px;
  }

  .hero-copy h1 {
    font-size: 54px;
  }

  .hero-copy p {
    font-size: 13px;
  }

  .service-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .service-card {
    min-height: 370px;
    padding: 28px;
    border-radius: 28px;
  }

  .audiovisual iframe {
    width: 235%;
    height: 235%;
  }

  .conversion-card {
    min-height: 520px;
    padding: 28px;
    border-radius: 28px;
  }

  .conversion-card h2 {
    max-width: 310px;
    font-size: 32px;
  }

  .conversion-card .conversion-question {
    max-width: 330px;
    font-size: 45px;
  }

  footer {
    margin: 0 14px;
    padding: 28px 0 36px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  footer p {
    text-align: left;
  }
}

@keyframes portrait-laugh-mobile {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  2% { transform: scale(1.006) translate3d(0, -3px, 0); }
  4% { transform: scale(1.002) translate3d(0, 1px, 0); }
  6% { transform: scale(1.006) translate3d(0, -2px, 0); }
  8%, 100% { transform: scale(1) translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
