/* ============================================================
   Cleveroption — site recreation (static)
   Faithful port of the Next.js site. Colors/layout from source;
   Mona Sans loaded via the design system's colors_and_type.css.
   ============================================================ */

:root {
  --navy: #002847;
  --navy-deep: #001d35;   /* footer */
  --offwhite: #f5f5f3;    /* light bands */
  --border: #e8e6e1;      /* hairline borders */
  --muted: #6b6b6b;       /* secondary text */
  --ink: #1a1a1a;
  --green: #1a4a2e;       /* "concluído" accent */
  --maxw: 1200px;
  --font: "Mona Sans", Verdana, sans-serif;
  --ui: "Inter", "Mona Sans", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ── Overline / labels ─────────────────────────────────── */
.overline {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.overline.on-dark { color: rgba(255,255,255,0.4); }
.ui { font-family: var(--ui); }

/* ── Headings ──────────────────────────────────────────── */
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; text-wrap: pretty; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.btn-light { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover, .btn-light:hover { opacity: 0.9; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 8px 20px; font-size: 13px; font-weight: 600; }

/* ── Status badge ──────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-radius: 2px;
  background: transparent;
  border: 1px solid var(--navy);
  color: var(--navy);
}
.badge.concluido { border-color: var(--green); color: var(--green); }
.badge.projeto { border-color: #9b9b9b; color: #9b9b9b; }

/* ── Header ────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.dark { background: transparent; border-bottom-color: transparent; }
.site-header.scrolled { background: var(--navy) !important; border-bottom-color: transparent !important; box-shadow: 0 4px 24px rgba(0,28,55,0.18); }
.site-header .bar {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: 96px; display: flex; align-items: center; justify-content: space-between;
  transition: height 0.3s ease;
}
.site-header.scrolled .bar { height: 60px; }
.site-header .logo img { height: 104px; width: auto; transition: height 0.3s ease, width 0.3s ease; }
.site-header.scrolled .logo img { height: 52px; }
.site-header.scrolled .site-nav a.navlink { color: #fff; }
.site-header.scrolled .cta-pill { background: #fff; color: var(--navy); }
.site-header.scrolled .burger { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a.navlink {
  color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 500;
}
.site-header.dark .site-nav a.navlink { color: #fff; }

.dropdown { position: relative; }
.dropdown > a { display: flex; align-items: center; gap: 4px; }
.dropmenu {
  position: absolute; top: 100%; left: 0; padding-top: 8px; min-width: 240px;
  z-index: 200; opacity: 0; visibility: hidden; transition: opacity 0.15s ease;
}
.dropdown:hover .dropmenu { opacity: 1; visibility: visible; }
.dropmenu-inner {
  background: #fff; border: 1px solid var(--border); border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1); overflow: hidden;
}
.dropmenu-inner a { display: block; padding: 12px 16px; color: var(--navy); text-decoration: none; }
.dropmenu-inner a.head {
  font-family: var(--ui); font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 2px solid var(--border);
}
.dropmenu-inner a.dev { font-size: 14px; border-bottom: 1px solid #f0f0f0; }
.dropmenu-inner a.dev .nm { font-weight: 600; }
.dropmenu-inner a.dev .meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.dropmenu-inner a:hover { background: var(--offwhite); }

.cta-pill {
  background: var(--navy); color: #fff; padding: 8px 20px; text-decoration: none;
  font-size: 13px; font-weight: 600; border-radius: 2px; letter-spacing: 0.01em;
}
.site-header.dark .cta-pill { background: #fff; color: var(--navy); }

.burger { display: none; background: none; border: none; cursor: pointer; font-size: 22px; color: var(--navy); }
.site-header.dark .burger { color: #fff; }

.mobile-menu { display: none; background: var(--navy); border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 24px 24px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; color: #fff; text-decoration: none; font-size: 15px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu a.sub { color: rgba(255,255,255,0.7); font-size: 13px; padding: 8px 0 8px 16px; }
.mobile-menu a.pill { display: inline-block; margin-top: 16px; background: #fff; color: var(--navy); padding: 10px 24px; font-weight: 700; font-size: 13px; border-radius: 2px; border: none; }

@media (max-width: 768px) {
  .site-nav { display: none; }
  .burger { display: block; }
}

/* ── Sections ──────────────────────────────────────────── */
.sec { padding: 96px 24px; }
.sec-navy { background: var(--navy); color: #fff; }
.sec-light { background: var(--offwhite); }

/* ── Stat band ─────────────────────────────────────────── */
.stat-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 48px;
}
.stat { text-align: center; }
.stat .v { font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: var(--navy); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 8px; }
.sec-navy .stat .v { color: #fff; }
.stat .l { font-size: 13px; color: var(--muted); font-family: var(--ui); line-height: 1.5; }

/* ── Cards (portfolio) ─────────────────────────────────── */
.card-grid { display: grid; gap: 32px; }
.dev-card {
  display: block; text-decoration: none; border: 1px solid var(--border); border-radius: 2px;
  overflow: hidden; background: #fff; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.dev-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,40,71,0.14); }
.dev-card .thumb { position: relative; overflow: hidden; background: var(--offwhite); }
.dev-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.dev-card .body { padding: 20px 20px 24px; }
.dev-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin: 10px 0 4px; line-height: 1.3; }
.dev-card .sub { font-size: 13px; color: var(--muted); font-family: var(--ui); margin: 0 0 16px; }
.dev-card .more { font-size: 13px; color: var(--navy); font-weight: 600; }

/* ── Footer ────────────────────────────────────────────── */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding: 64px 24px 32px; }
.site-footer .cols {
  max-width: var(--maxw); margin: 0 auto 48px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 48px;
}
.site-footer img.flogo { height: 80px; width: auto; margin-bottom: 16px; }
.site-footer .ftag { font-size: 13px; line-height: 1.7; margin: 0; }
.site-footer .social { margin-top: 16px; display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer .social a { color: rgba(255,255,255,0.5); font-size: 12px; text-decoration: none; }
.site-footer .fhead { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; font-family: var(--ui); }
.site-footer .cols a.flink { display: block; color: rgba(255,255,255,0.7); text-decoration: none; font-size: 13px; margin-bottom: 8px; }
.site-footer p.fline { font-size: 13px; margin: 0 0 8px; line-height: 1.6; }
.site-footer p.fline a { color: rgba(255,255,255,0.7); text-decoration: none; }
.site-footer .fdisclaimer {
  max-width: var(--maxw); margin: 40px auto 0; border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px; font-size: 11px; line-height: 1.7; color: rgba(255,255,255,0.4);
}
.site-footer .fbottom {
  max-width: var(--maxw); margin: 0 auto; padding-top: 16px; font-size: 12px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px; color: rgba(255,255,255,0.4);
}
.site-footer .fbottom a.flink { display: inline; color: rgba(255,255,255,0.6); text-decoration: none; font-size: 12px; margin: 0; }

/* ── Lead hero (two-column, light) ─────────────────────── */
.lead-hero { padding: 72px 24px 88px; background: #fff; }
.lead-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.lead-hero-text .overline { margin-bottom: 20px; }
.lead-hero-text h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 700; color: var(--navy); line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 24px; }
.lead-hero-lede { font-size: 17px; color: var(--muted); line-height: 1.8; max-width: 520px; margin: 0 0 36px; }
.lead-hero-media { position: relative; border-radius: 5px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--offwhite); border: 1px solid var(--border); }
.lead-hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .lead-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .lead-hero-media { aspect-ratio: 16 / 11; }
}

/* ── Project cards (Os nossos empreendimentos) ─────────── */
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.sec-head-link { font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--navy); padding-bottom: 2px; white-space: nowrap; }
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.proj-card { display: block; text-decoration: none; border: 1px solid var(--border); border-radius: 5px; overflow: hidden; background: #fff; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.proj-card:hover { transform: translateY(-5px); box-shadow: 0 20px 46px rgba(0,40,71,0.13); }
.proj-img { position: relative; height: 240px; overflow: hidden; background: var(--offwhite); }
.proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.proj-card:hover .proj-img img { transform: scale(1.04); }
.proj-badge { position: absolute; top: 14px; left: 14px; }
.proj-info { padding: 24px 24px 26px; }
.proj-info h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin: 0 0 18px; letter-spacing: -0.02em; line-height: 1.25; }
.proj-meta { margin: 0; display: flex; flex-direction: column; }
.proj-meta > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-top: 1px solid var(--border); }
.proj-meta dt { font-family: var(--ui); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.proj-meta dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--navy); text-align: right; }

/* ── Full-bleed image bands ────────────────────────────── */
.band { position: relative; padding: 110px 24px; background-size: cover; background-position: center; }
.band-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,28,55,0.86) 0%, rgba(0,28,55,0.62) 60%, rgba(0,28,55,0.5) 100%); }
.band-inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.band-inner.center { text-align: center; }
.band-inner h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 700; color: #fff; letter-spacing: -0.03em; line-height: 1.12; margin: 0 0 16px; max-width: 640px; }
.band-inner.center h2 { margin-left: auto; margin-right: auto; }
.band-inner p { font-size: 16px; color: rgba(255,255,255,0.72); line-height: 1.7; max-width: 480px; margin: 0 0 32px; }
.band-inner.center p { margin-left: auto; margin-right: auto; }

/* ── Section titles ────────────────────────────────────── */
.page-title { font-size: clamp(32px, 5vw, 56px); font-weight: 700; color: #fff; line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 16px; }
.page-lede { font-size: 16px; color: rgba(255,255,255,0.6); max-width: 560px; line-height: 1.7; margin: 0; }
.sec-title { font-size: clamp(28px, 4vw, 44px); font-weight: 700; color: var(--navy); line-height: 1.15; }
.sec-navy .sec-title { color: #fff; }

/* ── Home hero ─────────────────────────────────────────── */
.home-hero { position: relative; min-height: 100vh; margin-top: -96px; padding-top: calc(96px + 80px); display: flex; align-items: center; justify-content: center; padding-bottom: 80px; padding-left: 24px; padding-right: 24px; overflow: hidden; }
.home-hero-bg { position: absolute; inset: -20% 0; background-image: url(images/hero-luxor.jpg); background-size: cover; background-position: center; will-change: transform; }
.home-hero-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,28,55,0.18) 0%, rgba(0,28,55,0.40) 100%); }
.home-hero-inner { position: relative; max-width: 800px; text-align: center; }
.hero-overline { font-family: var(--ui); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 0 0 24px; }
.hero-title { font-size: clamp(36px, 6vw, 72px); font-weight: 700; color: #fff; line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 24px; }
.hero-lede { font-size: 18px; color: rgba(255,255,255,0.65); line-height: 1.7; max-width: 560px; margin: 0 auto 40px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── About (home) ──────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 64px; align-items: start; }
.about-h { font-size: clamp(26px, 3.5vw, 40px); font-weight: 700; color: #fff; line-height: 1.2; margin: 0 0 24px; }
.about-p { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.8; margin: 0 0 32px; }
.about-link { color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 2px; }
.about-blocks { display: flex; flex-direction: column; gap: 32px; }
.about-block { border-left: 2px solid rgba(255,255,255,0.2); padding-left: 24px; }
.about-block h3 { font-size: 16px; font-weight: 700; color: #fff; margin: 0 0 8px; }
.about-block p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; margin: 0; }

/* ── CTA band ──────────────────────────────────────────── */
.cta-title { font-size: clamp(28px, 4vw, 48px); font-weight: 700; color: #fff; line-height: 1.15; margin: 0 0 16px; }
.cta-lede { font-size: 16px; color: rgba(255,255,255,0.6); max-width: 480px; margin: 0 auto 40px; line-height: 1.7; }

/* ── Lightbox ──────────────────────────────────────────── */
.lb-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0, 0, 0, 0.93);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.lb-overlay.open { opacity: 1; visibility: visible; }
.lb-img {
  max-width: 92vw; max-height: 88vh; object-fit: contain;
  border-radius: 2px; box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  transform: scale(0.94); transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
  user-select: none; -webkit-user-drag: none;
}
.lb-overlay.open .lb-img { transform: scale(1); }
.lb-close {
  position: fixed; top: 20px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 20px; cursor: pointer; z-index: 9001;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lb-close:hover { background: rgba(255,255,255,0.25); }
.lb-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 24px; cursor: pointer; z-index: 9001;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; user-select: none;
}
.lb-nav:hover { background: rgba(255,255,255,0.25); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-counter {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  font-family: var(--ui); font-size: 12px; color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em; z-index: 9001; pointer-events: none;
}
@media (max-width: 560px) {
  .lb-nav { width: 38px; height: 38px; font-size: 20px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}

/* ── Development detail page ───────────────────────────── */
.crumb { max-width: var(--maxw); margin: 0 auto; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.crumb a { color: var(--muted); text-decoration: none; font-size: 13px; font-family: var(--ui); }
.crumb a:hover { color: var(--navy); }

.dev-hero { position: relative; height: clamp(420px, 60vh, 680px); overflow: hidden; }
.dev-hero img { width: 100%; height: 100%; object-fit: cover; }
.dev-hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,20,40,0.85) 0%, rgba(0,20,40,0.4) 50%, transparent 100%); }
.dev-hero-text { position: absolute; bottom: 0; left: 0; right: 0; }
.dev-hero-text .inner { max-width: var(--maxw); margin: 0 auto; padding: 48px 24px; }
.pill-hero { display: inline-block; padding: 4px 14px; font-family: var(--ui); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; border-radius: 2px; background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.dev-hero h1 { font-size: clamp(28px, 5vw, 56px); font-weight: 700; color: #fff; line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 8px; }
.dev-hero .tagline { font-size: 16px; color: rgba(255,255,255,0.75); margin: 0; }

.dev-stats { background: var(--navy); }
.dev-stats .grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.dev-stats .cell { padding: 24px 28px; border-right: 1px solid rgba(255,255,255,0.1); }
.dev-stats .cell:last-child { border-right: none; }
.dev-stats .k { font-family: var(--ui); font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 6px; }
.dev-stats .vv { font-size: 15px; font-weight: 600; color: #fff; line-height: 1.4; }

.concept-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 64px; align-items: center; }
.concept-grid h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; color: var(--navy); line-height: 1.2; margin: 0 0 20px; }
.concept-grid .lead { font-size: 15px; color: #3a3a3a; line-height: 1.85; margin: 0 0 24px; }
.concept-meta { font-size: 13px; color: var(--muted); font-family: var(--ui); display: flex; gap: 24px; flex-wrap: wrap; }
.concept-meta strong { color: var(--navy); }
.concept-img { position: relative; height: 380px; border-radius: 2px; overflow: hidden; }
.concept-img img { width: 100%; height: 100%; object-fit: cover; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.gallery-grid .g { position: relative; height: 220px; border-radius: 2px; overflow: hidden; }
.gallery-grid .g img { width: 100%; height: 100%; object-fit: cover; }

.typ-table { width: 100%; border-collapse: collapse; border: 1px solid var(--border); }
.typ-table th { padding: 12px 16px; text-align: left; font-family: var(--ui); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: var(--navy); }
.typ-table td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--border); color: var(--ink); }
.typ-table tr.alt td { background: #fafaf9; }
.typ-table tr.total td { font-weight: 700; border-bottom: none; background: var(--offwhite); }
.typ-note { margin-top: 12px; font-size: 12px; color: var(--muted); font-style: italic; }
.typ-scroll { overflow-x: auto; }

.constr-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.constr-photos img { width: 100%; height: 220px; object-fit: cover; border-radius: 2px; border: 1px solid rgba(255,255,255,0.1); }

/* ── Contact page ──────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 64px; align-items: start; }
.contact-info { background: var(--navy); border-radius: 2px; padding: 48px 40px; }
.ci-item { margin-bottom: 28px; }
.ci-label { font-family: var(--ui); font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 6px; }
.ci-value { font-size: 15px; color: #fff; text-decoration: none; line-height: 1.6; }
a.ci-value:hover { text-decoration: underline; }
.ci-social { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; margin-top: 8px; }
.ci-social a { font-size: 13px; color: rgba(255,255,255,0.6); text-decoration: none; }
.ci-social a:hover { color: #fff; }

.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 20px; }
.field label { display: block; font-size: 12px; font-weight: 500; color: #3a3a3a; margin-bottom: 6px; font-family: var(--ui); letter-spacing: 0.02em; }
.field input, .field textarea, .field .select {
  width: 100%; padding: 12px 14px; font-size: 14px; border: 1px solid var(--border);
  border-radius: 2px; font-family: var(--font); color: var(--ink); background: #fff; outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field .select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23002847' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field input:focus, .field textarea:focus, .field .select:focus { border-color: var(--navy); }
.req { color: #c00; }
.gdpr { margin-bottom: 28px; display: flex; align-items: flex-start; gap: 10px; }
.gdpr input { margin-top: 3px; flex-shrink: 0; accent-color: var(--navy); width: 16px; height: 16px; }
.gdpr label { font-size: 13px; color: var(--muted); line-height: 1.6; cursor: pointer; }
.form-submit { background: var(--navy); color: #fff; padding: 14px 36px; font-size: 14px; font-weight: 700; border: none; border-radius: 2px; cursor: pointer; font-family: var(--font); letter-spacing: 0.01em; transition: opacity 0.2s; }
.form-submit:hover { opacity: 0.9; }
.form-submit:disabled { background: #6b7f8f; cursor: not-allowed; }
.form-alert { display: none; border-radius: 2px; padding: 16px 20px; margin-bottom: 24px; font-size: 14px; }
.form-alert.show { display: block; }
.form-alert.success { background: #e8f5e9; border: 1px solid #a5d6a7; color: var(--green); }

/* ── About page: timeline / values / track ─────────────── */
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 56px; top: 0; bottom: 0; width: 1px; background: var(--border); }
.tl-row { display: grid; grid-template-columns: 112px 1fr; gap: 40px; padding-bottom: 48px; align-items: start; }
.tl-year { text-align: right; padding-right: 24px; padding-top: 4px; position: relative; }
.tl-year span { font-size: 13px; font-weight: 700; color: var(--navy); font-family: var(--ui); }
.tl-dot { position: absolute; right: -6px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); border: 2px solid #fff; z-index: 1; }
.tl-body h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin: 0 0 8px; letter-spacing: -0.01em; }
.tl-body p { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 0; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.value-card { padding: 40px 36px; background: var(--offwhite); border-radius: 2px; border-top: 3px solid var(--navy); }
.value-num { font-family: var(--ui); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); margin-bottom: 16px; }
.value-card h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin: 0 0 12px; }
.value-card p { font-size: 14px; color: var(--muted); line-height: 1.75; margin: 0; }

.track-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.track-item { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 2px; padding: 14px 20px; font-size: 13px; color: rgba(255,255,255,0.8); font-weight: 500; }

@media (max-width: 560px) {
  .timeline::before { left: 36px; }
  .tl-row { grid-template-columns: 72px 1fr; gap: 24px; }
}

/* ── Testimonials ──────────────────────────────────────── */
.tst-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.tst-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: 5px;
  padding: 40px 36px 32px; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tst-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 40, 71, 0.10); }
.tst-mark { font-family: Georgia, "Times New Roman", serif; font-size: 64px; line-height: 0.7; color: var(--navy); opacity: 0.16; margin-bottom: 8px; }
.tst-quote { font-size: 19px; font-weight: 700; color: var(--navy); line-height: 1.35; letter-spacing: -0.01em; margin: 0 0 16px; text-wrap: pretty; }
.tst-body { font-size: 14px; color: var(--muted); line-height: 1.75; margin: 0 0 28px; flex: 1; }
.tst-author { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); }
.tst-avatar { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--ui); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.tst-who { display: flex; flex-direction: column; line-height: 1.3; }
.tst-who strong { font-size: 15px; font-weight: 700; color: var(--navy); }
.tst-who em { font-style: normal; font-size: 12px; color: var(--muted); font-family: var(--ui); letter-spacing: 0.04em; margin-top: 2px; }

/* ── Coverflow carousel ────────────────────────────────── */
.cf-wrap { max-width: 1100px; margin: 0 auto; outline: none; }
.cf { position: relative; display: flex; align-items: center; }
.cf-stage {
  position: relative; flex: 1; height: clamp(280px, 46vw, 500px);
  perspective: 1700px; perspective-origin: 50% 50%; overflow: hidden;
}
.cf-card {
  position: absolute; inset: 0; margin: auto;
  width: clamp(260px, 44vw, 480px); height: clamp(260px, 44vw, 480px);
  padding: 0; border: none; cursor: pointer; background: #11202f;
  border-radius: 5px; overflow: hidden; transform-style: preserve-3d; will-change: transform, opacity;
  box-shadow: 0 30px 70px rgba(0, 28, 55, 0.30);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
}
.cf-card img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; }
.cf-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 20, 40, 0.55), rgba(0,20,40,0.05) 55%);
  transition: opacity 0.5s ease;
}
.cf-card.active::after { opacity: 0; }
.cf-card.active { box-shadow: 0 40px 90px rgba(0, 28, 55, 0.40); }
.cf-card-tag {
  position: absolute; top: 14px; left: 14px; font-family: var(--ui);
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; color: #fff;
  background: rgba(0, 28, 55, 0.5); border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 4px 11px; border-radius: 2px; backdrop-filter: blur(4px);
}
.cf-nav {
  flex-shrink: 0; position: relative; z-index: 200;
  width: 48px; height: 48px; border-radius: 50%; margin: 0 4px;
  background: #fff; border: 1px solid var(--border); color: var(--navy);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  font-size: 22px; line-height: 1; box-shadow: 0 6px 18px rgba(0, 40, 71, 0.12);
  transition: background 0.2s, transform 0.2s;
}
.cf-nav:hover { background: var(--navy); color: #fff; transform: scale(1.06); }
.cf-caption { text-align: center; margin-top: 36px; min-height: 96px; }
.cf-caption .cf-year, .cf-caption .cf-name, .cf-caption .cf-meta, .cf-caption .cf-link {
  opacity: 0; transform: translateY(8px); transition: opacity 0.45s ease, transform 0.45s ease;
}
.cf-caption.show .cf-year, .cf-caption.show .cf-name, .cf-caption.show .cf-meta, .cf-caption.show .cf-link {
  opacity: 1; transform: none;
}
.cf-caption.show .cf-name { transition-delay: 0.04s; }
.cf-caption.show .cf-meta { transition-delay: 0.08s; }
.cf-caption.show .cf-link { transition-delay: 0.12s; }
.cf-year {
  display: inline-block; font-family: var(--ui); font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; color: var(--navy); border: 1px solid var(--border);
  padding: 4px 12px; border-radius: 2px; margin-bottom: 14px;
}
.cf-name { font-size: clamp(22px, 3vw, 34px); font-weight: 700; color: var(--navy); margin: 0 0 6px; line-height: 1.15; }
.sec-navy .cf-name, .sec-navy .cf-year { color: #fff; }
.sec-navy .cf-year { border-color: rgba(255,255,255,0.3); }
.cf-meta { font-size: 14px; color: var(--muted); margin: 0 0 18px; font-family: var(--ui); }
.cf-link { margin-top: 2px; }
.cf-dots { display: flex; justify-content: center; gap: 7px; margin-top: 24px; flex-wrap: wrap; }
.cf-dot { width: 8px; height: 8px; border-radius: 4px; background: #d8d6d1; border: none; cursor: pointer; padding: 0; transition: all 0.3s ease; }
.cf-dot.active { width: 26px; background: var(--navy); }
.sec-navy .cf-dot { background: rgba(255,255,255,0.25); }
.sec-navy .cf-dot.active { background: #fff; }
@media (max-width: 560px) {
  .cf-nav { width: 40px; height: 40px; font-size: 18px; }
  .cf-caption { min-height: 110px; }
}

.stat .v { transition: transform 0.3s ease; }
.stat .v.stat-done { animation: stat-pop 0.45s cubic-bezier(0.22,1,0.36,1) forwards; }
@keyframes stat-pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ── Track record table ────────────────────────────────── */
.track-table-wrap { overflow-x: auto; }
.track-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.track-table thead tr { background: var(--navy); }
.track-table thead th {
  padding: 12px 16px; text-align: left; font-family: var(--ui);
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.7); white-space: nowrap;
}
.track-table tbody tr { border-bottom: 1px solid var(--border); transition: background 0.15s; }
.track-table tbody tr:hover { background: var(--offwhite); }
.track-table tbody tr.alt { background: #fafaf9; }
.track-table tbody tr.alt:hover { background: var(--offwhite); }
.track-table td { padding: 11px 16px; color: var(--ink); vertical-align: middle; }
.track-table .td-name { font-weight: 600; color: var(--navy); }
.track-table .td-num { font-family: var(--ui); font-weight: 500; text-align: right; }
.track-table .td-year { font-family: var(--ui); font-size: 12px; color: var(--muted); white-space: nowrap; }
.track-badge {
  display: inline-block; padding: 2px 8px; border-radius: 2px;
  font-family: var(--ui); font-size: 10px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
.track-badge.concluido { background: #e8f5e9; color: var(--green); }
.track-badge.execucao  { background: rgba(0,40,71,0.08); color: var(--navy); }
.track-badge.compravenda { background: #f5f0e8; color: #7a5a20; }
.track-badge.projeto { background: #f0f0f0; color: #6b6b6b; }
.obra-tl-sec { padding: 80px 24px; background: #fff; }
.obra-tl-scroll { overflow-x: auto; padding-bottom: 8px; }
.obra-tl {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  min-width: 580px;
  position: relative;
  --photo-h: 160px;
}
.obra-tl::before {
  content: '';
  position: absolute;
  top: calc(var(--photo-h) + 22px + 13px);
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.obra-step { display: flex; flex-direction: column; align-items: center; }
.obra-step-img { width: 100%; height: var(--photo-h); margin-bottom: 22px; }
.obra-dot-wrap { position: relative; z-index: 1; margin-bottom: 14px; }
.obra-dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: #d8e1e9; border: 3px solid #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ui); font-size: 10px; font-weight: 700; color: #7f94a7;
  box-shadow: 0 0 0 1px var(--border);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.obra-step.done .obra-dot { background: var(--navy); color: #fff; box-shadow: 0 0 0 1px var(--navy); }
.obra-step.execucao .obra-dot { background: #fff; color: var(--navy); box-shadow: 0 0 0 2px var(--navy); font-weight: 800; }
.obra-step.execucao .obra-step-lbl::after { content: ' · Em Execução'; color: var(--navy); opacity: 0.55; font-weight: 400; }
.obra-step-info { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; width: 100%; }
.obra-step-lbl { font-family: var(--ui); font-size: 11px; font-weight: 600; color: var(--navy); letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.4; }
.obra-step-date {
  font-family: var(--ui); font-size: 12px; color: var(--muted);
  border: 1px solid var(--border); border-radius: 2px;
  padding: 5px 8px; background: #fff; width: 100%; max-width: 116px;
  text-align: center; cursor: pointer; outline: none;
  transition: border-color 0.2s;
}
.obra-step-date:focus { border-color: var(--navy); }
.obra-step-date::-webkit-calendar-picker-indicator { opacity: 0.45; }
.obra-step-date-static {
  font-family: var(--ui); font-size: 12px; color: var(--muted);
  min-height: 24px; display: block; text-align: center;
  letter-spacing: 0.02em;
}
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Horizontal History Timeline ─────────────────────────────── */
.htl-outer { width: 100%; overflow: hidden; position: relative; }
.htl-scroll {
  overflow-x: auto; overflow-y: visible;
  padding: 0 0 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
  cursor: grab;
}
.htl-scroll:active { cursor: grabbing; }
.htl-scroll::-webkit-scrollbar { height: 4px; }
.htl-scroll::-webkit-scrollbar-track { background: transparent; }
.htl-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

.htl-stage {
  position: relative;
  height: 260px;
  min-width: max-content;
}

/* Central SVG line */
.htl-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  overflow: visible; pointer-events: none;
}
.htl-line {
  stroke: rgba(255,255,255,0.18); stroke-width: 1.5;
  stroke-dasharray: 4 6;
}
.htl-dot {
  fill: #fff;
}
.htl-visible .htl-dot {
  animation: htlFade 0.3s ease both;
  animation-delay: var(--d, 0ms);
}
.htl-year {
  font-family: var(--ui); font-size: 10px; font-weight: 700;
  fill: rgba(255,255,255,0.7); text-anchor: middle;
  letter-spacing: 0.08em;
}
.htl-visible .htl-year {
  animation: htlFade 0.3s ease both;
  animation-delay: var(--d, 0ms);
}

/* Cards */
.htl-item {
  position: absolute; width: 120px; transform: translateX(-50%);
  text-align: center;
}
.htl-top {
  bottom: calc(50% + 22px); top: auto;
}
.htl-bot {
  top: calc(50% + 22px); bottom: auto;
}
.htl-visible .htl-top {
  animation: htlSlideDown 0.5s cubic-bezier(0.22,1,0.36,1) both;
  animation-delay: var(--d, 0ms);
}
.htl-visible .htl-bot {
  animation: htlSlideUp 0.5s cubic-bezier(0.22,1,0.36,1) both;
  animation-delay: var(--d, 0ms);
}
@keyframes htlFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes htlSlideDown {
  from { transform: translateX(-50%) translateY(-8px); }
  to   { transform: translateX(-50%) translateY(0); }
}
@keyframes htlSlideUp {
  from { transform: translateX(-50%) translateY(8px); }
  to   { transform: translateX(-50%) translateY(0); }
}
.htl-name {
  font-family: var(--font); font-size: 12px; font-weight: 600;
  color: #fff; line-height: 1.3; margin-bottom: 4px;
}
.htl-note {
  font-family: var(--ui); font-size: 10px; color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em; line-height: 1.4;
}
.htl-prev .htl-name { color: rgba(255,255,255,0.5); }
.htl-prev .htl-name::after { content: " *"; opacity: 0.5; }

.htl-hint {
  text-align: center; font-family: var(--ui); font-size: 11px;
  color: rgba(255,255,255,0.3); letter-spacing: 0.08em;
  padding: 8px 0 24px;
}
@media (prefers-reduced-motion: reduce) {
  .htl-item, .htl-dot, .htl-year { animation: none !important; transform: translateX(-50%) !important; }
}
