/* ===================================================================
   FLORESTi Construtora — LP Alto Padrão
   Mobile-first · Ampliza-style hero · Gallery lightbox
   =================================================================== */

/* --- TOKENS --- */
:root {
  --bg: #FBFAF7;
  --bg-alt: #F1ECE3;
  --surface: #FFFFFF;
  --ink: #211E1A;
  --ink-soft: #5C574F;
  --ink-mute: #978F82;
  --line: rgba(33, 30, 26, 0.10);
  --wood: #957561;
  --wood-deep: #6B5040;
  --green: #0D362E;
  --shadow: 0 18px 60px rgba(33, 30, 26, 0.12);
  --shadow-sm: 0 6px 24px rgba(33, 30, 26, 0.08);
  --pad: clamp(4rem, 11vw, 11rem);
  --maxw: 1180px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* --- RESET --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* --- LAYOUT --- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 5vw, 3rem);
}

/* --- TYPOGRAPHY --- */
.display {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: clamp(1.75rem, 4.2vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.eyebrow {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--wood);
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--wood);
  opacity: .6;
}
.lead {
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  color: var(--ink-soft);
  line-height: 1.65;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 1.05rem 2.3rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all .45s var(--ease);
  border: 1px solid transparent;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--wood); color: #fff; }
.btn-primary:hover {
  background: var(--wood-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }

.link {
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: border-color .45s var(--ease);
}
.link:hover { border-color: var(--wood); }

/* --- SECTIONS --- */
section { padding: var(--pad) 0; }

/* --- ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(7px);
  transition:
    opacity 1s var(--ease) var(--d, 0ms),
    transform 1s var(--ease) var(--d, 0ms),
    filter 1s ease var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal-r {
  opacity: 0;
  transform: translateX(34px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal-r.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-r {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* --- MOBILE/DESKTOP BREAKS --- */
.mobile-break { display: none; }
.desktop-break { display: none; }
@media (max-width: 680px) {
  .mobile-break { display: block; }
}
@media (min-width: 881px) {
  .desktop-break { display: inline; }
}

/* =================================================================
   NAV
   ================================================================= */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease;
}
nav.scrolled {
  background: rgba(251, 250, 247, 0.95);
  border-color: var(--line);
  box-shadow: 0 4px 24px rgba(33, 30, 26, 0.05);
}
/* Nav text starts white on hero, then dark on scroll */
nav .brand,
nav .nav-region,
nav .nav-cta {
  transition: color .4s ease, background .4s ease;
}
nav:not(.scrolled) .brand { color: #fff; }
nav:not(.scrolled) .brand small { color: rgba(255,255,255,0.6); }
nav:not(.scrolled) .nav-region { color: rgba(255,255,255,0.7); }
nav:not(.scrolled) .nav-cta {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
}
nav:not(.scrolled) .nav-cta:hover {
  background: rgba(255,255,255,0.25);
}
nav.scrolled .brand { color: var(--ink); }
nav.scrolled .brand small { color: var(--ink-mute); }
nav.scrolled .nav-region { color: var(--ink-mute); }
nav.scrolled .nav-cta { background: var(--wood); color: #fff; }
nav.scrolled .nav-cta:hover { background: var(--wood-deep); }

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: .01em;
}
.brand small {
  font-weight: 400;
  font-size: .62rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  display: block;
  margin-top: -2px;
}
.nav-r { display: flex; align-items: center; gap: 1.8rem; }
.nav-region { font-size: .85rem; }
.nav-cta {
  font-size: .85rem;
  font-weight: 500;
  color: #fff;
  padding: .62rem 1.35rem;
  border-radius: 100px;
}

@media (max-width: 680px) {
  .nav-region { display: none; }
  .nav-in { height: 62px; }
}

/* =================================================================
   HERO — Ampliza full-bleed
   ================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.05);
  transition: transform 1.8s var(--ease);
  will-change: transform;
}
.hero-bg-img.loaded {
  transform: scale(1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 54, 46, 0.25) 0%,
    rgba(13, 54, 46, 0.35) 30%,
    rgba(13, 54, 46, 0.55) 60%,
    rgba(13, 54, 46, 0.78) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 100px;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100dvh;
}
.hero-top {
  padding-top: 1rem;
}
.hero-bottom {
  max-width: 800px;
}

/* Light variants for hero */
.eyebrow--light { color: rgba(255,255,255,0.7); }
.eyebrow--light::before { background: rgba(255,255,255,0.5); }
.lead--light { color: rgba(255,255,255,0.82); }
.link--light {
  color: rgba(255,255,255,0.9);
  border-bottom-color: rgba(255,255,255,0.3);
}
.link--light:hover { border-bottom-color: rgba(255,255,255,0.7); }

.hero h1 {
  font-size: clamp(2.2rem, 6.4vw, 4.8rem);
  color: #fff;
  text-align: left;
}
.hero-emphasis {
  display: block;
  font-weight: 500;
  font-size: clamp(2.8rem, 8vw, 6.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-top: 0.15em;
  background: linear-gradient(135deg, #fff 60%, var(--wood) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .lead--light {
  max-width: 52ch;
  margin-top: 1.5rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

@media (max-width: 680px) {
  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
  .hero-emphasis {
    font-size: clamp(2.6rem, 10vw, 3.6rem);
  }
  .hero .lead--light {
    font-size: 1rem;
    line-height: 1.6;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =================================================================
   STATEMENT
   ================================================================= */
.statement { text-align: center; }
.statement .h2 { max-width: 22ch; margin: 1.4rem auto 0; }
.statement .lead { max-width: 60ch; margin: 2rem auto 0; }
.diff-img {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16/9;
}
.diff-cap {
  text-align: center;
  color: var(--ink-mute);
  font-size: .85rem;
  margin-top: 1.2rem;
  font-style: italic;
}

/* =================================================================
   MATERIAIS
   ================================================================= */
.mat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 880px) {
  .mat-grid {
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(3rem, 6vw, 6rem);
  }
}
.mat-text .h2 { margin-top: 1.4rem; }
.mat-text .lead { margin-top: 1.6rem; }
.mat-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3/4;
}
.mat-img img { transition: transform 1s var(--ease); }
.mat-img:hover img { transform: scale(1.05); }

/* =================================================================
   CASAS ENTREGUES — PROJECTS GRID + GALLERY
   ================================================================= */
.port { background: var(--bg-alt); }
.port-head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.port-head .h2 { margin-top: 1.4rem; }
.port-head .lead { margin: 1.2rem auto 0; max-width: 46ch; }

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
}
@media (min-width: 880px) {
  .projects-grid { grid-template-columns: repeat(4, 1fr); }
}

.project-card {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.project-cover {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 3/4;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.project-cover img {
  transition: transform 1s var(--ease);
}
.project-card:hover .project-cover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.project-card:hover .project-cover img {
  transform: scale(1.07);
}
.project-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13,54,46,0.65) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.2rem;
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.project-card:hover .project-cover-overlay { opacity: 1; }
.project-tag {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: .5rem 1.2rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.25);
}
.project-info {
  padding: .9rem .2rem .4rem;
}
.project-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: clamp(.9rem, 1.2vw, 1.1rem);
  color: var(--ink);
}
.project-meta {
  font-size: .78rem;
  color: var(--ink-mute);
  margin-top: .15rem;
}

/* mobile: show overlay always on touch */
@media (hover: none) {
  .project-cover-overlay { opacity: 1; }
}

/* =================================================================
   GALLERY LIGHTBOX
   ================================================================= */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.gallery-lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 54, 46, 0.92);
  backdrop-filter: blur(16px);
}
.gallery-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  padding: 1rem;
}
.gallery-close {
  position: absolute;
  top: -2rem;
  right: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 2.4rem;
  cursor: pointer;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .3s;
}
.gallery-close:hover { color: #fff; }
.gallery-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0 .5rem;
}
.gallery-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
  color: #fff;
}
.gallery-counter {
  font-size: .85rem;
  color: rgba(255,255,255,0.5);
}
.gallery-track {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 16/10;
  background: rgba(0,0,0,0.3);
}
.gallery-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .5s ease;
}
.gallery-track img.active {
  opacity: 1;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s;
  -webkit-tap-highlight-color: transparent;
}
.gallery-nav:hover { background: rgba(255,255,255,0.2); }
.gallery-prev { left: -60px; }
.gallery-next { right: -60px; }
.gallery-dots {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin-top: 1rem;
}
.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: background .3s, transform .3s;
  -webkit-tap-highlight-color: transparent;
}
.gallery-dot.active {
  background: #fff;
  transform: scale(1.3);
}

@media (max-width: 960px) {
  .gallery-prev { left: .5rem; }
  .gallery-next { right: .5rem; }
  .gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  .gallery-container { padding: .5rem; }
  .gallery-close {
    top: -1.5rem;
    right: .5rem;
  }
  .gallery-track {
    aspect-ratio: 4/3;
  }
}

/* Touch swipe hint */
@media (hover: none) {
  .gallery-nav { display: none; }
}

/* =================================================================
   COMO TRABALHAMOS
   ================================================================= */
.care .h2 { margin-top: 1.4rem; }
.care .lead { margin-top: 1.6rem; max-width: 52ch; }
.steps { margin-top: 3rem; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.6rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step .n {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 1.3rem;
  color: var(--wood);
}
.step h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: .25rem;
}
.step p { color: var(--ink-soft); font-size: .96rem; }

/* =================================================================
   QUOTE
   ================================================================= */
.quote { background: var(--bg-alt); text-align: center; }
.quote blockquote {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 26ch;
  margin: 0 auto;
  color: var(--ink);
}
.quote cite {
  display: block;
  margin-top: 1.8rem;
  font-style: normal;
  color: var(--ink-mute);
  font-size: .9rem;
  letter-spacing: .04em;
}

/* =================================================================
   FINAL CTA — full-bleed hero style
   ================================================================= */
.final-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.final-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.final-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.final-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 54, 46, 0.82) 0%,
    rgba(13, 54, 46, 0.65) 50%,
    rgba(107, 80, 64, 0.55) 100%
  );
  z-index: 1;
}
.final-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
@media (min-width: 880px) {
  .final-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 5vw, 5rem);
  }
}
.final-hero-content {
  max-width: 700px;
}
.final-hero-h2 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-top: 1.2rem;
}
.final-emphasis {
  display: block;
  font-weight: 500;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-top: 0.1em;
  background: linear-gradient(135deg, #fff 50%, var(--wood) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.final-hero .lead--light {
  margin-top: 1.5rem;
  max-width: 44ch;
}
.final-actions {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.btn-light {
  background: #fff;
  color: var(--green);
  font-weight: 500;
}
.btn-light:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.final-micro {
  font-size: .82rem;
  letter-spacing: .04em;
}
.final-micro--light {
  color: rgba(255,255,255,0.6);
}

@media (max-width: 680px) {
  .final-hero { min-height: auto; }
  .final-hero-content { max-width: 100%; }
  .final-actions { align-items: stretch; }
  .final-actions .btn { width: 100%; justify-content: center; }
}

/* --- CONTACT FORM --- */
.contact-form {
  background: rgba(255,255,255,0.97);
  border-radius: 20px;
  padding: clamp(1.8rem, 3vw, 2.5rem);
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.form-group label {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.form-group input,
.form-group textarea {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--wood);
  box-shadow: 0 0 0 3px rgba(149,117,97,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--ink-mute);
  opacity: .6;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}
.btn-submit {
  width: 100%;
  justify-content: center;
  margin-top: .4rem;
  padding: 1.1rem 2rem;
  font-size: 1.05rem;
  background: var(--green);
  color: #fff;
}
.btn-submit:hover {
  background: #0a2d26;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(13,54,46,0.3);
}
.form-success {
  text-align: center;
  padding: 2rem 1rem;
}
.form-success-icon {
  font-size: 2.5rem;
  color: var(--green);
  margin-bottom: .5rem;
}
.form-success-text {
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.5;
}

/* --- WHATSAPP FLOAT --- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform .3s var(--ease), box-shadow .3s;
  -webkit-tap-highlight-color: transparent;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}
@media (max-width: 680px) {
  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
    width: 52px;
    height: 52px;
  }
}

/* =================================================================
   FOOTER
   ================================================================= */
footer { background: var(--green); color: rgba(233, 232, 232, 0.82); }
.foot-in {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 4.5rem 0 2rem;
  flex-wrap: wrap;
}
.foot-brand .brand { color: #E9E8E8; }
.foot-brand .brand small { color: rgba(233, 232, 232, 0.55); }
.foot-col h5 {
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(233, 232, 232, 0.5);
  margin-bottom: .9rem;
  font-weight: 500;
}
.foot-col a, .foot-col p {
  display: block;
  font-size: .9rem;
  color: rgba(233, 232, 232, 0.8);
  margin-bottom: .4rem;
}
.foot-bottom {
  border-top: 1px solid rgba(233, 232, 232, 0.12);
  padding: 1.4rem 0;
  font-size: .74rem;
  color: rgba(233, 232, 232, 0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem;
}

/* =================================================================
   GLOBAL MOBILE REFINEMENTS
   ================================================================= */
@media (max-width: 680px) {
  :root { --pad: clamp(3.5rem, 10vw, 5rem); }

  .h2 {
    font-size: clamp(1.65rem, 6vw, 2.2rem);
  }
  .lead {
    font-size: 1rem;
    line-height: 1.6;
  }
  .statement .h2 {
    max-width: 100%;
    text-align: left;
  }
  .statement { text-align: left; }
  .statement .lead { text-align: left; }
  .diff-img { aspect-ratio: 4/3; border-radius: 16px; }
  .mat-img { aspect-ratio: 1/1; border-radius: 16px; }

  .projects-grid {
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
  }
  .project-cover {
    border-radius: 14px;
    aspect-ratio: 3/4;
  }
  .project-name { font-size: .85rem; }
  .project-meta { font-size: .72rem; }

  .steps { gap: 0; }
  .step { gap: 1rem; padding: 1.2rem 0; }
  .step .n { font-size: 1.1rem; }
  .step h4 { font-size: 1rem; }
  .step p { font-size: .9rem; }

  .foot-in {
    flex-direction: column;
    gap: 2rem;
    padding: 3rem 0 1.5rem;
  }
}

/* Tablet */
@media (min-width: 681px) and (max-width: 880px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .mat-grid { grid-template-columns: 1fr; }
}
