/* ==========================================================================
   1. VARIÁVEIS E RESET GLOBAL
   ========================================================================== */
:root {
  --deep: #2d4a35;
  --mid: #3d6347;
  --pale: #c2d4c8;
  --cream: #eeeae1;
  --white: #ffffff;
  --ink: #18241c;
  --line: rgba(45, 74, 53, 0.22);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #f8f6f1;
  color: var(--ink);
  font: 400 16px/1.7 "Montserrat", sans-serif;
  overflow-x: hidden;
  width: 100%;
}

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

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

.shell, .container {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
}

/* ==========================================================================
   2. TIPOGRAFIA E COMPONENTES BÁSICOS
   ========================================================================== */
.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 600;
  color: var(--mid);
  margin-bottom: 20px;
}

.hero h1,
.section-title h2,
.statement h2,
.about h2,
.cta h2,
.case-hero h1,
.privacy h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  line-height: 1.05;
  font-size: clamp(32px, 5.5vw, 68px);
  margin: 0;
}

.section {
  padding-block: clamp(50px, 7vw, 110px);
}

.section-title {
  margin-bottom: clamp(30px, 5vw, 60px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.button:hover {
  opacity: 0.88;
}

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

.button.light {
  background: var(--cream);
  color: var(--deep);
}

/* ==========================================================================
   3. CABEÇALHO E MENU
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 246, 241, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand-logo {
  width: 104px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a,
.text-link,
.service-list a {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  padding-block: clamp(40px, 6vw, 80px);
}

.hero-copy p {
  font-size: clamp(15px, 1.8vw, 17px);
  max-width: 580px;
  margin: 24px 0 32px;
}

.actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-portrait {
  width: min(100%, 420px);
  margin: 0 auto;
  position: relative;
}

.hero-portrait::before {
  content: "";
  position: absolute;
  inset: -12px 12px 12px -12px;
  border: 1px solid var(--pale);
  z-index: 0;
}

.hero-portrait img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  z-index: 1;
}

/* ==========================================================================
   5. SEÇÕES: STATEMENT, SERVIÇOS, PORTFÓLIO
   ========================================================================== */
.statement {
  padding: clamp(50px, 7vw, 90px) 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.statement span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

.service-list article {
  display: grid;
  grid-template-columns: 36px 1fr;
  row-gap: 12px;
  column-gap: 18px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.service-list h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(22px, 3vw, 30px);
  margin: 0;
}

.service-list p,
.service-list a {
  grid-column: 2;
}

/* Listagem de Portfólio */
.portfolio {
  background: var(--deep);
  color: var(--white);
}

.portfolio .eyebrow {
  color: var(--pale);
}

.project-stripe {
  width: 100%;
  margin: 0 auto 36px;
}

.project-stripe a {
  display: flex;
  flex-direction: column;
  background: #eee;
  color: var(--ink);
  overflow: hidden;
}

.project-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #eee;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-stripe a:hover .project-media img {
  transform: scale(1.03);
}

.project-stripe span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 44px);
}

.project-stripe strong {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.1;
  margin: 12px 0 24px;
}

.project-stripe small,
.project-stripe em {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  font-style: normal;
}

.ana a { background: #e7e1d8; }
.kat a { background: #10243a; color: #f7f1ea; }
.kat small, .kat em { color: #e8d3c7; }
.hinata a { background: #171b17; color: var(--white); }
.art a { background: #efe2d3; }

/* ==========================================================================
   6. DEPOIMENTOS, SOBRE, PROCESSO E CTA
   ========================================================================== */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 24px;
}

.quotes blockquote {
  padding: clamp(22px, 3.5vw, 34px);
  border-top: 3px solid var(--deep);
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.quotes p {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.45;
}

.quotes footer span,
.quotes footer strong {
  display: block;
  font-size: 12px;
}

.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.about-grid img {
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin: 0 auto;
}

.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.process ol {
  list-style: none;
}

.process li {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(20px, 3vw, 28px);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.process li b {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 12px;
  margin-right: 18px;
}

.cta {
  background: var(--deep);
  color: var(--white);
  text-align: center;
}

.cta .eyebrow {
  color: var(--pale);
}

.cta p {
  max-width: 620px;
  margin: 20px auto 32px;
}

.site-footer {
  background: #1c3022;
  color: var(--white);
  padding: 44px 0;
}

.site-footer .shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.site-footer div div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer small {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
}

/* ==========================================================================
   7. PÁGINAS INTERNAS DE PROJETOS E PRIVACIDADE (RESPONSIVO)
   ========================================================================== */
.case-hero {
  padding: clamp(36px, 6vw, 70px) 0 28px;
}

.case-hero p {
  max-width: 680px;
}

.case-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--cream);
  margin-bottom: 36px;
}

.case-intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 24px;
  padding-bottom: 44px;
}

.case-intro h2,
.case-section h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(24px, 3.5vw, 34px);
  margin-bottom: 10px;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 18px;
  width: 100%;
}

.case-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--cream);
}

.case-gallery .wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.feed-comparison {
  padding: 24px 0 60px;
}

.feed-comparison > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}

.feed-comparison figure {
  margin: 0;
  background: #f7f1ea;
}

.feed-comparison figcaption {
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #10243a;
}

.case-nav {
  padding: 44px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.privacy {
  padding-block: clamp(40px, 6vw, 80px);
  max-width: 850px;
}

.privacy h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 28px;
  margin-top: 36px;
  margin-bottom: 10px;
}

.privacy-back {
  display: inline-block;
  margin-bottom: 30px;
}

/* ==========================================================================
   8. MEDIA QUERIES E BREAKPOINTS ESTRATÉGICOS
   ========================================================================== */

/* Telas Maiores que 768px (Tablets e Desktop) */
@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5vw;
  }

  .hero-portrait {
    margin: 0 0 0 auto;
  }

  .statement {
    grid-template-columns: 1fr 3fr;
    gap: 4vw;
  }

  .service-list article {
    grid-template-columns: 60px 1.2fr 1fr auto;
    gap: 24px;
  }

  .service-list p,
  .service-list a {
    grid-column: auto;
  }

  .project-stripe a {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
  }

  .project-stripe.reverse a {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .project-stripe.reverse .project-media {
    order: 2;
  }

  .about-grid,
  .process {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 6vw;
  }

  .site-footer .shell {
    grid-template-columns: 1fr 1fr;
  }
}

/* Telas Menores que 768px (Mobile) */
@media (max-width: 767px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: -16px;
    right: -16px;
    background: #f8f6f1;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  }

  .nav-links.open {
    display: flex;
  }

  .case-gallery img,
  .case-gallery .wide {
    aspect-ratio: auto;
    max-height: 460px;
    object-fit: contain;
  }
}

/* Acessibilidade para redução de movimento */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


