
/* ========================================
   VARIÁVEIS
======================================== */

:root {
  --paper: #eae9e1;
  --paper-light: #f5f4ed;
  --ink: #20231f;
  --green: #858f70;
  --dark-green: #354332;
  --muted: #73766d;
  --line: #cecec2;
}

/* ========================================
   RESET E CONFIGURAÇÕES GERAIS
======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

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

/* ========================================
   CABEÇALHO
======================================== */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 7%;
  border-bottom: 1px solid var(--line);
}

.logo {
  flex-shrink: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -1.5px;
}

.logo span {
  color: var(--green);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a,
.header-contact {
  font-size: 13px;
  transition: color .2s;
}

.nav a:hover,
.header-contact:hover {
  color: var(--green);
}

.header-contact {
  flex-shrink: 0;
  font-weight: 600;
}

/* ========================================
   INÍCIO
======================================== */

.hero {
  min-height: 560px;
  padding: 100px 7% 105px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: block;
  color: var(--green);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  line-height: 1.7;
}

.hero h1 {
  max-width: 850px;
  margin: 25px auto 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.05;
  letter-spacing: -4px;
}

h1 em,
h2 em {
  color: var(--green);
  font-style: normal;
}

.hero-content > p {
  max-width: 590px;
  margin: 25px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px 22px;
  font-size: 12px;
  transition: transform .25s, background .25s, border-color .25s;
}

.button-primary {
  background: var(--dark-green);
  color: white;
}

.button-primary:hover {
  background: var(--ink);
  transform: translateY(-3px);
}

.button-secondary {
  border: 1px solid var(--line);
}

.button-secondary:hover {
  border-color: var(--green);
}

.hero-note {
  display: block;
  margin-top: 45px;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 1px;
}

/* ========================================
   FRASE DE DESTAQUE
======================================== */

.statement {
  padding: 80px 7%;
  background: var(--dark-green);
  color: white;
}

.statement h2 {
  max-width: 850px;
  margin-top: 22px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -2px;
}

.statement h2 em {
  color: #b0ba9d;
}

/* ========================================
   CONFIGURAÇÕES DAS SEÇÕES
======================================== */

.section {
  padding: 110px 7%;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
}

.section-heading h2,
.about-content h2 {
  max-width: 650px;
  margin-top: 15px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -2px;
}

.section-heading > p {
  max-width: 300px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

/* ========================================
   SERVIÇOS
======================================== */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 330px;
  padding: 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}

.service-card:hover {
  background: var(--paper-light);
}

.card-number {
  color: var(--green);
  font-family: "DM Mono", monospace;
  font-size: 11px;
}

.service-symbol {
  display: block;
  margin: 35px 0 25px;
  font-size: 32px;
  color: var(--green);
}

.service-card h3 {
  margin-bottom: 13px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
}

.service-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.card-tag {
  position: absolute;
  bottom: 22px;
  color: var(--green);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .5px;
}

/* ========================================
   PÚBLICO-ALVO
======================================== */

.audience-section {
  padding: 100px 7%;
  background: var(--paper-light);
}

.audience-list {
  border-top: 1px solid var(--line);
}

.audience-item {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 30px;
  gap: 20px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.audience-item > span:first-child {
  color: var(--green);
  font-family: "DM Mono", monospace;
  font-size: 12px;
}

.audience-item h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 23px;
}

.audience-item p {
  max-width: 600px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.arrow {
  font-size: 22px;
  color: var(--green);
}

/* ========================================
   PROJETOS
======================================== */

.projects-section {
  padding: 45px 7% 75px;
  background: var(--paper);
  color: var(--ink);
}

.projects-heading {
  margin-bottom: 28px;
}

.projects-heading h2 {
  margin-top: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(35px, 5vw, 55px);
  letter-spacing: -2px;
  color: var(--ink);
}

.projects-heading h2 span {
  color: var(--green);
}

/* Projeto SOMA */

.soma-project {
  max-width: 850px;
  margin: 0 auto;
  padding: 35px;
  background: #292d27;
  color: var(--paper-light);
}

.soma-intro {
  max-width: 480px;
  margin: 0 auto 25px;
  text-align: center;
}

.soma-intro h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 65px;
  line-height: 1;
  letter-spacing: -5px;
}

.soma-intro span {
  display: block;
  margin-top: 8px;
  color: #aab596;
  font-size: 12px;
}

.soma-intro p {
  margin-top: 15px;
  color: #b1b4aa;
  font-size: 13px;
  line-height: 1.7;
}

.soma-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.soma-slides {
  width: 220px;
  height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.soma-slide {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.soma-slide.active {
  display: flex;
}

.soma-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.soma-arrow {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 1px solid #62685d;
  border-radius: 50%;
  background: transparent;
  color: var(--paper-light);
  cursor: pointer;
  transition: .2s;
}

.soma-arrow:hover {
  background: var(--green);
  color: var(--ink);
}

.soma-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #454940;
  color: #aab596;
  font-family: "DM Mono", monospace;
  font-size: 9px;
}

/* ========================================
   SOBRE
======================================== */

.about-section {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 8%;
  padding: 130px 9%;
  background: var(--paper-light);
}

.about-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 8px;
}

.about-label .eyebrow {
  color: var(--green);
  font-size: 10px;
  letter-spacing: 1.5px;
}

.about-number {
  margin-top: 20px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 1px;
}

.about-content {
  max-width: 780px;
  width: 100%;
}

.about-content h2 {
  max-width: 720px;
  margin: 0 0 35px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -2.8px;
  color: var(--ink);
}

.about-text {
  max-width: 650px;
  border-left: 2px solid var(--green);
  padding-left: 25px;
}

.about-content p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
  text-align: left;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.about-content strong {
  color: var(--ink);
  font-weight: 600;
}

/* ========================================
   CONTATO
======================================== */

.contact-section {
  padding: 110px 7%;
  text-align: center;
  background: #dcded2;
}

.contact-section h2 {
  max-width: 800px;
  margin: 20px auto;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(35px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -2px;
}

.contact-section > p {
  max-width: 470px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.contact-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  margin: 0;
  padding: 0 25px;
  box-sizing: border-box;
  background: var(--dark-green);
  color: white;
  font-size: 12px;
  white-space: nowrap;
  transition: transform .25s, background .25s;
}

.button-contact:hover {
  background: var(--ink);
  transform: translateY(-3px);
}

.button-social {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dark-green);
  border-radius: 0;
  color: var(--dark-green);
  text-decoration: none;
  font-size: 21px;
  transition: .3s ease;
}

.button-social:hover {
  background: var(--dark-green);
  color: white;
}

/* ========================================
   RODAPÉ
======================================== */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 7%;
}

.footer > span {
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .7px;
}

/* ========================================
   ANIMAÇÕES
======================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.js .reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVIDADE — TABLETS
======================================== */

@media (max-width: 950px) {
  .header {
    padding-inline: 5%;
  }

  .nav {
    gap: 18px;
  }

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

  .about-section {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 45px;
    padding: 100px 7%;
  }

  .about-content h2 {
    font-size: clamp(36px, 5vw, 48px);
  }
}

/* ========================================
   RESPONSIVIDADE — CELULARES
======================================== */

@media (max-width: 700px) {
  .header {
    flex-wrap: wrap;
    gap: 18px;
    padding: 20px 6%;
  }

  .nav {
    order: 3;
    width: 100%;
    gap: 18px;
    flex-wrap: wrap;
  }

  .nav a,
  .header-contact {
    font-size: 11px;
  }

  .hero {
    min-height: auto;
    padding: 85px 6% 90px;
  }

  .hero h1 {
    font-size: clamp(40px, 10vw, 58px);
    letter-spacing: -2.5px;
  }

  .hero-content > p {
    font-size: 14px;
  }

  .hero-note {
    margin-top: 38px;
    font-size: 8px;
  }

  .statement {
    padding: 70px 6%;
  }

  .section,
  .audience-section {
    padding: 75px 6%;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 20px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 285px;
  }

  .audience-item {
    grid-template-columns: 30px minmax(0, 1fr) 20px;
    gap: 12px;
  }

  .audience-item h3 {
    font-size: 19px;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-visual {
    min-height: 260px;
  }

  .project-info {
    padding: 30px 25px;
  }

  .projects-section {
    padding: 65px 5%;
  }

  .projects-heading {
    margin-bottom: 25px;
  }

  .soma-project {
    padding: 22px 14px;
  }

  .soma-intro h3 {
    font-size: 55px;
  }

  .soma-slides {
    width: 190px;
    height: 280px;
  }

  .soma-gallery {
    gap: 9px;
  }

  .soma-arrow {
    width: 29px;
    height: 29px;
  }

  .soma-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 85px 6%;
  }

  .about-label {
    padding: 0;
  }

  .about-number {
    margin-top: 10px;
  }

  .about-content h2 {
    font-size: clamp(34px, 9vw, 43px);
    letter-spacing: -1.8px;
    line-height: 1.12;
    margin-bottom: 28px;
  }

  .about-text {
    padding-left: 18px;
  }

  .about-content p {
    font-size: 13px;
    line-height: 1.85;
    margin-bottom: 17px;
  }

  .footer {
    flex-wrap: wrap;
    padding: 25px 6%;
  }
}

/* ========================================
   TELAS MUITO ESTREITAS
======================================== */

@media (max-width: 380px) {
  .header-contact {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
  }

  .audience-item {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .audience-item .arrow {
    display: none;
  }
}

/* ========================================
   ACESSIBILIDADE — MENOS ANIMAÇÕES
======================================== */

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.contact-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button-social {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dark-green);
  border-radius: 0;
  color: var(--dark-green);
  text-decoration: none;
  font-size: 21px;
  transition: .3s ease;
}

.button-social:hover {
  background: var(--dark-green);
  color: white;
}
