/* ============================================================
   onKa Produções — design system
   Tipografia: Nunito Sans
   Cores: preto, branco, verde-limão (#DDFF59), 3 tons de cinza
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,300;0,6..12,400;0,6..12,600;0,6..12,700;0,6..12,800;0,6..12,900&display=swap');

:root{
  --black:        #000000;
  --white:        #FFFFFF;
  --lime:         #DDFF59;
  --gray-dark:    #58595B;
  --gray-mid:     #939598;
  --gray-light:   #D1D3D4;
  --off-white:    #FAFAF9;

  --bg:           var(--white);
  --text:         var(--black);
  --text-muted:   var(--gray-dark);
  --border:       var(--gray-light);

  --font: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --notch: 16px;
  --notch-sm: 10px;

  --maxw: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg) url('../assets/pattern-light.png') top center/1100px repeat;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul{ margin: 0; padding: 0; list-style: none; }

.wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px){
  .wrap{ padding: 0 20px; }
}

/* -------------------- Notch shape (motivo angular da marca) -------------------- */
.notch{
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
}
.notch-sm{
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch-sm)), calc(100% - var(--notch-sm)) 100%, 0 100%);
}

/* -------------------- Typography -------------------- */
h1, h2, h3, h4{
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

h1{ font-size: clamp(2.4rem, 2rem + 2.6vw, 4.4rem); font-weight: 900; letter-spacing: -0.02em; }
h2{ font-size: clamp(1.9rem, 1.5rem + 2vw, 2.9rem); }
h3{ font-size: 1.4rem; }

p{ margin: 0 0 1em; max-width: 62ch; }
p:last-child{ margin-bottom: 0; }

.lede{
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  color: var(--text-muted);
  max-width: 58ch;
}

.eyebrow{
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gray-dark);
}

.muted{ color: var(--text-muted); }

/* -------------------- Buttons -------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover{ transform: translateY(-2px); }

.btn-primary{
  background: var(--black);
  color: var(--white);
}
.btn-primary:hover{ background: #1a1a1a; }

.btn-accent{
  background: var(--lime);
  color: var(--black);
}
.btn-accent:hover{ background: #cdf03e; }

.btn-outline{
  background: transparent;
  color: var(--black);
  box-shadow: inset 0 0 0 1.5px var(--black);
}
.btn-outline:hover{ background: var(--black); color: var(--white); }

.btn-row{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* -------------------- Header -------------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo-link img{ height: 26px; width: auto; }

.main-nav ul{
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav a{
  font-weight: 600;
  font-size: 0.98rem;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease;
}
.main-nav a:hover, .main-nav a.active{ border-color: var(--lime); }

.nav-cta{ margin-left: 8px; }

.nav-toggle{ display: none; }

@media (max-width: 780px){
  .main-nav{
    position: fixed;
    inset: 66px 0 0 0;
    background: var(--white);
    padding: 28px 24px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    border-top: 1px solid var(--border);
  }
  .main-nav.open{ opacity: 1; pointer-events: auto; transform: translateY(0); }
  .main-nav ul{ flex-direction: column; align-items: flex-start; gap: 22px; }
  .nav-cta{ margin-left: 0; }
  .nav-toggle{
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
  }
  .nav-toggle span{ width: 24px; height: 2px; background: var(--black); }
}

/* -------------------- Hero -------------------- */
.hero{
  position: relative;
  overflow: hidden;
  padding: 84px 0 96px;
}
.hero .wrap{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-copy .tag{
  display: inline-block;
  background: var(--lime);
  padding: 8px 18px;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 22px;
}
.hero-copy h1{ margin-bottom: 22px; }
.hero-mark{
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-mark img{
  width: 100%;
  max-width: 340px;
}

/* -------------------- Brand pill accent (do kit de apresentações) -------------------- */
.pill-accent{
  display: inline-block;
  width: 34px;
  height: 13px;
  background: var(--lime);
  border-radius: 999px;
  vertical-align: middle;
  margin-right: 10px;
}

@media (max-width: 900px){
  .hero .wrap{ grid-template-columns: 1fr; }
  .hero-mark{ order: -1; }
  .hero-mark img{ max-width: 260px; }
  .hero{ padding: 48px 0 64px; }
}

/* -------------------- Statement / lede band -------------------- */
.statement{
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.statement p{
  font-size: clamp(1.3rem, 1rem + 1.4vw, 2rem);
  font-weight: 600;
  max-width: 42ch;
  line-height: 1.35;
  margin-left: auto;
  margin-right: auto;
}

/* -------------------- Section spacing -------------------- */
.section{ padding: 88px 0; }
.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-head h2{ margin-top: 10px; }
.section-head.center{ max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }

@media (max-width: 640px){
  .section{ padding: 56px 0; }
}

/* -------------------- Services list -------------------- */
.service-list{ display: flex; flex-direction: column; }
.service-item{
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 28px;
  padding: 34px 0;
  border-top: 1px solid var(--border);
}
.service-list .service-item:last-child{ border-bottom: 1px solid var(--border); }
.service-item h3{
  display: inline-block;
  justify-self: start;
  align-self: start;
  background: var(--lime);
  padding: 3px 12px;
  margin: 0;
}
.service-item p{ max-width: 56ch; }

@media (max-width: 720px){
  .service-item{ grid-template-columns: 1fr; gap: 10px; }
}

/* -------------------- Card / doc chip (Sobre) -------------------- */
.chip-row{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip{
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.92rem;
}

.callout{
  background: var(--off-white);
  border-left: 4px solid var(--black);
  padding: 30px 32px;
  margin-top: 12px;
}

/* -------------------- Numbers strip -------------------- */
.proof{
  background: var(--black);
  background-image: url('../assets/pattern-black.png');
  background-size: 900px;
  color: var(--white);
  padding: 52px 0;
}
.proof p{
  max-width: 68ch;
  font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.3rem);
  font-weight: 600;
  color: var(--white);
}

/* -------------------- Portfolio -------------------- */
.case-list{ display: flex; flex-direction: column; }
.case{
  padding: 40px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 0.8fr 2fr;
  gap: 28px;
}
.case-list .case:last-child{ border-bottom: 1px solid var(--border); }
.case h3{ font-size: 1.6rem; }
.case p{ max-width: 60ch; }

.case-with-media{
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}
.case-with-media .case-body h3{ margin-bottom: 14px; }
.case-media{
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 100%);
  background: var(--gray-light);
}
.case-media.video-media{ aspect-ratio: 16 / 9; }
.case-media.landscape-media{ aspect-ratio: 3 / 2; }
.case-media img, .case-media video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case-media video{ background: var(--black); }

@media (max-width: 780px){
  .case{ grid-template-columns: 1fr; gap: 8px; }
  .case-with-media{ grid-template-columns: 1fr; gap: 20px; }
  .case-with-media .case-media{ order: 2; }
  .case-with-media .case-body{ order: 1; }
}

/* -------------------- CTA band -------------------- */
.cta-band{
  background: var(--black);
  background-image: url('../assets/pattern-black.png');
  background-size: 900px;
  color: var(--white);
  padding: 80px 0;
  text-align: left;
}
.cta-band h2{ color: var(--white); margin-bottom: 24px; max-width: 16ch; }

/* -------------------- Contact -------------------- */
.contact-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
@media (max-width: 860px){
  .contact-grid{ grid-template-columns: 1fr; }
}
.contact-info dt{
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 22px;
}
.contact-info dt:first-child{ margin-top: 0; }
.contact-info dd{
  margin: 4px 0 0;
  font-size: 1.15rem;
  font-weight: 700;
}
.contact-info dd a:hover{ text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; }

.field{ margin-bottom: 20px; }
.field label{
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 8px;
}
.field input, .field select, .field textarea{
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  font-family: var(--font);
  font-size: 1rem;
  background: var(--white);
  color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none;
  border-color: var(--black);
}
.field textarea{ resize: vertical; min-height: 120px; }

/* -------------------- Footer -------------------- */
.site-footer{
  background: var(--black);
  background-image: url('../assets/pattern-black.png');
  background-size: 900px;
  color: var(--white);
  padding: 64px 0 32px;
}
.footer-top{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.footer-logo img{ height: 60px; width: auto; }
.footer-nav ul{ display: flex; flex-wrap: wrap; gap: 26px; }
.footer-nav a{ font-weight: 600; }
.footer-nav a:hover{ color: var(--lime); }
.footer-contact{ font-weight: 600; }
.footer-contact div{ margin-bottom: 6px; }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 0.88rem;
  color: var(--gray-mid);
}

/* -------------------- Focus visibility -------------------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .btn{ transition: none; }
}

/* -------------------- Photo card (Sobre) & video frame (Home) -------------------- */
.photo-card{
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--gray-light);
}
.photo-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.framed-media{
  position: relative;
}
.framed-media::after{
  content: "";
  position: absolute;
  width: 114%;
  height: 114%;
  top: -7%;
  left: -7%;
  background: var(--off-white) url('../assets/pattern-light.png') center/560px;
  z-index: -1;
  clip-path: polygon(7% 0, 100% 0, 100% 87%, 93% 100%, 0 100%, 0 13%);
}

.video-frame{
  aspect-ratio: 16 / 9;
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
  background: var(--black);
}
.video-frame video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px){
  .sobre-hero .wrap{ grid-template-columns: 1fr !important; }
  .sobre-hero .framed-media{ max-width: 300px; margin: 34px auto 0; }
}

