/* =====================================================================
   Camila Silva · Arquiteta — Landing Page
   Paleta oficial:
     Areia         #D3C7AD  papel / fundo
     Verde Opaco   #6B6751  apoio silencioso (tags, bordas)
     Terra Queimada#754437  AÇÃO — reservada, máx. 1 destaque por tela
     Azul          #28374A  texto / estrutura / seções escuras
   Regra: Azul + Areia ocupam ~80% de cada tela.
   Tipografia: Fraunces (display) + Hanken Grotesk (corpo).
   ===================================================================== */

/* ----------------------- Tokens ----------------------- */
:root {
  /* Paleta */
  --areia: #D3C7AD;
  --verde: #6B6751;
  --terra: #754437;
  --azul: #28374A;

  /* Derivadas (mesma família quente) */
  --paper: #EFE9DE;          /* fundo principal */
  --paper-2: #E7DFD0;        /* superfícies / cards */
  --areia-line: #C7B99C;     /* linhas sobre areia */
  --terra-hover: #613328;
  --azul-2: #22303F;         /* rodapé */
  --cream: #F5F1E8;          /* texto claro sobre escuro */
  --verde-soft: rgba(107, 103, 81, 0.22);

  --ink: var(--azul);
  --ink-soft: #4A5461;       /* texto secundário sobre claro (AA) */
  --verde-text: #55502F;     /* rótulos pequenos sobre claro — AA garantido (~6.7:1) */

  /* Tipografia */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Ritmo */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(84px, 12vw, 160px);
  --radius: 14px;
  --radius-sm: 8px;

  /* Sombra quente e discreta */
  --shadow: 0 30px 70px -34px rgba(40, 55, 74, 0.42);
  --shadow-sm: 0 14px 34px -20px rgba(40, 55, 74, 0.34);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 0, 0.2, 1);
}

/* ----------------------- Reset base ----------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font: inherit; }
:focus-visible { outline: 2.5px solid var(--terra); outline-offset: 3px; border-radius: 2px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--azul); color: var(--cream);
  padding: 10px 18px; border-radius: 0 0 8px 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ----------------------- Tipografia utilitária ----------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .76rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--terra);
}
.eyebrow::before {
  content: ""; width: 34px; height: 1px; background: currentColor; opacity: .55;
}
.eyebrow--light { color: var(--areia); }

.section { padding-block: var(--section-y); }

.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 76px); }
.section__title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 380;
  font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-top: 18px;
  color: var(--azul);
}
.section__title--light { color: var(--cream); }

/* ----------------------- Botões ----------------------- */
.btn {
  --btn-bg: var(--terra);
  --btn-fg: var(--cream);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: .95rem; font-weight: 500; letter-spacing: .01em;
  transition: transform .4s var(--ease), background-color .4s var(--ease),
              color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  will-change: transform;
}
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover { background: var(--terra-hover); transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(117,68,55,.7); }
.btn--ghost { background: transparent; color: var(--azul); border: 1px solid var(--areia-line); }
.btn--ghost:hover { background: var(--azul); color: var(--cream); border-color: var(--azul); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 18px;
  transition: background-color .45s var(--ease), box-shadow .45s var(--ease), padding .45s var(--ease);
}
.header.is-scrolled {
  background: rgba(239, 233, 222, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--areia-line);
  padding-block: 12px;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-body);
  font-weight: 600; font-size: 1.06rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--azul);
}
.brand__role {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: .82rem; letter-spacing: .04em;
  color: var(--terra); margin-top: 5px;
}
.brand--light .brand__name { color: var(--cream); }
.brand--light .brand__role { color: var(--areia); }

.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav__list { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav__link { position: relative; font-size: .96rem; font-weight: 400; color: var(--azul); padding-block: 6px; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--terra); transition: width .4s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__cta { padding: 11px 22px; font-size: .9rem; }

.menu-toggle { display: none; width: 44px; height: 44px; position: relative; z-index: 120; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--azul); transition: transform .4s var(--ease), opacity .25s var(--ease); }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   MEDIA — grading unificado + reveal autoral
   ============================================================ */
.media-grade { position: relative; overflow: hidden; }
.media-grade img { filter: contrast(1.05) saturate(0.97) brightness(1.005); }
/* véu quente sutil para unificar a temperatura das fotos */
.media-grade::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(160deg, rgba(117, 68, 55, 0.06), rgba(40, 55, 74, 0.10));
  mix-blend-mode: soft-light;
}

/* Reveal de imagem: "assenta" com leve zoom-out (não é fade-up) */
.reveal--media img {
  opacity: 0; transform: scale(1.14);
  transition: opacity 1s var(--ease-soft), transform 1.5s var(--ease);
}
.reveal--media.is-visible img { opacity: 1; transform: none; }

/* ============================================================
   HERO — split editorial, imagem retrato
   ============================================================ */
.hero { padding-top: clamp(128px, 20vh, 210px); padding-bottom: clamp(56px, 9vw, 104px); }
.hero__inner {
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(36px, 6vw, 88px); align-items: center;
}

.hero__top { display: flex; flex-direction: column; gap: 10px; margin-bottom: clamp(24px, 3vw, 34px); }
.hero__eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--terra); }
.hero__meta { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--verde-text); }

.hero__title {
  font-family: var(--font-display); font-optical-sizing: auto;
  font-weight: 340;
  font-size: clamp(2.7rem, 1.4rem + 4.6vw, 5.4rem);
  line-height: 1.0; letter-spacing: -0.022em;
  color: var(--azul);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span { display: block; transform: translateY(115%); }
body.is-loaded .hero__title .line > span { transform: none; transition: transform 1.05s var(--ease); }
.hero__title .line:nth-child(1) > span { transition-delay: .10s; }
.hero__title .line:nth-child(2) > span { transition-delay: .22s; }
.hero__title .line:nth-child(3) > span { transition-delay: .34s; }
.hero__title em { font-style: italic; font-weight: 340; color: var(--terra); }

.hero__sub { max-width: 42ch; margin-top: clamp(22px, 3vw, 32px); font-size: 1.1rem; color: var(--ink-soft); }
.hero__sub, .hero__actions, .hero__scroll { opacity: 0; transform: translateY(16px); }
body.is-loaded .hero__sub { opacity: 1; transform: none; transition: opacity .9s var(--ease) .5s, transform .9s var(--ease) .5s; }
body.is-loaded .hero__actions { opacity: 1; transform: none; transition: opacity .9s var(--ease) .62s, transform .9s var(--ease) .62s; }
body.is-loaded .hero__scroll { opacity: 1; transform: none; transition: opacity .9s var(--ease) .8s, transform .9s var(--ease) .8s; }

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: clamp(26px, 3vw, 38px); }

.hero__media {
  border-radius: var(--radius); box-shadow: var(--shadow);
  aspect-ratio: 4 / 5; align-self: stretch;
}
.hero__media .media__inner {
  position: absolute; inset: -6% 0; height: 112%;
  transform: translate3d(0, var(--py, 0), 0);
  will-change: transform;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__caption {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 18px; border-radius: 10px;
  background: rgba(40, 55, 74, 0.6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--cream); font-size: .82rem;
}
.hero__caption span:first-child { font-weight: 600; letter-spacing: .02em; }
.hero__caption span:last-child { opacity: .82; font-size: .76rem; }

.hero__scroll { display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(30px, 4vw, 46px); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--verde-text); }
.hero__scroll svg { animation: bob 2s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ============================================================
   SOBRE / FILOSOFIA
   ============================================================ */
.about__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__p { margin-top: 22px; font-size: 1.08rem; color: var(--ink-soft); max-width: 52ch; }
.about__signature { margin-top: 30px; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--terra); }

.about__aside { position: relative; }
.about__media { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__quote {
  position: relative; margin: -46px 0 0 auto; width: min(90%, 430px);
  background: var(--azul); color: var(--cream);
  padding: 30px 32px; border-radius: var(--radius); box-shadow: var(--shadow);
}
.about__quote p { font-family: var(--font-display); font-style: italic; font-weight: 340; font-size: 1.35rem; line-height: 1.3; }
.about__quote::before { content: "“"; position: absolute; top: -4px; left: 18px; font-family: var(--font-display); font-size: 4rem; color: var(--terra); line-height: 1; }

/* ============================================================
   NÚMEROS (banda escura #1)
   ============================================================ */
.stats { background: var(--azul); color: var(--cream); padding-block: clamp(68px, 9vw, 124px); }
.stats .eyebrow--light { margin-bottom: 46px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 4vw, 56px); }
.stat { border-top: 1px solid rgba(211, 199, 173, 0.3); padding-top: 22px; }
.stat__num {
  display: block; font-family: var(--font-display); font-weight: 320;
  font-size: clamp(3rem, 1.6rem + 4.4vw, 5.2rem); line-height: 1;
  letter-spacing: -0.02em; color: var(--areia); font-variant-numeric: tabular-nums;
}
.stat__label { display: block; margin-top: 12px; font-size: .95rem; letter-spacing: .02em; color: rgba(245, 241, 232, 0.76); }

/* ============================================================
   SERVIÇOS
   ============================================================ */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.service {
  background: var(--paper-2); border: 1px solid var(--verde-soft);
  border-radius: var(--radius); padding: 32px 28px 36px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .45s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--cream); }
.service__icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(117, 68, 55, 0.1); color: var(--terra); margin-bottom: 24px; }
.service__icon svg { width: 26px; height: 26px; }
.service__title { font-family: var(--font-display); font-weight: 420; font-size: 1.3rem; line-height: 1.15; color: var(--azul); margin-bottom: 12px; }
.service__text { font-size: .98rem; color: var(--ink-soft); }

/* ============================================================
   PROCESSO
   ============================================================ */
.process__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 2vw, 28px); }
.step { position: relative; padding-top: 30px; border-top: 1px solid var(--areia-line); }
.step__num { font-family: var(--font-display); font-weight: 340; font-style: italic; font-size: 1.5rem; color: var(--terra); display: block; margin-bottom: 14px; }
.step__title { font-size: 1.12rem; font-weight: 600; color: var(--azul); margin-bottom: 8px; letter-spacing: .01em; }
.step__text { font-size: .95rem; color: var(--ink-soft); }

/* ============================================================
   PROJETOS — orientação retrato + destaque split
   ============================================================ */
.projects__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(22px, 3vw, 44px); }

.project__media { display: block; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.project__media a { display: block; }
.project__media img { width: 100%; object-fit: cover; aspect-ratio: 4 / 5; transition: transform .9s var(--ease), opacity 1s var(--ease-soft); }
.project__media:hover img { transform: scale(1.05); }
/* escurecimento no hover (por cima do véu de grading) */
.project__media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(40,55,74,.3), transparent 45%); opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.project__media:hover::after { opacity: 1; }

.project__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--areia-line); }
.project__name { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 1rem + 1vw, 1.9rem); color: var(--azul); letter-spacing: -.01em; }
.project__info { font-size: .84rem; font-weight: 500; letter-spacing: .08em; color: var(--verde-text); text-transform: uppercase; }

/* Destaque: split imagem retrato + texto */
.project--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.project--featured .project__media { align-self: stretch; }
.project--featured .project__media img { aspect-ratio: 4 / 5; height: 100%; }
.project__body { max-width: 46ch; }
.project__index { font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--verde-text); }
.project__body .project__name { display: block; margin: 14px 0 10px; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem); }
.project__body .project__info { display: block; }
.project__desc { margin-top: 20px; font-size: 1.08rem; color: var(--ink-soft); }
.project__link { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-weight: 500; color: var(--terra); }
.project__link svg { transition: transform .4s var(--ease); }
.project__link:hover svg { transform: translateX(6px); }

.project__credits { margin-top: 14px; font-size: .8rem; color: var(--verde-text); letter-spacing: .01em; line-height: 1.5; }
.project--featured .project__credits { margin-top: 20px; font-size: .84rem; }

.projects__note { margin-top: clamp(40px, 5vw, 60px); font-size: 1.05rem; color: var(--ink-soft); }
.projects__note a { color: var(--terra); font-weight: 500; transition: opacity .3s var(--ease); }
.projects__note a:hover { opacity: .7; }

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.testimonials { background: var(--areia); }
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
.testi { background: var(--paper); border-radius: var(--radius); padding: 40px 32px 34px; box-shadow: var(--shadow-sm); }
.testi::before { content: "“"; font-family: var(--font-display); font-size: 3.4rem; color: var(--terra); line-height: 1; display: block; margin-bottom: 6px; }
.testi__quote { font-family: var(--font-display); font-weight: 340; font-style: italic; font-size: 1.22rem; line-height: 1.4; color: var(--azul); margin-bottom: 26px; }
.testi__author { font-size: .95rem; font-weight: 600; color: var(--azul); display: flex; flex-direction: column; gap: 3px; }
.testi__author span { font-weight: 500; font-style: normal; color: var(--verde-text); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

/* ============================================================
   CONTATO (banda escura #2)
   ============================================================ */
.contact { background: var(--azul); color: var(--cream); padding-block: var(--section-y); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact .section__title { margin-bottom: 20px; }
.contact__text { color: rgba(245, 241, 232, 0.8); font-size: 1.08rem; max-width: 44ch; }
.contact__info { margin-top: 40px; display: grid; gap: 22px; }
.contact__info li { display: flex; flex-direction: column; gap: 4px; }
.contact__label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--areia); }
.contact__info a, .contact__info li > span:last-child { font-size: 1.05rem; color: var(--cream); line-height: 1.5; transition: color .3s var(--ease); }
.contact__info a:hover { color: var(--areia); }

.contact__wpp { margin-top: 34px; }

.contact__card {
  background: rgba(245, 241, 232, 0.045);
  border: 1px solid rgba(211, 199, 173, 0.2);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px);
}
.contact__card .contact__info { margin-top: 0; }

.form { background: rgba(245, 241, 232, 0.045); border: 1px solid rgba(211, 199, 173, 0.2); border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field__label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--areia); }
.field__opt { text-transform: none; letter-spacing: 0; color: rgba(211,199,173,.66); }
.field__input { background: rgba(245, 241, 232, 0.06); border: 1px solid rgba(211, 199, 173, 0.24); border-radius: var(--radius-sm); padding: 13px 16px; color: var(--cream); transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.field__input::placeholder { color: rgba(245,241,232,.45); }
.field__input:focus { outline: none; border-color: var(--areia); background: rgba(245, 241, 232, 0.09); }
.field textarea.field__input { resize: vertical; min-height: 110px; }
.form .btn { margin-top: 6px; }
.form__status { font-size: .95rem; min-height: 1.2em; }
.form__status.is-ok { color: var(--areia); }
.form__status.is-err { color: #E8B4A4; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--azul-2); color: var(--cream); padding-top: clamp(56px, 8vw, 96px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(32px, 5vw, 72px); padding-bottom: clamp(40px, 6vw, 64px); border-bottom: 1px solid rgba(211, 199, 173, 0.18); }
.footer__tagline { margin-top: 20px; max-width: 34ch; color: rgba(245,241,232,.72); font-size: .98rem; }
.footer__cau { margin-top: 14px; font-size: .82rem; letter-spacing: .08em; color: var(--areia); }
.footer__title { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--areia); margin-bottom: 18px; font-weight: 600; }
.footer__col ul { display: grid; gap: 12px; }
.footer__col a { color: rgba(245,241,232,.84); font-size: .98rem; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--areia); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px; font-size: .84rem; color: rgba(245,241,232,.62); }

/* ============================================================
   REVEAL — texto (sutil, não é "AOS slop")
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-soft), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVO — decisões próprias para tablet/telefone
   ============================================================ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: clamp(32px, 6vw, 48px); }
  .hero__media { aspect-ratio: 16 / 12; max-height: 62vh; }
  .about__grid { grid-template-columns: 1fr; }
  .about__aside { max-width: 520px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .process__list { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .project--featured { grid-template-columns: 1fr; }
  .testi__grid { grid-template-columns: 1fr; max-width: 640px; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  /* Menu mobile */
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 360px);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 30px; padding: 44px;
    background: var(--paper); box-shadow: -20px 0 60px -30px rgba(40,55,74,.5);
    transform: translateX(100%); transition: transform .5s var(--ease);
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 22px; }
  .nav__link { font-size: 1.6rem; font-family: var(--font-display); }
  .nav__cta { align-self: flex-start; }
  .menu-toggle { display: block; }
  body.nav-lock { overflow: hidden; }

  /* Hero desenhado para o telefone: imagem full-bleed, título maior */
  .hero { padding-top: 108px; }
  .hero__title { font-size: clamp(2.6rem, 9vw, 3.6rem); }
  .hero__media {
    width: 100vw; margin-left: calc(50% - 50vw); border-radius: 0;
    aspect-ratio: 3 / 4; max-height: 78vh; box-shadow: none;
  }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; }

  /* Projetos: cartão-galeria, meta sobre a imagem no telefone */
  .projects__grid { grid-template-columns: 1fr; gap: 40px; }
  .project--featured .project__body { max-width: none; }

  .footer__bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 460px) {
  .stats__grid { grid-template-columns: 1fr; row-gap: 30px; }
  .services__grid { grid-template-columns: 1fr; }
  .process__list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MOVIMENTO REDUZIDO
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0ms !important;
  }
  .reveal, .reveal--media img { opacity: 1 !important; transform: none !important; }
  .hero__title .line > span, .hero__sub, .hero__actions, .hero__scroll { opacity: 1 !important; transform: none !important; }
  .hero__media .media__inner { transform: none !important; }
  .hero__scroll svg { animation: none; }
}
