@charset "UTF-8";

:root {
    --ink: #1A1A1A;
    --ink-2: #202125;
    --line-dark: rgba(255,255,255,0.09);
    --line-dark-strong: rgba(255,255,255,0.16);
    --paper: #ECEDEE;
    --paper-2: #FFFFFF;
    --line-light: rgba(26,26,26,0.1);
    --ink-dim: rgba(26,26,26,0.64);
    --paper-dim: rgba(236,237,238,0.68);
    --paper-faint: rgba(236,237,238,0.44);
    --mint: #20E0C2;
    --teal: #0E8F87;
    --blue: #004AAD;
    --mint-glow: rgba(32,224,194,0.18);
    --blue-glow: rgba(0,74,173,0.22);
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: auto; }
  @media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

  body {
    margin: 0; background: var(--paper); color: var(--ink);
    font-family: 'Poppins', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
  }
  a { color: inherit; }
  h1, h2, h3 { font-family: 'Sora', system-ui, sans-serif; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
  ::selection { background: var(--mint-glow); color: var(--ink); }
  :focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

  .on-ink { background: linear-gradient(155deg, #1A1A1A 0%, #123531 100%); color: var(--paper); }
  .on-ink .dim { color: var(--paper-dim); }
  .on-paper .dim { color: var(--ink-dim); }


  .wrap { max-width: 1160px; margin: 0 auto; padding: 0 48px; }
  .section { padding: 116px 0; }
  .section-head { max-width: 600px; margin: 0 0 56px; display: flex; flex-direction: column; gap: 16px; }
  .section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; line-height: 1.2; }
  .section-head.centered { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; align-items: center; }

  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 18px 34px; border-radius: 10px; min-height: 52px; font-weight: 700; font-size: 15.5px;
    font-family: 'Sora', sans-serif; border: 1.5px solid transparent; cursor: pointer;
    transition: transform 200ms cubic-bezier(.22,.68,0,1), box-shadow 200ms ease, background 200ms ease, border-color 200ms ease;
    white-space: nowrap; position: relative; overflow: hidden;
  }
  .btn-primary { background: linear-gradient(120deg, var(--mint), var(--teal)); color: #06231f; box-shadow: 0 16px 36px -12px rgba(32,224,194,0.65); }
  .btn-primary::before { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent); transform: skewX(-18deg); transition: left 550ms ease; }
  .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -12px rgba(32,224,194,0.8); }
  .btn-primary:hover::before { left: 120%; }
  @media (prefers-reduced-motion: reduce) { .btn-primary::before { display: none; } }
  .btn-outline-dark { background: transparent; color: var(--ink); border-color: rgba(26,26,26,0.22); }
  .btn-outline-dark:hover { border-color: var(--teal); color: var(--teal); background: rgba(14,143,135,0.06); }
  .btn-outline-light { background: rgba(255,255,255,0.04); color: var(--paper); border-color: var(--line-dark-strong); }
  .btn-outline-light:hover { border-color: var(--mint); color: var(--mint); }

  /* HERO */
  .hero { min-height: 100vh; display: flex; align-items: center; padding: 48px 0 40px; position: relative; overflow: hidden; }
  .hero-glow { position: absolute; width: 480px; height: 480px; border-radius: 50%; top: -180px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, var(--blue-glow), transparent 70%); filter: blur(30px); z-index: 0; }
  .hero .wrap { position: relative; z-index: 1; width: 100%; }
  .hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
  .hero-copy { text-align: left; display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
  .hero-logo { width: 240px; height: auto; margin-bottom: 4px; }
  .hero h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; line-height: 1.16; color: var(--paper); }
  .hero h1 mark { background: none; color: var(--mint); }
  .hero p.sub { font-size: 17px; line-height: 1.65; color: var(--paper-dim); max-width: 480px; margin: 0; }
  .hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 4px; }
  .hero-proof .stat { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 19px; color: var(--mint); }
  .hero-proof span.txt { font-size: 13.5px; color: var(--paper-dim); }

  .hero-visual { display: flex; align-items: flex-end; justify-content: center; align-self: stretch; }
  .hero-cutout {
    width: 100%; max-width: 700px; height: auto; object-fit: contain; display: block;
    -webkit-mask-image: linear-gradient(to bottom, black 52%, transparent 96%);
    mask-image: linear-gradient(to bottom, black 52%, transparent 96%);
  }

  /* reveal on scroll */
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity 650ms ease, transform 650ms cubic-bezier(.22,.68,0,1); }
  .reveal.in-view { opacity: 1; transform: translateY(0); }
  .reveal-img { transform: translateY(14px) scale(0.97); }
  .reveal-img.in-view { transform: translateY(0) scale(1); }
  @media (prefers-reduced-motion: reduce) { .reveal, .reveal-img { opacity: 1; transform: none; transition: none; } }

  /* SERVICOS */
  .services-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
  .service-card { padding: 30px 24px; border-radius: 14px; background: var(--paper-2); border: 1px solid var(--line-light); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; transition: transform 220ms ease, box-shadow 220ms ease, opacity 600ms ease; }
  .service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(14,143,135,0.35); }
  .services-grid .service-card:nth-child(1) { transition-delay: 0ms; }
  .services-grid .service-card:nth-child(2) { transition-delay: 80ms; }
  .services-grid .service-card:nth-child(3) { transition-delay: 160ms; }
  .services-grid .service-card:nth-child(4) { transition-delay: 240ms; }
  .service-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--mint-glow); color: var(--teal); display: flex; align-items: center; justify-content: center; }
  .service-card h3 { font-size: 16.5px; font-weight: 700; line-height: 1.3; min-height: 2.6em; display: flex; align-items: center; justify-content: center; }
  .service-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-dim); }

  /* PORTFOLIO */
  .portfolio-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
  .port-card { position: relative; aspect-ratio: 3/4; border-radius: 14px; border: 1px dashed var(--line-dark-strong); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 18px; text-align: center; transition: opacity 600ms ease, transform 650ms cubic-bezier(.22,.68,0,1); }
  .portfolio-grid .port-card:nth-child(1) { transition-delay: 0ms; }
  .portfolio-grid .port-card:nth-child(2) { transition-delay: 80ms; }
  .portfolio-grid .port-card:nth-child(3) { transition-delay: 160ms; }
  .portfolio-grid .port-card:nth-child(4) { transition-delay: 240ms; }
  .port-card svg { color: var(--mint); opacity: 0.8; }
  .port-card span { font-size: 12.5px; color: var(--paper-dim); }

  /* SOBRE */
  .about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: center; }
  .about-photo { width: 100%; aspect-ratio: 2/3; object-fit: cover; object-position: center; border-radius: 16px; }
  .about-copy { display: flex; flex-direction: column; gap: 16px; }
  .about-copy p { margin: 0; font-size: 15.5px; line-height: 1.75; color: var(--ink-dim); }
  .about-copy p:first-child { color: var(--ink); font-weight: 600; font-size: 17px; }
  .about-copy .btn { align-self: flex-start; margin-top: 10px; }

  /* CTA FINAL */
  .cta-final { text-align: center; padding: 130px 0; position: relative; overflow: hidden; }
  .cta-final .hero-glow { top: 50%; left: 50%; transform: translate(-50%,-50%); width: 560px; height: 560px; background: radial-gradient(circle, var(--mint-glow), transparent 70%); }
  .cta-final .wrap { position: relative; z-index: 1; max-width: 620px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
  .cta-final h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--paper); }
  .cta-final p { font-size: 16px; color: var(--paper-dim); margin: 0; max-width: 460px; }

  /* FAQ */
  .faq-list { display: flex; flex-direction: column; gap: 12px; }
  details.faq-item { border: 1px solid var(--line-light); border-radius: 12px; background: var(--paper-2); padding: 4px 22px; }
  details.faq-item summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 15px; font-family: 'Sora', sans-serif; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
  details.faq-item summary::-webkit-details-marker { display: none; }
  details.faq-item summary::after { content: "+"; color: var(--teal); font-size: 20px; font-weight: 700; flex-shrink: 0; transition: transform 280ms cubic-bezier(.22,.68,0,1); }
  details.faq-item[open] summary::after { transform: rotate(135deg); }
  details.faq-item .faq-body { overflow: hidden; max-height: 0; opacity: 0; transition: max-height 320ms cubic-bezier(.22,.68,0,1), opacity 260ms ease; }
  details.faq-item[open] .faq-body { opacity: 1; }
  details.faq-item .faq-body > p { margin: 0 0 20px; font-size: 14.5px; line-height: 1.65; color: var(--ink-dim); }
  @media (prefers-reduced-motion: reduce) { details.faq-item .faq-body, details.faq-item summary::after { transition: none; } }

  footer.site { padding: 40px 0; }
  .footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
  .footer-brand .name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; }
  .footer-brand .tag { font-size: 12.5px; color: var(--paper-dim); margin-top: 2px; }
  .footer-links { display: flex; gap: 24px; }
  .footer-links a { font-size: 13px; color: var(--paper-dim); text-decoration: underline; text-underline-offset: 3px; }
  .footer-links a:hover { color: var(--mint); }

  .float-wa {
    position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(120deg, var(--mint), var(--teal)); display: flex; align-items: center; justify-content: center;
    box-shadow: 0 14px 28px -10px rgba(32,224,194,0.55); transition: transform 200ms ease;
  }
  .float-wa:hover { transform: scale(1.07); }

  @media (max-width: 980px) {
    .wrap { padding: 0 28px; }
    .hero-inner { grid-template-columns: 1fr; gap: 0; }
    .hero-visual { order: -1; max-width: 320px; margin: 0 auto; position: relative; z-index: 1; }
    .hero-copy { align-items: center; text-align: center; gap: 12px; position: relative; z-index: 2; margin-top: -170px; }
    .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .portfolio-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .about-grid { grid-template-columns: 1fr; }
    .about-photo { max-width: 260px; margin: 0 auto; }
    .section { padding: 88px 0; }
    .hero { padding: 48px 0 32px; min-height: auto; }
  }
  @media (max-width: 560px) {
    .services-grid, .portfolio-grid { grid-template-columns: 1fr; }
    .btn { width: 100%; }
    .section { padding: 72px 0; }
    .hero-logo { width: 130px; margin-bottom: 0; }
    .hero p.sub { font-size: 15px; }
    .hero-proof { margin-top: 0; }
    .about-copy .btn { align-self: stretch; }
  }