/* ============================================================
   CANUN — Steel Frame de Alto Padrão
   Folha de estilo da Home. Tokens derivados do Design System.
   ============================================================ */
:root {
  /* Azul institucional */
  --blue-950: #0D1A3E;
  --blue-900: #142A66;
  --blue-800: #18327A;
  --blue-700: #1F3D8F;
  --blue-600: #2749AA;
  --blue-500: #3460C8;
  --blue-200: #C7D5F4;
  --blue-100: #E8EDF9;
  --blue-50:  #F2F5FD;

  /* Laranja accent */
  --orange-700: #B85C0A;
  --orange-600: #D86E14;
  --orange-500: #F08526;
  --orange-400: #F5A54A;
  --orange-100: #FEF3E6;
  --orange-50:  #FFF9F2;

  /* Neutros */
  --gray-950: #0F0F1A;
  --gray-900: #1A1A2E;
  --gray-800: #2A2A3A;
  --gray-700: #3A3A4A;
  --gray-600: #52525E;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F4F4F6;
  --gray-50:  #FAFAFA;
  --white: #FFFFFF;

  --font: 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --container: 1200px;
  --pad: clamp(20px, 5vw, 40px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 6px rgba(13,26,62,0.06);
  --shadow-md: 0 10px 30px rgba(13,26,62,0.08);
  --shadow-lg: 0 24px 60px rgba(13,26,62,0.13);
  --shadow-orange: 0 12px 30px rgba(240,133,38,0.32);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html { overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--pad); position: relative; }
.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section--alt { background: var(--blue-50); }
.section--dark { background: var(--blue-950); color: var(--white); }

/* ---------- Eyebrow / Overline ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--orange-600);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange-500); }
.section--dark .eyebrow { color: var(--orange-400); }
.eyebrow.is-centered { justify-content: center; }

/* ---------- Headings ---------- */
.h2 {
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -1.2px;
  color: var(--blue-950);
  margin-top: 18px;
}
.section--dark .h2 { color: var(--white); }
.h2 .accent { color: var(--orange-500); }
.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--gray-600);
  max-width: 640px;
  margin-top: 22px;
  line-height: 1.65;
}
.section--dark .lead { color: rgba(255,255,255,0.78); }
.section-head { margin-bottom: clamp(44px, 6vw, 72px); max-width: 760px; }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head.is-centered .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 15px; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 18px 34px; border: 2px solid transparent; border-radius: 6px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn--primary { background: var(--orange-500); color: var(--white); border-color: var(--orange-500); }
.btn--primary:hover { background: var(--orange-600); border-color: var(--orange-600); transform: translateY(-2px); box-shadow: var(--shadow-orange); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn--ghost:hover { background: var(--white); color: var(--blue-950); border-color: var(--white); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--blue-700); border-color: var(--blue-200); }
.btn--outline:hover { background: var(--blue-700); color: var(--white); border-color: var(--blue-700); transform: translateY(-2px); }
.btn--lg { padding: 21px 42px; font-size: 16px; }
@media (max-width: 860px) {
  .btn { padding: 11px 20px; font-size: 12px; letter-spacing: .8px; gap: 7px; }
  .btn--lg { padding: 13px 22px; font-size: 13px; }
  .btn svg { width: 15px; height: 15px; }
}

/* ============================================================
   PAGES BAR — navegação entre landing pages
   ============================================================ */
.pages-bar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 36px; z-index: 101;
  background: var(--blue-950);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.pages-bar__inner {
  display: flex; align-items: center; justify-content: center; height: 100%; gap: 0;
}
.pages-bar__link {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  padding: 0 20px; height: 100%;
  display: flex; align-items: center;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.pages-bar__link:first-child { border-left: 1px solid rgba(255,255,255,0.06); }
.pages-bar__link:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.pages-bar__link.is-active {
  color: var(--orange-400);
  background: rgba(240,133,38,0.07);
}

/* Mobile: oculta barra de páginas, restaura header ao topo */
@media (max-width: 860px) {
  .pages-bar { display: none !important; }
  .header {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    bottom: auto !important;
    background: var(--blue-950) !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    padding: 12px 0 !important;
    z-index: 100 !important;
  }
  .header.is-scrolled {
    background: rgba(255,255,255,0.97) !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: var(--shadow-sm) !important;
    padding: 10px 0 !important;
  }
  .hero__inner { padding-top: 80px; }
}

/* Menu mobile: bloco de páginas */
.mobile-menu__pages {
  display: flex; flex-direction: column; align-items: center;
  width: 100%; gap: 2px;
  padding-bottom: 18px; margin-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu__pages a {
  font-size: 13px !important; font-weight: 700 !important;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.4) !important;
  padding: 8px 14px !important;
}
.mobile-menu__pages a.is-active { color: var(--orange-400) !important; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; inset: 36px 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 18px 0;
}
.header.is-scrolled { background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); padding: 10px 0; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { height: 52px; width: auto; transition: height .35s var(--ease); }
.header.is-scrolled .header__logo img { height: 44px; }
.header__logo .logo-light { display: block; }
.header__logo .logo-dark { display: none; }
.header.is-scrolled .header__logo .logo-light { display: none; }
.header.is-scrolled .header__logo .logo-dark { display: block; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 14.5px; font-weight: 600; letter-spacing: .2px;
  color: rgba(255,255,255,0.85); padding: 10px 16px; border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.header.is-scrolled .nav a { color: var(--gray-700); }
.header.is-scrolled .nav a:hover { color: var(--blue-700); background: var(--blue-50); }

.header__cta {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--orange-500); color: var(--white);
  font-weight: 700; font-size: 14px; letter-spacing: .6px;
  padding: 13px 22px; border-radius: 6px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.header__cta svg { width: 18px; height: 18px; }
.header__cta:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: var(--shadow-orange); }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: 0; }
.burger span { width: 26px; height: 2.5px; background: var(--white); border-radius: 2px; transition: background .3s; }
.header.is-scrolled .burger span { background: var(--blue-950); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--blue-950);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu a { color: var(--white); font-size: 24px; font-weight: 600; padding: 14px; }
.mobile-menu a.accent { color: var(--orange-400); margin-top: 16px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; color: var(--white); }
.hero__bg { position: absolute; inset: 0; z-index: 0; animation: heroReveal 1.6s var(--ease) both; }
.hero__slides { position: absolute; inset: 0; will-change: transform; }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity 1.6s var(--ease); }
.hero__slide.is-active { opacity: 1; animation: kenburns 13s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1.16); } }
@keyframes heroReveal { from { transform: scale(1.06); } to { transform: none; } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(rgba(13,26,62,0.60), rgba(13,26,62,0.60)),
    radial-gradient(135% 105% at 50% 42%, rgba(13,26,62,0) 30%, rgba(13,26,62,0.55) 100%),
    linear-gradient(0deg, rgba(13,26,62,0.55), rgba(13,26,62,0) 45%);
}
/* brilho que cruza o herói na entrada */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,0.07) 50%, transparent 58%);
  transform: translateX(-110%); animation: heroSheen 2.6s 0.7s var(--ease) 1 both;
}
@keyframes heroSheen { to { transform: translateX(110%); } }
/* indicadores de slide */
.hero__dots { position: absolute; right: var(--pad); bottom: 34px; z-index: 4; display: flex; gap: 10px; }
.hero__dot { width: 30px; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.28); border: 0; padding: 0; cursor: pointer; position: relative; overflow: hidden; }
.hero__dot.is-active::after { content: ""; position: absolute; inset: 0; background: var(--orange-500); transform-origin: left; transform: scaleX(0); animation: dotFill var(--slide-dur, 10s) linear forwards; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__inner { position: relative; z-index: 2; padding-top: 156px; padding-bottom: 60px; width: 100%; text-align: center; }
.hero__content { max-width: 920px; margin: 0 auto; }
.hero .eyebrow { justify-content: center; }
.hero h1 {
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1.05; font-weight: 700; letter-spacing: -2px;
  margin: 26px 0 0;
}
.hero h1 .accent {
  position: relative; display: inline-block; color: var(--orange-400);
  background: linear-gradient(110deg, var(--orange-500) 16%, #FFD8A8 50%, var(--orange-500) 84%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: accentShimmer 4.5s linear infinite;
}
.hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.05em; height: 5px; border-radius: 4px;
  background: linear-gradient(90deg, var(--orange-500), var(--orange-400));
  transform: scaleX(0); transform-origin: left;
  animation: accentLine .85s .8s var(--ease) forwards;
}
@keyframes accentShimmer { to { background-position: 220% 0; } }
@keyframes accentLine { to { transform: scaleX(1); } }
.hero__sub { font-size: clamp(17px, 1.8vw, 21px); color: rgba(255,255,255,0.84); max-width: 640px; margin: 26px auto 0; line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; justify-content: center; }
.hero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 40px; margin-top: 52px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.16); }
.hero__meta-item { display: flex; align-items: baseline; gap: 10px; }
.hero__meta-item b { font-size: 32px; font-weight: 700; color: var(--white); letter-spacing: -0.5px; }
.hero__meta-item span { font-size: 14px; color: rgba(255,255,255,0.7); max-width: 150px; line-height: 1.3; }
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.6);
}
.hero__scroll .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,0.45); border-radius: 13px; position: relative; }
.hero__scroll .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 7px; background: var(--orange-400); border-radius: 2px; animation: scrollDot 1.7s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80%,100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ============================================================
   MODALIDADES (Seção 2)
   ============================================================ */
.modal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.mcard {
  position: relative; background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 14px; padding: 40px; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.mcard::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--orange-500); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease);
}
.mcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.mcard:hover::before { transform: scaleY(1); }
.mcard__num { font-size: 14px; font-weight: 700; color: var(--orange-500); letter-spacing: 1px; }
.mcard__icon { width: 56px; height: 56px; border-radius: 12px; background: var(--blue-50); color: var(--blue-700); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; transition: background .35s, color .35s; }
.mcard__icon svg { width: 28px; height: 28px; }
.mcard:hover .mcard__icon { background: var(--blue-700); color: var(--white); }
.mcard h3 { font-size: 22px; font-weight: 700; color: var(--blue-950); margin: 14px 0 12px; letter-spacing: -0.4px; line-height: 1.2; }
.mcard p { color: var(--gray-600); font-size: 16px; line-height: 1.65; }
.section-cta { display: flex; justify-content: center; margin-top: 56px; }

/* ============================================================
   TIPOS DE PROJETO (Seção 3)
   ============================================================ */
.tipos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tipo {
  position: relative; overflow: hidden; border-radius: 14px; padding: 34px 32px;
  background: var(--white); border: 1px solid var(--gray-200);
  display: flex; flex-direction: column; min-height: 200px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.tipo::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 130px; height: 130px;
  border-radius: 26px; background: var(--blue-50); transition: background .4s, transform .5s var(--ease);
  transform: rotate(15deg);
}
.tipo:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.tipo:hover::after { background: var(--orange-50); transform: rotate(15deg) scale(1.12); }
.tipo__num { position: relative; z-index: 2; font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--orange-500); }
.tipo__icon { position: relative; z-index: 2; width: 54px; height: 54px; border-radius: 13px; background: var(--blue-700); color: var(--white); display: flex; align-items: center; justify-content: center; margin: 18px 0 auto; transition: background .35s, transform .4s var(--ease); }
.tipo:hover .tipo__icon { background: var(--orange-500); transform: rotate(-6deg); }
.tipo__icon svg { width: 28px; height: 28px; }
.tipo h3 { position: relative; z-index: 2; font-size: 21px; font-weight: 700; color: var(--blue-950); letter-spacing: -0.4px; line-height: 1.2; margin-top: 26px; }

/* ============================================================
   DIFERENCIAIS (Seção 4)
   ============================================================ */
.dif-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.dif-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.dif-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .dif-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .dif-grid--3 { grid-template-columns: 1fr; } }
.dif {
  background: var(--white); border-radius: 14px; padding: 30px 28px;
  border: 1px solid var(--gray-200);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.dif:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dif__num { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--orange-500); display: block; margin-bottom: 16px; }
.dif__bar { width: 34px; height: 3px; background: var(--orange-500); border-radius: 2px; margin-bottom: 16px; }
.dif p { font-size: 16px; font-weight: 600; color: var(--blue-950); line-height: 1.4; }
.section--dark .dif { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
.section--dark .dif p { color: var(--white); }
.section--dark .dif:hover { background: rgba(255,255,255,0.07); }

/* ============================================================
   SOBRE (Seção 5)
   ============================================================ */
.sobre-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.sobre__media { position: relative; }
.sobre__media .img-main { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.sobre__media .img-main img { width: 100%; height: 100%; object-fit: cover; }
.sobre__media .img-float {
  position: absolute; right: -28px; bottom: -28px; width: 56%; border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 6px solid var(--white); aspect-ratio: 16/11;
}
.sobre__media .img-float img { width: 100%; height: 100%; object-fit: cover; }
.sobre__badge {
  position: absolute; left: -24px; top: 36px; background: var(--orange-500); color: var(--white);
  border-radius: 14px; padding: 20px 24px; box-shadow: var(--shadow-orange); z-index: 3;
}
.sobre__badge b { font-size: 40px; font-weight: 700; line-height: 1; display: block; }
.sobre__badge span { font-size: 13px; font-weight: 600; letter-spacing: .4px; opacity: .95; }
.creds { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-top: 36px; }
.creds li { display: flex; gap: 16px; align-items: flex-start; }
.creds .tick { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-700); color: var(--white); display: flex; align-items: center; justify-content: center; }
.creds .tick svg { width: 15px; height: 15px; }
.creds span { font-size: 16.5px; font-weight: 600; color: var(--blue-950); padding-top: 3px; }

/* ============================================================
   COMPARATIVO (Seção 6)
   ============================================================ */
.comp { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.comp__col { border-radius: 16px; overflow: hidden; }
.comp__col--bad { background: var(--white); border: 1px solid var(--gray-200); }
.comp__col--good { background: var(--blue-700); color: var(--white); box-shadow: var(--shadow-lg); }
.comp__head { padding: 28px 32px; display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; }
.comp__col--bad .comp__head { color: var(--gray-500); border-bottom: 1px solid var(--gray-200); }
.comp__col--good .comp__head { color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.18); background: var(--blue-800); }
.comp__head .dot { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.comp__col--bad .dot { background: #FEE2E2; color: #B91C1C; }
.comp__col--good .dot { background: var(--orange-500); color: var(--white); }
.comp__head .dot svg { width: 16px; height: 16px; }
.comp ul { list-style: none; padding: 14px 0; }
.comp li { display: flex; gap: 16px; padding: 18px 32px; font-size: 16px; line-height: 1.45; align-items: flex-start; }
.comp__col--bad li { color: var(--gray-500); }
.comp__col--good li { color: rgba(255,255,255,0.95); font-weight: 500; }
.comp li .ic { flex-shrink: 0; margin-top: 2px; }
.comp li .ic svg { width: 19px; height: 19px; }
.comp__col--bad .ic { color: #DC2626; }
.comp__col--good .ic { color: var(--orange-400); }

/* ============================================================
   PORTFÓLIO (Seção 7)
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gcell { position: relative; overflow: hidden; border-radius: 14px; background: var(--blue-900); }
.gcell img { width: 100%; height: 100%; object-fit: cover; transition: none; will-change: transform; transform: scale(1.12); }
.gcell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,26,62,0) 40%, rgba(13,26,62,0.82)); opacity: 0; transition: opacity .4s; }
.gcell:hover::after { opacity: 1; }
.gcell__cap { position: absolute; left: 22px; bottom: 18px; z-index: 2; color: var(--white); opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s; }
.gcell__cap .k { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--orange-400); font-weight: 700; }
.gcell__cap .t { font-size: 18px; font-weight: 700; margin-top: 4px; }
.gcell:hover .gcell__cap { opacity: 1; transform: translateY(0); }
.gcell.span-2 { grid-column: span 2; }
.gcell.span-3 { grid-column: span 3; }
.gcell.span-4 { grid-column: span 4; }
/* Placeholder de imagem (curadoria) */
.gcell--ph { background: repeating-linear-gradient(45deg, var(--blue-50) 0 16px, #ffffff 16px 32px); border: 1.5px dashed var(--blue-200); display: flex; align-items: center; justify-content: center; padding: 20px; }
.gcell--ph::after, .gcell--ph .gcell__cap { display: none; }
.gcell--ph span { font-family: 'SF Mono', ui-monospace, 'Cascadia Mono', monospace; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--blue-600); background: rgba(255,255,255,0.92); padding: 8px 14px; border-radius: 8px; text-align: center; line-height: 1.4; box-shadow: var(--shadow-xs); }
.gcell.row-2 { grid-row: span 2; }

/* ============================================================
   FAQ (Seção 8)
   ============================================================ */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq__item { background: var(--white); border: 1px solid var(--gray-200); border-radius: 12px; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq__item.is-open { box-shadow: var(--shadow-md); border-color: var(--blue-200); }
.faq__q { width: 100%; background: none; border: 0; text-align: left; padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 18px; font-weight: 700; color: var(--blue-950); }
.faq__q:hover { color: var(--blue-700); }
.faq__icon { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--orange-100); color: var(--orange-600); display: flex; align-items: center; justify-content: center; transition: transform .35s var(--ease), background .3s, color .3s; }
.faq__icon svg { width: 17px; height: 17px; }
.faq__item.is-open .faq__icon { transform: rotate(135deg); background: var(--orange-500); color: var(--white); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq__a-inner { padding: 0 30px 28px; color: var(--gray-600); font-size: 16.5px; line-height: 1.7; max-width: 680px; }

/* ============================================================
   CTA FINAL (Seção 9)
   ============================================================ */
.cta-final { position: relative; overflow: hidden; }
.cta-final .container { position: relative; z-index: 2; text-align: center; }
.cta-final h2 { font-size: clamp(32px, 5vw, 60px); line-height: 1.05; font-weight: 700; letter-spacing: -1.5px; color: var(--white); max-width: 900px; margin: 18px auto 0; }
.cta-final h2 .accent { color: var(--orange-400); }
.cta-final .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.cta-final__glow { position: absolute; border-radius: 50%; filter: blur(10px); z-index: 1; }
.cta-final .blob-1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(240,133,38,0.22), transparent 65%); top: -180px; right: -120px; }
.cta-final .blob-2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(52,96,200,0.35), transparent 65%); bottom: -200px; left: -140px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--blue-950); color: rgba(255,255,255,0.7); padding: 72px 0 36px; }
.footer__top { display: flex; flex-wrap: wrap; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer__brand { flex: 1 1 320px; }
.footer__col { flex: 1 1 170px; }
.footer__logo img { height: 64px; margin-bottom: 22px; }
.footer__about { font-size: 15px; line-height: 1.7; max-width: 360px; }
.footer__col h4 { color: var(--white); font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 22px; font-weight: 700; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.footer__col a, .footer__col li { font-size: 15px; transition: color .2s; }
.footer__col a:hover { color: var(--orange-400); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--orange-400); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 30px; font-size: 13.5px; color: rgba(255,255,255,0.45); }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.45);
  transition: transform .3s var(--ease);
  animation: waPulse 2.6s ease-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; color: #fff; }
@keyframes waPulse { 0% { box-shadow: 0 10px 30px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.5); } 70% { box-shadow: 0 10px 30px rgba(37,211,102,0.45), 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 10px 30px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); } }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__bg, .hero__slide, .hero::before { animation: none !important; }
  .hero__slide { transform: none !important; }
  .hero h1 .accent { animation: none !important; -webkit-text-fill-color: var(--orange-400) !important; }
  .hero h1 .accent::after { animation: none !important; transform: scaleX(1); }
  .hero__dot.is-active::after { animation: none !important; transform: scaleX(1); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .dif-layout { grid-template-columns: 1fr; gap: 40px; }
  .sobre-layout { grid-template-columns: 1fr; gap: 80px; }
  .sobre__media { max-width: 520px; }
}
@media (max-width: 860px) {
  .nav, .header__cta { display: none; }
  .burger { display: flex; }
  .modal-grid { grid-template-columns: 1fr; }
  .tipos-grid { grid-template-columns: repeat(2, 1fr); }
  .comp { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gcell.span-2, .gcell.span-3, .gcell.span-4 { grid-column: span 2; }
  .gcell.row-2 { grid-row: span 1; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .tipos-grid { grid-template-columns: 1fr; }
  .dif-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gcell.span-2, .gcell.span-3, .gcell.span-4 { grid-column: span 1; }
  .mcard { padding: 30px 26px; }
  .hero__meta-item { width: 100%; }
}

/* ============================================================
   SCROLL PROGRESS BAR (topo)
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--orange-500), var(--orange-400));
  z-index: 200; transition: width .08s linear;
}

/* ============================================================
   MARQUEE CINÉTICO
   ============================================================ */
.marquee { background: var(--blue-950); padding: 30px 0; overflow: hidden; border-block: 1px solid rgba(255,255,255,0.08); }
.marquee__track { display: flex; align-items: center; white-space: nowrap; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-size: clamp(26px, 4vw, 50px); font-weight: 800; letter-spacing: -1px; padding: 0 26px; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,0.42); }
.marquee__track .solid { color: var(--orange-500); -webkit-text-stroke: 0; }
.marquee__track .dot { color: var(--orange-500); -webkit-text-stroke: 0; font-size: clamp(16px, 2vw, 26px); padding: 0 4px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   PIN HORIZONTAL SCROLL (Modalidades)
   ============================================================ */
.pin { position: relative; background: var(--white); }
.pin__sticky {
  position: sticky; top: 0; height: 100vh; min-height: 600px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.pin__viewport { overflow-x: clip; padding-bottom: clamp(20px, 3vh, 40px); }
.pin__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding-top: clamp(76px, 9vh, 110px);
  padding-bottom: clamp(20px, 3.5vh, 52px);
}
.pin__head-text { max-width: 640px; }
.pin__head-side { flex-shrink: 0; width: 280px; }
.pin__hint { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray-400); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.pin__hint-arrow { color: var(--orange-500); font-size: 18px; animation: nudge 1.4s var(--ease) infinite; }
@keyframes nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(7px); } }
.pin__bar { height: 4px; background: var(--gray-200); border-radius: 4px; overflow: hidden; }
.pin__bar span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--orange-500), var(--orange-400)); border-radius: 4px; }
.pin__track { display: flex; gap: 28px; padding: 0 var(--pad); will-change: transform; }
.hcard {
  flex: 0 0 clamp(280px, 28vw, 420px); background: var(--white);
  border: 1px solid var(--gray-200); border-radius: 20px;
  padding: clamp(28px, 4vh, 46px) clamp(28px, 3vw, 42px);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.hcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.hcard__num { font-size: clamp(36px, 5vh, 54px); font-weight: 800; letter-spacing: -2px; color: var(--blue-100); line-height: 1; }
.hcard__icon { width: 54px; height: 54px; border-radius: 12px; background: var(--blue-700); color: var(--white); display: flex; align-items: center; justify-content: center; margin: clamp(14px, 2vh, 24px) 0 auto; transition: background .35s, transform .4s var(--ease); }
.hcard:hover .hcard__icon { background: var(--orange-500); transform: rotate(-6deg); }
.hcard__icon svg { width: 26px; height: 26px; }
.hcard h3 { font-size: clamp(17px, 2.2vh, 22px); font-weight: 700; color: var(--blue-950); letter-spacing: -0.3px; line-height: 1.2; margin: clamp(16px, 2.5vh, 28px) 0 clamp(8px, 1vh, 12px); }
.hcard p { font-size: clamp(14px, 1.8vh, 16px); color: var(--gray-600); line-height: 1.6; }
.hcard__line { position: absolute; left: 0; bottom: 0; height: 5px; width: 100%; background: linear-gradient(90deg, var(--orange-500), var(--orange-400)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.hcard:hover .hcard__line { transform: scaleX(1); }
.hcard--cta { background: var(--blue-950); border-color: var(--blue-950); justify-content: center; }
.hcard--cta h3 { color: var(--white); margin-top: 0; font-size: 26px; }
.hcard--cta p { color: rgba(255,255,255,0.75); margin-bottom: 28px; }
.hcard--cta .btn { align-self: flex-start; }

@media (max-width: 860px) {
  .pin { height: auto !important; }
  .pin__sticky { position: static; height: auto; min-height: 0; padding: 64px 0; }
  .pin__head { flex-direction: column; align-items: flex-start; padding-top: 0; }
  .pin__head-side { display: none; }
  .pin__track { flex-direction: column; transform: none !important; padding: 0; gap: 18px; }
  .hcard { flex: 1 1 auto; }
}

/* ============================================================
   REVEAL DIRECIONAL + CLIP
   ============================================================ */
.reveal--left { transform: translateX(-54px); }
.reveal--right { transform: translateX(54px); }
.reveal--left.is-in, .reveal--right.is-in { transform: none; }
.reveal--clip { clip-path: inset(0 0 100% 0); opacity: 1; transform: none; transition: clip-path 1s var(--ease); }
.reveal--clip.is-in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  .reveal--left, .reveal--right { transform: none !important; }
  .reveal--clip { clip-path: none !important; }
  .marquee__track { animation: none !important; }
}

/* ============================================================
   PORTFOLIO — PROJECT CARDS
   ============================================================ */
.pboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pcard {
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(13,26,62,0.07);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  cursor: pointer;
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13,26,62,0.14);
}

.pcard__img {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--blue-900);
}
.pcard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
  display: block;
}
.pcard:hover .pcard__img img { transform: scale(1.06); }

.pcard__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,26,62,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.pcard:hover .pcard__overlay { opacity: 1; }

.pcard__open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.7);
  padding: 10px 20px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  transition: background .2s;
}
.pcard__open svg { width: 16px; height: 16px; }
.pcard__open:hover { background: rgba(255,255,255,0.15); }

.pcard__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 12px;
}
.pcard__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pcard__label {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pcard__tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .5px;
}
.pcard__count {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange-600);
  background: var(--orange-100);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .pboard { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pboard { grid-template-columns: 1fr; }
  .pcard__img { height: 200px; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }

.lb__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,14,36,0.96);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}

.lb__stage {
  position: relative;
  z-index: 2;
  max-width: calc(100vw - 160px);
  max-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb__img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  display: block;
  transition: opacity .2s ease;
}
.lb__img.is-loading { opacity: 0; }

.lb__close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lb__close:hover { background: rgba(255,255,255,0.2); }
.lb__close svg { width: 20px; height: 20px; }

.lb__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
}
.lb__nav:hover { background: rgba(255,255,255,0.2); }
.lb__nav svg { width: 22px; height: 22px; }
.lb__prev { left: 20px; }
.lb__next { right: 20px; }
.lb__nav:disabled { opacity: 0.25; pointer-events: none; }

.lb__footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 80px;
  background: linear-gradient(transparent, rgba(7,14,36,0.9));
}

.lb__info { display: flex; flex-direction: column; gap: 2px; }
.lb__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}
.lb__tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange-400);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.lb__counter {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
  .lb__stage { max-width: 100vw; max-height: calc(100vh - 140px); }
  .lb__prev { left: 8px; }
  .lb__next { right: 8px; }
  .lb__footer { padding: 14px 24px; }
  .lb__nav { width: 40px; height: 40px; }
}

/* ============================================================
   RESPONSIVE — COMPLEMENTARY FIXES
   ============================================================ */

/* Sobre: centraliza coluna de mídia no layout de 1 coluna */
@media (max-width: 1080px) {
  .sobre__media { margin: 0 auto; }
}

/* Modalidades: restaura padding horizontal quando cards empilham no mobile */
@media (max-width: 860px) {
  .pin__track { padding: 0 var(--pad) !important; }
}

/* Sobre: reposiciona badge e float para não ultrapassar a viewport em telas estreitas */
@media (max-width: 600px) {
  .sobre__badge { left: 0; top: 16px; padding: 14px 18px; }
  .sobre__badge b { font-size: 32px; }
  .sobre__media .img-float { right: 0; bottom: -20px; width: 50%; border-width: 4px; }
}

/* FAQ: reduz padding horizontal em telas pequenas */
@media (max-width: 600px) {
  .faq__q { padding: 20px 22px; font-size: 16.5px; }
  .faq__a-inner { padding: 0 22px 24px; }
}

/* Comparativo: reduz padding interno em telas pequenas */
@media (max-width: 560px) {
  .comp__head { padding: 20px 20px; }
  .comp li { padding: 14px 20px; font-size: 15px; }
}

/* CTAs: empilha botões em telas muito pequenas */
@media (max-width: 420px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .cta-final .actions { flex-direction: column; align-items: stretch; }
  .cta-final .actions .btn { justify-content: center; }
}

/* Footer: empilha linhas do rodapé em telas pequenas */
@media (max-width: 480px) {
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
}

/* Menu mobile: texto menor em telefones muito pequenos */
@media (max-width: 380px) {
  .mobile-menu a { font-size: 20px; padding: 10px; }
}

/* ============================================================
   FOOTER — botão-link
   ============================================================ */
.footer__link-btn {
  background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 15px;
  color: rgba(255,255,255,0.7); padding: 0;
  text-align: left;
  transition: color .2s;
}
.footer__link-btn:hover { color: var(--orange-400); }

/* ============================================================
   FORMULÁRIOS — modais popup
   ============================================================ */
.form-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(13,26,62,0.65);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease);
}
.form-overlay.open { opacity: 1; pointer-events: all; }

.form-modal {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 14px; width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  transform: translateY(24px);
  transition: transform .4s var(--ease);
  box-shadow: var(--shadow-lg);
}
.form-overlay.open .form-modal { transform: translateY(0); }

.form-modal-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 28px 28px 0;
}
.form-modal-header h2 { font-size: 20px; font-weight: 700; color: var(--blue-950); }
.form-modal-header p  { font-size: 14px; color: var(--gray-500); margin-top: 6px; }
.form-modal-close {
  background: none; border: 1px solid var(--gray-200); border-radius: 6px;
  cursor: pointer; font-size: 20px; color: var(--gray-500);
  padding: 2px 10px; line-height: 1.4; flex-shrink: 0; margin-left: 16px;
  transition: border-color .2s, color .2s;
}
.form-modal-close:hover { border-color: var(--gray-400); color: var(--blue-950); }

.form-modal form { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--gray-500);
}
.form-group input,
.form-group select {
  padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: 6px;
  font-family: var(--font); font-size: 15px; background: var(--white); color: var(--blue-950);
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus {
  outline: none; border-color: var(--blue-700);
  box-shadow: 0 0 0 3px rgba(27,50,122,0.1);
}
.form-group .file-label {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border: 1.5px dashed var(--gray-300); border-radius: 6px;
  background: var(--gray-50); cursor: pointer; font-size: 14px; color: var(--gray-500);
  transition: border-color .2s, color .2s;
}
.form-group .file-label:hover { border-color: var(--blue-700); color: var(--blue-700); }
.form-group input[type="file"] { display: none; }
.file-name { font-size: 12px; color: var(--gray-400); }

.form-submit {
  padding: 15px; background: var(--orange-500); color: var(--white);
  border: none; border-radius: 6px;
  font-family: var(--font); font-size: 14px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s;
  margin-top: 4px;
}
.form-submit:hover { background: var(--orange-600); transform: translateY(-1px); box-shadow: var(--shadow-orange); }
.form-submit:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.form-feedback { padding: 12px 14px; border-radius: 6px; font-size: 14px; display: none; }
.form-feedback.success { background: #f0faf4; border: 1px solid #a3d9b1; color: #1a6b35; }
.form-feedback.error   { background: #fdf2f2; border: 1px solid #e8b4b4; color: #8a2020; }

@media (max-width: 560px) {
  .form-modal-header, .form-modal form { padding-left: 20px; padding-right: 20px; }
}

/* ============================================================
   POLÍTICA DE PRIVACIDADE — modal
   ============================================================ */
.privacy-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(13,26,62,0.65);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.privacy-overlay.open { opacity: 1; pointer-events: all; }

.privacy-modal {
  background: var(--white); border-radius: 14px;
  width: 100%; max-width: 640px; max-height: 88vh;
  display: flex; flex-direction: column;
  transform: translateY(20px);
  transition: transform .35s var(--ease);
  box-shadow: var(--shadow-lg);
}
.privacy-overlay.open .privacy-modal { transform: translateY(0); }

.privacy-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px; border-bottom: 1px solid var(--gray-200); flex-shrink: 0;
}
.privacy-header h2 { font-size: 18px; font-weight: 700; color: var(--blue-950); }
.privacy-close {
  background: none; border: 1px solid var(--gray-200); border-radius: 6px;
  cursor: pointer; font-size: 20px; color: var(--gray-500);
  padding: 2px 10px; line-height: 1.4;
  transition: border-color .2s, color .2s;
}
.privacy-close:hover { border-color: var(--gray-400); color: var(--blue-950); }

.privacy-body {
  overflow-y: auto; padding: 26px 28px;
  font-size: 14px; line-height: 1.85; color: var(--gray-600);
}
.privacy-body h3 {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--blue-950); margin: 24px 0 8px;
}
.privacy-body p, .privacy-body ul { margin-bottom: 14px; }
.privacy-body ul { padding-left: 20px; }
.privacy-body strong { color: var(--blue-950); font-weight: 600; }

@media (max-width: 560px) {
  .privacy-header, .privacy-body { padding-left: 20px; padding-right: 20px; }
}

/* ============================================================
   COOKIE BAR — aviso de cookies
   ============================================================ */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: var(--blue-950);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform .5s var(--ease);
}
.cookie-bar.is-visible { transform: translateY(0); }
.cookie-bar__text {
  font-size: 13.5px; color: rgba(255,255,255,0.7); flex: 1 1 280px; line-height: 1.55;
}
.cookie-bar__text button {
  background: none; border: none; padding: 0; cursor: pointer;
  color: var(--orange-400); font-size: inherit; font-family: inherit;
  text-decoration: underline; text-underline-offset: 3px;
}
.cookie-bar__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cookie-bar__accept {
  background: var(--orange-500); color: var(--white); border: none; border-radius: 6px;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  padding: 10px 24px; cursor: pointer;
  transition: background .2s, transform .2s;
}
.cookie-bar__accept:hover { background: var(--orange-600); transform: translateY(-1px); }
.cookie-bar__decline {
  background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 13px; color: rgba(255,255,255,0.45);
  padding: 10px 4px;
  transition: color .2s;
}
.cookie-bar__decline:hover { color: rgba(255,255,255,0.8); }

/* ============================================================
   LINHAS DECORATIVAS — SVG STROKE DRAW
   ============================================================ */
.bg-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  transform: translateZ(0);
}
.bg-line path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  will-change: opacity;
  transition: opacity 1.4s ease 0.2s;
}
.bg-line path:nth-child(2) {
  transition-delay: 0.5s;
}
.bg-line.is-drawn path {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .bg-line path { opacity: 1 !important; transition: none !important; }
}
