/*
Theme Name: Lukas Moraes Design
Theme URI: https://lukasmoraes.design
Author: Lukas Moraes Design
Description: Tema customizado minimalista premium para portfolio, servicos e briefings.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: lukas-moraes-design
*/

:root {
  --background: #f6f3ee;
  --foreground: #171512;
  --muted: #756f66;
  --line: #ddd6cc;
  --paper: #fffcf7;
  --ink: #171512;
  --accent: #315c54;
  --accent-soft: #d9e3dd;
  --warm: #b88a5a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(246, 243, 238, 0.92);
  border-bottom: 1px solid rgba(23, 21, 18, 0.08);
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr auto 1fr;
  left: 0;
  padding: 18px clamp(20px, 4vw, 56px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand,
.main-nav,
.hero-actions,
.form-actions,
.section-row,
.briefing-header {
  align-items: center;
  display: flex;
}

.brand-logo,
.custom-logo {
  background: var(--ink);
  border-radius: 10px;
  display: block;
  height: 38px;
  object-fit: contain;
  padding: 6px 10px;
  width: 132px;
}

.main-nav {
  color: var(--muted);
  font-size: 14px;
  gap: 22px;
}

.main-nav .menu-item {
  list-style: none;
}

.site-header > .button {
  justify-self: end;
}

.button {
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.dark {
  background: var(--ink);
  color: var(--paper);
}

.button.light,
.button.ghost {
  background: transparent;
  color: var(--ink);
}

.hero {
  display: grid;
  gap: clamp(32px, 6vw, 72px);
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  min-height: calc(100vh - 72px);
  padding: clamp(56px, 8vw, 112px) clamp(20px, 4vw, 56px) 64px;
}

.hero-copy {
  align-self: center;
  max-width: 820px;
}

.eyebrow,
.section-kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(46px, 7vw, 104px);
  letter-spacing: 0;
  line-height: 0.92;
  margin-bottom: 28px;
  max-width: 960px;
}

h2 {
  font-size: clamp(32px, 5vw, 72px);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 0;
}

.hero-copy > p:not(.eyebrow),
.section p,
.briefing-header p,
.about-card p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  max-width: 720px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-logo-wrap {
  background: var(--ink);
  border-radius: 28px;
  display: inline-flex;
  margin-bottom: 32px;
  max-width: min(100%, 540px);
  padding: clamp(14px, 3vw, 28px);
}

.hero-logo {
  display: block;
  height: auto;
  object-fit: contain;
  width: 100%;
}

.hero-board {
  align-self: stretch;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 520px;
  padding: clamp(22px, 4vw, 38px);
}

.board-top {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  font-size: 13px;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 18px;
}

.board-title {
  align-self: center;
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 800;
  line-height: 0.95;
  max-width: 420px;
}

.board-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}

.board-grid span,
.project-visual {
  background: linear-gradient(135deg, var(--accent-soft), #ece2d5 54%, #2c2a26 54%);
  min-height: 86px;
}

.section,
.briefing-panel,
.final-cta {
  padding: clamp(64px, 9vw, 124px) clamp(20px, 4vw, 56px);
}

.split,
.about,
.edit-plan {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
}

.service-list,
.plan-grid,
.testimonial-grid,
.portfolio-grid {
  display: grid;
  gap: 16px;
}

.service-list article,
.plan-grid article,
figure,
.project-card,
.about-card,
.stacked-notes p,
.form-note {
  background: var(--paper);
  border: 1px solid var(--line);
}

.service-list article {
  display: grid;
  gap: 18px;
  grid-template-columns: 180px 1fr;
  padding: 24px;
}

.service-list span,
.plan-grid strong,
.project-card strong,
.form-note strong {
  font-size: 18px;
}

.service-list p,
.plan-grid p,
.project-card p,
figure blockquote,
.form-note span {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.section-row {
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-row a {
  border-bottom: 1px solid var(--ink);
  font-weight: 700;
}

.portfolio-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-card {
  display: grid;
  gap: 18px;
  padding: 12px;
}

.project-visual {
  align-items: end;
  aspect-ratio: 1 / 1.08;
  display: flex;
  overflow: hidden;
  padding: 18px;
}

.project-visual img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  width: 100%;
}

.project-card:nth-child(2) .project-visual {
  background: linear-gradient(135deg, #e5e1d8, #315c54);
}

.project-card:nth-child(3) .project-visual {
  background: linear-gradient(135deg, #1d1b18, #b88a5a);
}

.project-card:nth-child(4) .project-visual {
  background: linear-gradient(135deg, #d9e3dd, #f6f3ee 48%, #171512 48%);
}

.project-visual span {
  color: var(--paper);
  font-size: 42px;
  font-weight: 900;
}

.project-card small {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
}

.testimonials {
  background: #ece7df;
}

.testimonials h2 {
  max-width: 920px;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

figure {
  margin: 0;
  padding: 28px;
}

figcaption {
  color: var(--accent);
  font-weight: 800;
  margin-top: 24px;
}

.about-card {
  padding: clamp(28px, 4vw, 44px);
}

.stacked-notes {
  align-self: end;
  display: grid;
  gap: 12px;
}

.stacked-notes p {
  color: var(--ink);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.05;
  margin: 0;
  padding: 24px;
}

.plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-grid article {
  padding: 24px;
}

.briefing-panel {
  background: var(--ink);
  color: var(--paper);
}

.briefing-panel .section-kicker,
.briefing-panel p,
.briefing-panel small,
.briefing-panel .form-note span {
  color: #c9c2b6;
}

.briefing-header {
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 36px;
}

.briefing-header .button.dark,
.briefing-form .button.dark {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.briefing-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
}

.briefing-types {
  display: grid;
  gap: 10px;
}

.type-button {
  background: transparent;
  border: 1px solid rgba(255, 252, 247, 0.18);
  color: var(--paper);
  cursor: pointer;
  padding: 18px;
  text-align: left;
}

.type-button.active {
  background: var(--paper);
  color: var(--ink);
}

.type-button span,
.type-button small {
  display: block;
}

.type-button span {
  font-weight: 800;
  margin-bottom: 8px;
}

.type-button.active small {
  color: var(--muted);
}

.briefing-form {
  background: #211f1b;
  border: 1px solid rgba(255, 252, 247, 0.14);
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(18px, 3vw, 32px);
}

.form-note {
  color: var(--ink);
  display: grid;
  gap: 6px;
  grid-column: 1 / -1;
  padding: 18px;
}

label {
  color: #e8e1d7;
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

input,
textarea,
select {
  background: var(--paper);
  border: 1px solid transparent;
  color: var(--ink);
  min-height: 46px;
  outline: none;
  padding: 12px 14px;
  width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--warm);
}

textarea {
  resize: vertical;
}

.span-2 {
  grid-column: 1 / -1;
}

.briefing-extra-fields {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-actions {
  flex-wrap: wrap;
  gap: 18px;
}

.form-actions a {
  border-bottom: 1px solid currentColor;
  color: #e8e1d7;
  font-weight: 800;
}

.notice {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--ink);
  margin-bottom: 18px;
  padding: 14px 18px;
}

.final-cta {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.final-cta p {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  margin: 0;
  max-width: 760px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .site-header > .button {
    justify-self: start;
  }

  .hero,
  .split,
  .about,
  .edit-plan,
  .briefing-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-board {
    min-height: 380px;
  }

  .portfolio-grid,
  .testimonial-grid,
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 16px 18px;
    position: static;
  }

  .main-nav {
    gap: 12px;
  }

  h1 {
    font-size: 58px;
  }

  .hero,
  .section,
  .briefing-panel,
  .final-cta {
    padding-left: 18px;
    padding-right: 18px;
  }

  .service-list article,
  .briefing-form,
  .briefing-extra-fields,
  .portfolio-grid,
  .testimonial-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .section-row,
  .briefing-header,
  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
