/* Suskodesign — site institucional
   Fonte única de estilo, mobile-first com breakpoint em 880px para o layout desktop. */

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-subset.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-subset.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --carvao: #292B2D;
  --salvia: #AEB79A;
  --cinza-papel: #E1E3DE;
  --osso: #FFFAF0;
  --laranja: #FC6E2C;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--osso);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--carvao); text-decoration: none; }
a:hover { color: var(--laranja); }
h1, h2, h3 { font-family: 'Space Grotesk', system-ui, sans-serif; margin: 0; }
p { margin: 0; }
img { max-width: 100%; }
button { font: inherit; }

.lede {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  text-align: justify;
  text-justify: inter-word;
  color: var(--carvao);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--laranja);
  min-height: 44px;
  border-bottom: 1.5px solid var(--laranja);
  padding-bottom: 2px;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
  padding-left: 0;
  padding-right: 0;
}
.cta.on-dark { color: var(--laranja); border-bottom-color: var(--laranja); }

.divider-row { display: flex; align-items: baseline; gap: 16px; }
.divider-label { font-size: 12px; color: #292B2DA6; white-space: nowrap; }

.arrow { color: var(--carvao); transition: transform .15s ease, color .15s ease; flex-shrink: 0; }

.portfolio-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid #292B2D1F;
  cursor: pointer;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  text-align: left;
}
.portfolio-row:hover h3 { color: var(--laranja); }
.portfolio-row:hover .arrow { color: var(--laranja); transform: translate(3px, -3px); }

label {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #292B2DA6;
}
.field { display: flex; flex-direction: column; gap: 10px; padding: 18px 0; border-bottom: 1px solid #292B2D26; }
input, select, textarea {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  color: var(--carvao);
  border: none;
  background: none;
  padding: 0;
  outline: none;
  width: 100%;
}
textarea { resize: vertical; min-height: 72px; font-size: 15px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #292B2D66; }
select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23292B2D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 22px;
}

/* ---------- Layout shell ---------- */

.page { display: flex; flex-direction: column; width: 100%; max-width: 1440px; margin: 0 auto; background: var(--osso); overflow: hidden; }

header.site-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; }
header.site-header img { height: 18px; width: auto; }
header.site-header a.contato-link { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; color: var(--carvao); }
header.site-header a.contato-link:hover { color: var(--laranja); }

.hero-photo { width: 100%; line-height: 0; }
.hero-photo img { width: 100%; height: auto; display: block; }

.hero-text { display: flex; flex-direction: column; gap: 22px; padding: 36px 24px 44px; }
.hero-text h1 { font-size: 30px; line-height: 1.18; font-weight: 700; color: var(--carvao); letter-spacing: -0.01em; }

.quem-e { display: flex; flex-direction: column; gap: 32px; padding: 52px 24px 36px; border-top: 1px solid #292B2D1F; }
.quem-e .lede { font-size: 23px; line-height: 1.42; }
.quem-e h2 { font-size: 19px; font-weight: 700; color: var(--carvao); text-transform: lowercase; white-space: nowrap; }

.metodo { display: flex; flex-direction: column; padding: 0 24px 8px; }
.metodo-item { display: flex; flex-direction: column; gap: 6px; padding: 22px 0; border-bottom: 1px solid #292B2D1F; }
.metodo-item:last-child { border-bottom: none; }
.metodo-item .row { display: flex; align-items: baseline; gap: 14px; }
.metodo-item .num { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700; color: var(--laranja); width: 44px; flex-shrink: 0; }
.metodo-item h3 { font-size: 19px; color: var(--carvao); font-weight: 700; text-transform: lowercase; }
.metodo-item p { font-size: 13px; line-height: 1.55; color: #292B2DA6; padding-left: 58px; }

.case-destaque { display: flex; flex-direction: column; gap: 22px; padding: 56px 24px 0; }
.case-destaque .heading { display: flex; flex-direction: column; gap: 10px; }
.case-destaque h2 { font-size: 28px; font-weight: 700; color: var(--carvao); line-height: 1.05; text-transform: lowercase; }
.case-destaque .heading .divider-row span:last-child { font-size: 12px; color: #292B2DA6; text-transform: lowercase; text-align: right; max-width: 150px; }
.case-destaque img { width: 100%; height: auto; border-radius: 10px; display: block; }
.case-destaque .lede-p { font-weight: 400; font-family: 'Inter', sans-serif; font-size: 14px; line-height: 1.65; color: #292B2DB3; }
.case-destaque .ctas { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.case-destaque .ctas .cta { margin-bottom: 8px; }

.portfolio { display: flex; flex-direction: column; padding: 52px 24px 8px; }
.portfolio .heading { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.portfolio h2 { font-size: 28px; font-weight: 700; color: var(--carvao); text-transform: lowercase; }
.portfolio .heading span { font-size: 13px; color: #292B2DA6; }
.portfolio .top-rule { border-top: 1px solid #292B2D1F; }
.portfolio-row .info { display: flex; flex-direction: column; gap: 8px; }
.portfolio-row h3 { font-size: 22px; color: var(--carvao); font-weight: 700; font-family: 'Space Grotesk', sans-serif; text-transform: lowercase; }
.portfolio-row p { font-size: 12.5px; line-height: 1.55; color: #292B2DA6; max-width: 260px; }

.contato { display: flex; flex-direction: column; gap: 22px; padding: 56px 24px 84px; margin-top: 52px; background: var(--carvao); }
.contato h2 { font-size: 27px; line-height: 1.28; color: var(--osso); font-weight: 700; max-width: 280px; }
.contato .contact-links { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.contato .contact-links a { font-size: 14px; color: #FFFAF0E0; }

footer.site-footer { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px 24px 36px; background: var(--carvao); }
footer.site-footer img { height: 22px; width: auto; flex-shrink: 0; }
footer.site-footer a { font-size: 12px; color: #FFFAF0B3; }
footer.site-footer span { font-size: 11px; color: #FFFAF073; }

/* ---------- Modals / overlays ---------- */

.case-modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--carvao);
  z-index: 999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: none;
}
.case-modal-overlay.is-open { display: block; }
.case-modal-body { display: flex; flex-direction: column; min-height: 100%; }
.case-modal-close-row { display: flex; justify-content: flex-end; padding: 18px 20px 0; }
.case-modal-close { appearance: none; border: none; background: transparent; padding: 8px; cursor: pointer; color: var(--osso); }
.case-modal-content { display: flex; flex-direction: column; gap: 18px; padding: 8px 24px 64px; }
.case-modal-content h2 { font-size: 26px; font-weight: 700; color: var(--osso); text-transform: lowercase; font-family: 'Space Grotesk', sans-serif; }
.case-modal-content p { font-size: 14px; line-height: 1.65; color: #FFFAF0CC; font-family: 'Inter', sans-serif; }
.case-modal-img { width: 100%; height: auto; border-radius: 10px; display: block; }

.orcamento-overlay .case-modal-body { padding: 24px 16px; }
.orcamento-panel { background: var(--osso); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.orcamento-panel .case-modal-close-row { padding: 14px 18px 0; }
.orcamento-panel .case-modal-close { color: var(--carvao); }
.orcamento-intro { display: flex; flex-direction: column; gap: 16px; padding: 8px 24px 8px; }
.orcamento-intro h2 { font-size: 26px; line-height: 1.15; font-weight: 700; color: var(--carvao); letter-spacing: -0.01em; }
.orcamento-intro p { font-size: 14px; line-height: 1.6; color: #292B2DA6; }
.orcamento-form { display: flex; flex-direction: column; padding: 8px 24px 8px; }
.orcamento-form .cta { align-self: flex-start; margin-top: 20px; margin-bottom: 20px; }
.form-feedback { display: none; padding: 0 24px 28px; font-size: 14px; line-height: 1.5; }
.form-feedback.is-visible { display: block; }
.form-feedback.is-error { color: #b3261e; }
.form-feedback.is-success { color: #2c6b3f; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Desktop (≥880px) ---------- */

@media (min-width: 880px) {
  .page { width: 1440px; }

  header.site-header { padding: 26px 80px; }
  header.site-header img { height: 24px; }
  header.site-header a.contato-link { font-family: 'Inter', system-ui, sans-serif; font-size: 14px; font-weight: 500; }

  .hero-text { padding: 72px 80px 96px; max-width: 900px; gap: 32px; }
  .hero-text h1 { font-size: 56px; line-height: 1.16; }

  .quem-e { padding: 88px 80px 64px; gap: 44px; }
  .quem-e .lede { font-size: 44px; line-height: 1.4; max-width: 920px; }
  .quem-e h2 { font-size: 34px; }

  .metodo { padding: 0 80px 24px; }
  .metodo-item { flex-direction: row; align-items: baseline; gap: 36px; padding: 30px 0; }
  .metodo-item .row { display: contents; }
  .metodo-item .num { font-size: 44px; width: 96px; }
  .metodo-item h3 { font-size: 32px; width: 280px; flex-shrink: 0; }
  .metodo-item p { font-size: 16px; line-height: 1.6; padding-left: 0; max-width: 480px; }

  .case-destaque { padding: 104px 80px 0; gap: 40px; }
  .case-destaque h2 { font-size: 44px; line-height: 1.08; white-space: nowrap; }
  .case-destaque img { border-radius: 14px; }
  .case-destaque .lede-p { font-size: 17px; line-height: 1.7; max-width: 1000px; }
  .case-destaque .ctas .cta { font-size: 16px; gap: 10px; }

  .portfolio { padding: 96px 80px 24px; }
  .portfolio h2 { font-size: 44px; }
  .portfolio .heading span { font-size: 17px; }
  .portfolio-row { padding: 30px 0; gap: 48px; }
  .portfolio-row .info { gap: 10px; max-width: 640px; }
  .portfolio-row h3 { font-size: 36px; }
  .portfolio-row p { font-size: 15px; max-width: none; }

  .contato { padding: 120px 80px 140px; margin-top: 96px; gap: 28px; }
  .contato h2 { font-size: 48px; line-height: 1.25; max-width: 640px; }
  .contato .contact-links { flex-direction: row; gap: 24px; margin-top: 8px; }
  .contato .contact-links a { font-size: 16px; }

  footer.site-footer { flex-direction: row; align-items: center; justify-content: space-between; padding: 32px 80px; }
  footer.site-footer img { height: 24px; }
  footer.site-footer .footer-links { display: flex; align-items: center; gap: 24px; }
  footer.site-footer a { font-size: 13px; }
  footer.site-footer span { font-size: 13px; }

  .case-modal-content { max-width: 860px; width: 100%; margin: 64px auto 64px; background: var(--osso); border-radius: 20px; box-shadow: 0 40px 100px rgba(0,0,0,0.35); position: relative; padding: 8px 56px 64px; gap: 22px; }
  .case-modal-content h2 { font-size: 34px; color: var(--carvao); }
  .case-modal-content p { font-size: 16px; line-height: 1.7; color: #292B2DB3; max-width: 680px; }
  .case-modal-img { border-radius: 12px; }
  .case-modal-body:has(.case-modal-content) .case-modal-close-row { max-width: 860px; margin: 0 auto; padding: 20px 24px 0; position: relative; top: 44px; z-index: 1; }

  .orcamento-panel { max-width: 900px; width: 100%; margin: 64px auto 64px; box-shadow: 0 40px 100px rgba(0,0,0,0.35); }
  .orcamento-intro { padding: 8px 56px 8px; max-width: 760px; gap: 20px; }
  .orcamento-intro h2 { font-size: 38px; line-height: 1.1; }
  .orcamento-intro p { font-size: 16px; }
  .orcamento-form { padding: 12px 56px 48px; }
  .orcamento-form .field { flex-direction: row; align-items: baseline; gap: 40px; padding: 26px 0; }
  .orcamento-form label { font-size: 13px; width: 220px; flex-shrink: 0; }
  .orcamento-form input, .orcamento-form select, .orcamento-form textarea { font-size: 18px; max-width: 380px; }
  .orcamento-form textarea { min-height: 64px; font-size: 16px; }
  .orcamento-form select { padding-right: 26px; }
  .orcamento-form [data-field="projeto"] { align-items: flex-start; }
  .orcamento-form [data-field="projeto"] label { padding-top: 2px; }
  .orcamento-form .cta { margin-top: 32px; margin-bottom: 8px; }
}
