/* Pedro Pinto e Paula Gonçalves · V3 */

:root {
  --bg: #0b0b0c;
  --surface: #131315;
  --surface-2: #17171a;
  --surface-3: #0f0f11;
  --text: #f2f2f3;
  --soft: rgba(242, 242, 243, 0.72);
  --muted: rgba(242, 242, 243, 0.6);
  --silver: #c4c7ce;
  --white: #ffffff;
  --line: rgba(196, 199, 206, 0.14);
  --line-2: rgba(196, 199, 206, 0.18);
  --line-3: rgba(196, 199, 206, 0.35);
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }
main [id] { scroll-margin-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; height: auto; }

a { color: var(--silver); text-decoration: none; }
a:hover { color: var(--white); }

em { font-style: normal; font-weight: 500; color: var(--white); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.wrap-narrow { max-width: 1160px; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--silver);
  font-weight: 400;
}

.display { font-weight: 300; letter-spacing: -0.02em; margin: 0; }

.h2 {
  font-weight: 300;
  letter-spacing: -0.02em;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}

.p { font-size: 17px; line-height: 1.75; margin: 0; color: var(--soft); text-wrap: pretty; }
.soft { color: var(--muted); }

.sec { padding: 140px 0; border-top: 1px solid var(--line); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  border: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-solid { background: var(--silver); color: var(--bg); }
.btn-solid:hover { background: var(--white); color: var(--bg); }
.btn-line { background: transparent; border: 1px solid rgba(196, 199, 206, 0.55); color: var(--text); }
.btn-line:hover { border-color: var(--white); color: var(--white); }

.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 64px; }
.stack { display: flex; flex-direction: column; gap: 28px; }
.head-row { align-items: end; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(11, 11, 12, 0.92); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; transition: padding 0.3s; }
.nav.scrolled .nav-inner { padding-top: 14px; padding-bottom: 14px; }

.brand { display: flex; align-items: center; gap: 14px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand span { font-size: 21px; line-height: 1.05; font-weight: 300; letter-spacing: -0.02em; }
.brand span b { color: var(--silver); font-weight: 300; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.navlink { color: rgba(242, 242, 243, 0.78); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; }
.navlink:hover { color: var(--white); }
.nav-links .btn { min-height: 44px; padding: 0 22px; }

.menu-btn {
  display: none;
  width: 48px; height: 48px;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  background: transparent;
  border: 1px solid rgba(196, 199, 206, 0.45);
  cursor: pointer;
  padding: 0;
}
.menu-btn span { display: block; width: 20px; height: 1px; background: var(--white); transition: transform 0.25s, opacity 0.25s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.4) brightness(0.45); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 12, 0.7) 0%, rgba(11, 11, 12, 0.35) 40%, var(--bg) 100%); }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 80px;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 112px;
}
.hero-text { display: flex; flex-direction: column; gap: 32px; }
.hero h1 { font-size: clamp(46px, 6.2vw, 92px); line-height: 0.98; }
.hero-intro { max-width: 520px; font-size: 19px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-video { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: var(--surface);
  border: 1px solid rgba(196, 199, 206, 0.3);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sound-btn {
  position: absolute; left: 16px; bottom: 16px;
  min-height: 44px;
  display: flex; align-items: center; gap: 10px;
  padding: 0 16px;
  background: rgba(11, 11, 12, 0.72);
  border: 1px solid rgba(196, 199, 206, 0.5);
  color: var(--white);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.sound-btn:hover { border-color: var(--white); }
.sound-btn svg { width: 18px; height: 18px; }
.hero-video figcaption { font-size: 11px; color: var(--muted); letter-spacing: 0.24em; }

/* ---------- Pillars ---------- */

.pillars { border-top: 1px solid var(--line); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; padding-top: 72px; padding-bottom: 80px; }
.pillar { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; border-top: 1px solid var(--line-3); }
.pillar p { margin: 0; font-size: 26px; line-height: 1.3; letter-spacing: -0.02em; text-wrap: balance; }

/* ---------- Sobre ---------- */

.photo-offset { position: relative; }
.photo-offset { width: 100%; max-width: 480px; }
.photo-offset img { width: 100%; aspect-ratio: 4 / 5; max-height: 72vh; object-fit: cover; object-position: center 25%; position: relative; z-index: 1; }
.photo-offset::after {
  content: '';
  position: absolute; left: -20px; bottom: -20px;
  width: 45%; height: 45%;
  border: 1px solid rgba(196, 199, 206, 0.45);
}

/* ---------- Equipa ---------- */

.team { display: flex; flex-direction: column; gap: 72px; }
.team-grid { align-items: start; }
.person { display: flex; flex-direction: column; gap: 22px; }
.person img { width: 100%; height: clamp(360px, 62vh, 520px); object-fit: cover; object-position: center 18%; margin-bottom: 18px; }
.person-head { padding-top: 32px; border-top: 1px solid rgba(196, 199, 206, 0.4); }
.person h3 { margin: 0; font-size: 42px; line-height: 1.05; font-weight: 300; letter-spacing: -0.02em; }
.person .eyebrow { margin-top: 12px; color: var(--muted); }

/* ---------- Compromisso ---------- */

.commit { padding: 160px 0; background: var(--surface); border-top: 1px solid var(--line); }
.commit-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.commit-grid > img { width: 100%; max-width: 460px; aspect-ratio: 5 / 6; max-height: 72vh; object-fit: cover; object-position: center 30%; }
.commit-quote { margin: 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.2; font-weight: 300; letter-spacing: -0.02em; text-wrap: balance; }
.who { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--silver); }
.when { font-size: 13px; color: rgba(242, 242, 243, 0.55); margin-top: 4px; }

/* ---------- Serviços ---------- */

.services { display: flex; flex-direction: column; gap: 72px; }
.svc { display: flex; gap: 24px; padding: 40px 0; border-top: 1px solid var(--line-2); }
.svc svg { flex: none; width: 36px; height: 36px; color: var(--silver); }
.svc h3 { font-weight: 400; font-size: 21px; margin: 0 0 8px; color: var(--text); }
.svc p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(242, 242, 243, 0.64); }

/* ---------- Jamila ---------- */

.jamila-photo { width: 100%; max-width: 460px; justify-self: end; }
.tagline { margin: 0; font-size: 24px; font-weight: 400; color: var(--white); }
.legal { font-size: 13px; line-height: 1.7; padding-top: 20px; border-top: 1px solid var(--line-2); }

/* ---------- Testemunhos ---------- */

.testimonials { display: flex; flex-direction: column; gap: 64px; }
.t-grid { columns: 3; column-gap: 24px; }
.t-card {
  margin: 0 0 24px;
  break-inside: avoid;
  display: flex; flex-direction: column; gap: 24px;
  padding: 40px;
  background: var(--surface);
  border: 1px solid rgba(196, 199, 206, 0.12);
}
.t-card.is-hidden { display: none; }
.t-card blockquote { margin: 0; }
.t-card blockquote p { margin: 0 0 12px; font-size: 17px; line-height: 1.65; color: var(--text); }
.t-card blockquote p:last-child { margin-bottom: 0; }
.t-more { display: flex; justify-content: center; }

/* ---------- Contacto ---------- */

.contact { background: var(--surface); }
.contact-grid { align-items: start; }
.contact-card { display: flex; flex-direction: column; gap: 10px; padding: 32px 0; border-top: 1px solid var(--line-2); }
.contact-card h3 { margin: 0; font-size: 30px; font-weight: 300; letter-spacing: -0.02em; }
.contact-card .tel { color: var(--text); font-size: 16px; }
.contact-card .mail { font-size: 16px; }
.contact-card .btn { align-self: flex-start; margin-top: 8px; min-height: 44px; }

.form { display: flex; flex-direction: column; gap: 28px; padding: 48px; background: var(--bg); border: 1px solid rgba(196, 199, 206, 0.2); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(242, 242, 243, 0.7); }
.field input, .field select, .field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-3);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  padding: 12px 0;
  outline: none;
  border-radius: 0;
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(242, 242, 243, 0.35); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--white); }
.field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c4c7ce' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
}
.field select option { background: #141416; }
.field textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn[disabled] { opacity: 0.6; cursor: wait; }
.form-status { margin: 0; font-size: 15px; line-height: 1.6; color: var(--white); min-height: 0; }
.form-status:empty { display: none; }
.form-status.error { color: #ffb4a8; }
.form-note { margin: 0; font-size: 13px; line-height: 1.6; }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line-2); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 48px; padding-bottom: 48px; font-size: 13px; }
.footer-brand { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand img { width: 150px; height: auto; }
.footer-brand div { line-height: 1.6; }

/* ---------- /metodo ---------- */

.m-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 24px; padding-bottom: 24px; }
.m-nav .btn { min-height: 44px; padding: 0 22px; white-space: nowrap; }
.label-sm { display: none; }
.m-banner { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: var(--surface); }
.m-banner .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; }
.m-banner svg { width: 16px; height: 16px; }
.m-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; padding-top: 140px; padding-bottom: 120px; }
.m-hero h1 { font-size: clamp(46px, 6.2vw, 92px); line-height: 1; }
.m-hero .p { max-width: 640px; font-size: 19px; }

.cmp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; padding-bottom: 140px; }
.cmp { display: flex; flex-direction: column; padding: 44px; position: relative; }
.cmp-old { background: var(--surface); border: 1px solid rgba(242, 242, 243, 0.08); }
.cmp-new { background: var(--surface-2); border: 1px solid var(--silver); }
.cmp .eyebrow { margin-bottom: 28px; }
.cmp-old .eyebrow { color: var(--muted); }
.badge { position: absolute; top: -1px; right: 32px; background: var(--silver); color: var(--bg); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; padding: 8px 14px; font-weight: 500; }
.row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.55; color: var(--soft); }
.row svg { flex: none; width: 18px; height: 18px; margin-top: 3px; }
.row b { font-weight: 500; color: var(--text); }
.cmp-new .row b { color: var(--white); }
.result { margin-top: auto; padding-top: 32px; border-top: 1px solid var(--line); }
.cmp-new .result { border-top-color: rgba(196, 199, 206, 0.3); }
.result .eyebrow { font-size: 11px; margin: 0; }
.result-value { font-size: 48px; margin-top: 8px; font-weight: 300; letter-spacing: -0.02em; color: rgba(242, 242, 243, 0.75); }
.cmp-new .result-value { color: var(--white); }

.process { background: var(--surface); border-top: 1px solid var(--line); padding: 140px 0; }
.process .wrap { display: flex; flex-direction: column; gap: 56px; }
.step { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; padding: 40px 0; border-top: 1px solid rgba(196, 199, 206, 0.16); }
.step:last-child { border-bottom: 1px solid rgba(196, 199, 206, 0.16); }
.day { font-size: 34px; line-height: 1.1; color: var(--silver); font-weight: 300; }
.step h3 { font-weight: 400; font-size: 24px; margin: 0 0 12px; }

.quotes { padding-top: 140px; padding-bottom: 140px; display: flex; flex-direction: column; gap: 64px; }
.quotes blockquote { margin: 0; font-weight: 300; letter-spacing: -0.02em; }
.quote-1 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.2; max-width: 900px; }
.quote-2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; max-width: 820px; align-self: flex-end; color: rgba(242, 242, 243, 0.82); }
.quotes .eyebrow { align-self: flex-end; }

.m-cta { border-top: 1px solid var(--line-2); padding: 120px 0; }
.m-cta .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.m-cta h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; }
.m-cta .btn-row { justify-content: center; }

/* ---------- Mobile ---------- */

@media (max-width: 1100px) {
  .t-grid { columns: 2; }
}

@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .sec { padding: 96px 0; }
  .grid2, .commit-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .grid3, .pillars-grid, .cmp-grid { grid-template-columns: minmax(0, 1fr); }
  .t-grid { columns: 1; }
  .photo-offset, .commit-grid > img, .jamila-photo { max-width: none; justify-self: stretch; }
  .person img { height: auto; aspect-ratio: 4 / 5; }
  .pillars-grid { gap: 40px; padding-top: 56px; padding-bottom: 64px; }
  .pillar p { font-size: 24px; }

  /* sem backdrop-filter: prenderia o painel fixo do menu dentro da barra */
  .nav, .nav.scrolled { background: rgba(11, 11, 12, 0.97); backdrop-filter: none; border-bottom-color: var(--line); }
  .nav-inner, .nav.scrolled .nav-inner { padding-top: 22px; padding-bottom: 16px; }
  .brand img { width: 42px; height: 42px; }
  .brand span { font-size: 18px; }
  .menu-btn { display: flex; }
  .nav-links {
    position: fixed;
    top: 86px; left: 0; right: 0; bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 24px 20px 40px;
    background: var(--bg);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }
  .navlink { width: 100%; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav-links .btn { margin-top: 32px; width: 100%; min-height: 52px; }

  .hero-bg, .hero-shade { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 86px 0 64px; }
  .hero-video { order: -1; gap: 0; }
  .hero-video figcaption { display: none; }
  .video-frame { aspect-ratio: auto; height: min(177.78vw, calc(100svh - 86px)); border: 0; box-shadow: none; }
  .video-frame::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(180deg, rgba(11, 11, 12, 0) 0%, var(--bg) 100%); pointer-events: none; }
  .sound-btn { bottom: 24px; z-index: 1; }
  .hero-text { padding: 28px 20px 0; gap: 22px; }
  .hero .eyebrow { font-size: 11px; }
  .hero h1 { font-size: 42px; line-height: 1.02; }
  .hero-intro { font-size: 17px; }
  .hero .btn-row { flex-direction: column; gap: 12px; }

  .team { gap: 56px; }
  .person h3 { font-size: 36px; }
  .commit { padding: 96px 0; }
  .commit-quote { font-size: 30px; }
  .services { gap: 48px; }
  .testimonials { gap: 48px; }
  .t-card { padding: 28px; }
  .form { padding: 24px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { flex-direction: column; align-items: flex-start; }

  .m-nav .btn { padding: 0 16px; font-size: 12px; letter-spacing: 0.14em; }
  .label-lg { display: none; }
  .label-sm { display: inline; }
  .cmp.cmp-new { padding-top: 64px; }
  .m-hero { padding-top: 72px; padding-bottom: 72px; }
  .cmp { padding: 28px; }
  .badge { right: 20px; }
  .cmp-grid { padding-bottom: 96px; }
  .process { padding: 96px 0; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .quotes { padding-top: 96px; padding-bottom: 96px; gap: 48px; }
  .m-cta { padding: 96px 0; }
  .m-cta .btn-row { flex-direction: column; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
