/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #fafafa;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-subtle: #f4f4f5;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.14);
  --text: #18181b;
  --text-muted: #71717a;
  --text-dim: #a1a1aa;
  --accent: #2563eb;
  --accent-green: #16a34a;
  --accent-whatsapp: #25d366;
  --accent-offer: #059669;
  --brand-navy: #116e9f;
  --brand-orange: #fbae29;
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.1);
  --max-width: 1200px;
  --preview-height: 360px;
  --header-height: 72px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

ul {
  list-style: none;
}

img, iframe {
  display: block;
  border: none;
}

body.modal-open {
  overflow: hidden;
}

/* ── Accessibility ── */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1100;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  background: var(--text);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.3s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── Ambient gradients ── */
.ambient {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.6;
}

.ambient--one {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, rgba(17, 110, 159, 0.07) 0%, transparent 70%);
}

.ambient--two {
  width: 500px;
  height: 500px;
  bottom: 10%;
  left: -150px;
  background: radial-gradient(circle, rgba(17, 110, 159, 0.05) 0%, transparent 70%);
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s var(--ease);
}

.header__brand:hover {
  opacity: 0.75;
}

.header__logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.header__logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.header__logo-name {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.header__logo-tag {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.header__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px rgba(22, 163, 74, 0.35);
  animation: pulse 2.4s var(--ease) infinite;
}

.header__status-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

/* ── Layout ── */
main {
  position: relative;
  z-index: 1;
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  animation: fadeUp 0.9s var(--ease) both;
}

/* ── Hero background: dot texture + drifting coastal waves ── */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__dots {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(140px, 24vw, 260px);
}

.hero__wave {
  position: absolute;
  inset: 0;
  background-repeat: repeat-x;
  background-position: 0 bottom;
  background-size: 1440px 100%;
  will-change: background-position;
}

.hero__wave--back {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220'%3E%3Cpath fill='%23116e9f' d='M0,140 C240,180 480,100 720,140 C960,180 1200,100 1440,140 L1440,220 L0,220 Z'/%3E%3C/svg%3E");
  opacity: 0.12;
  animation: waveDrift 34s linear infinite;
}

.hero__wave--front {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220'%3E%3Cpath fill='%232563eb' d='M0,110 C160,150 320,70 480,110 C640,150 800,70 960,110 C1120,150 1280,70 1440,110 L1440,220 L0,220 Z'/%3E%3C/svg%3E");
  opacity: 0.1;
  animation: waveDrift 20s linear infinite reverse;
}

@keyframes waveDrift {
  from { background-position-x: 0; }
  to { background-position-x: -1440px; }
}

.hero__grid {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr min(420px, 100%);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__content {
  min-width: 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 1.25rem;
}

.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 8px rgba(251, 174, 41, 0.5);
  animation: pulse 2.4s var(--ease) infinite;
}

.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 16ch;
  margin-bottom: 1.5rem;
  color: var(--brand-navy);
}

.hero__title-accent {
  color: var(--text-muted);
}

.hero__description {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
}

.hero__meta li {
  font-size: 0.85rem;
  color: var(--text-dim);
  position: relative;
}

.hero__meta li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-dim);
  opacity: 0.5;
}

.hero__meta li strong {
  color: var(--text);
  font-weight: 600;
}

/* ── Hero Offer ── */
.hero-offer {
  position: relative;
  animation: fadeUp 0.9s var(--ease) 0.15s both;
}

.hero-offer__glow {
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(135deg, #fbae29, #f59300, #fbae29, #ffd07a, #fbae29);
  background-size: 300% 300%;
  animation: offerGlow 6s ease infinite;
  opacity: 0.9;
  filter: blur(0.5px);
}

.hero-offer__inner {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #ffffff 0%, #fffdf7 45%, #fff8ea 100%);
  border: 1px solid rgba(251, 174, 41, 0.35);
  box-shadow:
    0 4px 24px rgba(251, 174, 41, 0.12),
    0 20px 60px rgba(0, 0, 0, 0.06);
}

.hero-offer__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #047857;
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.2);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero-offer__badge i {
  font-size: 0.65rem;
  animation: boltPulse 2s var(--ease) infinite;
}

.hero-offer__label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.hero-offer__price {
  display: flex;
  align-items: flex-start;
  gap: 0.15rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hero-offer__currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 0.5rem;
}

.hero-offer__amount {
  font-size: clamp(3.5rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--brand-orange);
}

.hero-offer__period {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  align-self: flex-end;
  margin-bottom: 0.5rem;
  margin-left: 0.15rem;
}

.hero-offer__term {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #047857;
  margin-bottom: 1.25rem;
}

.hero-offer__term i {
  font-size: 0.7rem;
  opacity: 0.85;
}

.hero-offer__title {
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero-offer__title strong {
  color: #047857;
  font-weight: 700;
}

.hero-offer__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.hero-offer__features li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-offer__features i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.12);
  color: #059669;
  font-size: 0.55rem;
  flex-shrink: 0;
}

.hero-offer__disclaimer {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  padding: 0.65rem 0.85rem;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 10px;
  border: 1px dashed rgba(0, 0, 0, 0.1);
  margin-bottom: 1.25rem;
}

.hero-offer__disclaimer i {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.hero-offer__cta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  animation: ctaPulse 3s var(--ease) infinite;
}

.hero-offer__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

/* CTA principal: leva para o formulário de adesão */
.hero-offer__cta--primary {
  background: linear-gradient(135deg, #116e9f 0%, #0d5578 100%);
  box-shadow: 0 8px 24px rgba(17, 110, 159, 0.3);
  margin-bottom: 0.7rem;
  animation: none;
}

.hero-offer__cta--primary:hover {
  box-shadow: 0 12px 32px rgba(17, 110, 159, 0.42);
}

.hero-offer__cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.hero-offer__cta-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
  text-align: left;
}

.hero-offer__cta-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-offer__cta-text small {
  font-size: 0.72rem;
  opacity: 0.9;
  font-weight: 400;
}

.hero-offer__cta-arrow {
  font-size: 0.85rem;
  opacity: 0.85;
  transition: transform 0.35s var(--ease);
}

.hero-offer__cta:hover .hero-offer__cta-arrow {
  transform: translateX(4px);
}

@keyframes offerGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes boltPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55); }
}

/* ── Projects section ── */
.projects {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(4rem, 8vw, 6rem);
}

.projects__header {
  margin-bottom: 2.5rem;
}

.projects__year {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.projects__title {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.projects__subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 52ch;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

/* ── Project card ── */
.project-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.45s var(--ease),
    border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
  opacity: 0;
  transform: translateY(28px);
}

.project-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease),
    border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
  outline: none;
}

.project-card.is-visible:hover,
.project-card.is-visible:focus-visible {
  transform: translateY(-5px);
}

/* Browser chrome */
.browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}

.browser-bar__dots {
  display: flex;
  gap: 5px;
}

.browser-bar__dots i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.browser-bar__dots i:nth-child(1) { background: #ff5f57; }
.browser-bar__dots i:nth-child(2) { background: #febc2e; }
.browser-bar__dots i:nth-child(3) { background: #28c840; }

.browser-bar__badge {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

/* Preview */
.project-card__preview {
  position: relative;
}

.project-card__iframe-wrap {
  position: relative;
  height: var(--preview-height);
  overflow: hidden;
  background: var(--bg-subtle);
}

.project-card__iframe-wrap iframe {
  width: 200%;
  height: 200%;
  transform: scale(0.5);
  transform-origin: top left;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease), transform 0.5s var(--ease);
}

.project-card__iframe-wrap iframe.loaded {
  opacity: 1;
}

.project-card:hover .project-card__iframe-wrap iframe.loaded,
.project-card:focus-visible .project-card__iframe-wrap iframe.loaded {
  transform: scale(0.51);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.project-card:hover .project-card__overlay,
.project-card:focus-visible .project-card__overlay {
  opacity: 1;
}

.project-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--text);
  color: #fff;
  transform: translateY(6px);
  opacity: 0;
  transition:
    transform 0.4s var(--ease),
    opacity 0.4s var(--ease);
}

.project-card:hover .project-card__cta,
.project-card:focus-visible .project-card__cta {
  transform: translateY(0);
  opacity: 1;
}

.project-card__cta i {
  font-size: 0.75rem;
  transition: transform 0.35s var(--ease);
}

.project-card:hover .project-card__cta i,
.project-card:focus-visible .project-card__cta i {
  transform: translateX(3px);
}

/* Card info */
.project-card__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem 1.35rem;
}

.project-card__name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.project-card__category {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.project-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  flex-shrink: 0;
  background: var(--bg-subtle);
  transition:
    border-color 0.35s var(--ease),
    color 0.35s var(--ease),
    background 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.project-card__arrow i {
  font-size: 0.8rem;
}

.project-card:hover .project-card__arrow,
.project-card:focus-visible .project-card__arrow {
  border-color: rgba(37, 99, 235, 0.2);
  background: rgba(37, 99, 235, 0.06);
  color: var(--accent);
  transform: translateX(2px);
}

/* ── Modal ── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 2rem);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s var(--ease),
    visibility 0.35s var(--ease);
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(1200px, 100%);
  height: min(90vh, 880px);
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transform: scale(0.96) translateY(12px);
  transition: transform 0.4s var(--ease);
}

.modal.is-open .modal__dialog {
  transform: scale(1) translateY(0);
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  flex-shrink: 0;
}

.modal__title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.modal__category {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-subtle);
  transition:
    color 0.3s var(--ease),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.modal__close:hover {
  color: var(--text);
  background: #ececee;
  border-color: var(--border-hover);
}

.modal__body {
  position: relative;
  flex: 1;
  min-height: 0;
  background: var(--bg-subtle);
}

.modal__body iframe {
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.modal__body iframe.loaded {
  opacity: 1;
}

.modal__loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-subtle);
  transition: opacity 0.3s var(--ease);
}

.modal__loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.modal__loader-spinner {
  width: 28px;
  height: 28px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.75rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--border);
  max-width: calc(var(--max-width) + 6rem);
  margin: 0 auto;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.footer__logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer__meta {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ── Entry animation ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero-offer {
    max-width: 480px;
  }
}

@media (max-width: 768px) {
  :root {
    --preview-height: 285px;
  }

  .header__status-label {
    display: none;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero__meta li:not(:last-child)::after {
    display: none;
  }

  .projects__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

}

@media (max-width: 480px) {
  :root {
    --preview-height: 270px;
  }

  .header__logo-tag {
    display: none;
  }

  .modal__header {
    flex-wrap: wrap;
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .project-card {
    opacity: 1;
    transform: none;
  }

  .hero {
    animation: none;
  }

  .hero-offer {
    animation: none;
  }

  .hero-offer__glow,
  .hero-offer__badge i,
  .hero-offer__cta {
    animation: none;
  }

  .header__status-dot {
    animation: none;
  }

  .modal__dialog {
    transform: none;
  }
}
