/* ============================================
   F5 ENGENHARIA — STYLE.CSS
   Identidade: Azul petróleo + Colchetes [ ]
   Inspiração: Cubo Engenharia + Docs oficiais F5
   ============================================ */

/* ---- RESET ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Paleta F5 — extraída do PDF */
  --blue: #2b5c84;
  --blue-dark: #1e3a56;
  --blue-deeper: #162b40;
  --blue-light: #3a7ab5;
  --blue-pale: rgba(43, 92, 132, 0.08);
  --blue-pale-2: rgba(43, 92, 132, 0.15);

  --gold: #c9a84c;
  --gold-light: rgba(201, 168, 76, 0.15);

  --white: #ffffff;
  --off-white: #f7f6f4;
  --gray-100: #edecea;
  --gray-200: #d8d6d2;
  --gray-300: #a8a5a0;
  --gray-400: #6b6862;
  --gray-500: #4a4742;
  --dark: #1a1a1a;

  /* Status Kanban */
  --red: #d94f4f;
  --yellow: #e6b422;
  --green: #3fb56b;

  /* Tipografia */
  --font-heading: 'DM Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Espaçamento */
  --section-py: 120px;
  --container: 1200px;

  /* Transições */
  --ease: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Bordas */
  --radius: 8px;
  --radius-lg: 16px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-500);
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--ease); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- TIPOGRAFIA ---- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--blue-dark);
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

.section-title {
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-400);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 64px;
}

/* Tag com colchetes — motivo visual F5 */
.section-tag {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-tag.center { text-align: center; }

/* Colchetes — elemento de marca */
.bracket {
  color: var(--blue-light);
  font-weight: 300;
}

/* ---- BOTÕES ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--ease);
  text-decoration: none;
  gap: 4px;
  white-space: nowrap;
}

.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 0.95rem; }
.btn-block { display: flex; width: 100%; }

.btn-accent {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-accent:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43, 92, 132, 0.3);
}

.btn-white {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--ease);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo — [F5] engenharia */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  display: flex;
  align-items: center;
  gap: 2px;
}

.logo-bracket {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--blue);
  line-height: 1;
}

.logo-f5 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--blue-dark);
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--blue);
  letter-spacing: 0.01em;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-400);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: var(--ease);
}

.nav-links a:hover { color: var(--blue-dark); }
.nav-links a:hover::after { width: 100%; }

.nav-links a.active-link { color: var(--blue); }
.nav-links a.active-link::after { width: 100%; }

.nav-cta { display: flex; }
.nav-cta-mobile { display: none; }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: var(--ease);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-light) 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 80%, rgba(0, 0, 0, 0.15) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 140px 0 100px;
  max-width: 720px;
}

.hero-bracket-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

.hero-bracket-tag .bracket {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.1rem;
  font-weight: 300;
}

.hero h1 {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.25;
  overflow-wrap: break-word;
}

.hero h1 .text-white { color: var(--white); }

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Bracket decorativo gigante */
.hero-bracket-decor {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  display: flex;
  gap: clamp(60px, 10vw, 160px);
  pointer-events: none;
}

.hero-bracket-decor span {
  font-family: var(--font-heading);
  font-size: clamp(200px, 25vw, 380px);
  font-weight: 100;
  color: rgba(255, 255, 255, 0.04);
  line-height: 0.85;
}

/* ============================================
   SOBRE
   ============================================ */
.sobre {
  padding: var(--section-py) 0;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.sobre-image-box {
  position: relative;
}

.sobre-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.sobre-accent-box {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.bracket-sm {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--blue);
}

.sobre-accent-box strong {
  display: block;
  font-size: 0.9rem;
  color: var(--blue-dark);
}

.sobre-accent-box span {
  font-size: 0.8rem;
  color: var(--gray-300);
}

.sobre-text h2 {
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.sobre-desc {
  color: var(--gray-400);
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.8;
}

.sobre-valores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.valor-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-pale);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue-dark);
}

.valor-bracket {
  color: var(--blue-light);
  font-weight: 300;
  font-size: 1rem;
}

/* ============================================
   SERVIÇOS
   ============================================ */
.servicos {
  padding: var(--section-py) 0;
  background: var(--off-white);
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.servico-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--ease);
  border: 1px solid var(--gray-100);
  position: relative;
}

.servico-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(43, 92, 132, 0.1);
  border-color: transparent;
}

.servico-card.destaque {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: rgba(255, 255, 255, 0.7);
}

.servico-card.destaque h3 { color: var(--white); }
.servico-card.destaque .servico-num { color: var(--gold); }
.servico-card.destaque .servico-line { background: var(--gold); }
.servico-card.destaque .servico-link { color: var(--gold); }
.servico-card.destaque .servico-link .bracket { color: rgba(201, 168, 76, 0.5); }
.servico-card.destaque .servico-lista li::before { color: var(--gold); }

.servico-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.servico-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -0.03em;
  line-height: 1;
}

.servico-line {
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.servico-card h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.servico-card p {
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 0.95rem;
}

.servico-lista {
  margin-bottom: 24px;
}

.servico-lista li {
  padding: 6px 0;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.servico-lista li::before {
  content: '—';
  color: var(--blue);
  font-weight: 300;
}

.servico-link {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--blue);
}

.servico-link .bracket {
  font-weight: 300;
  transition: var(--ease);
}

.servico-link:hover .bracket { letter-spacing: 2px; }

/* ============================================
   GESTÃO DA OBRA (Kanban)
   ============================================ */
.gestao {
  padding: var(--section-py) 0;
}

.gestao-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.gestao h2 {
  margin-bottom: 16px;
}

.gestao-desc {
  color: var(--gray-400);
  line-height: 1.8;
  font-size: 1rem;
}

/* Kanban Board */
.gestao-kanban {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-100);
}

.kanban-header {
  background: var(--blue-dark);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}

.kanban-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kanban-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kanban-metrics {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.metric {
  display: flex;
  align-items: center;
  gap: 12px;
}

.metric span {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  min-width: 90px;
  text-align: right;
}

.metric-dots {
  display: flex;
  gap: 4px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
}

.dot.filled {
  background: var(--green);
  border-color: var(--green);
}

.kanban-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.kanban-col {
  padding: 20px 16px;
  min-height: 200px;
  border-right: 1px solid var(--gray-100);
}

.kanban-col:last-child { border-right: none; }

.kanban-col-header {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.kanban-col-header.a-fazer { background: rgba(217, 79, 79, 0.12); color: var(--red); }
.kanban-col-header.fazendo { background: rgba(230, 180, 34, 0.12); color: var(--yellow); }
.kanban-col-header.feito { background: rgba(63, 181, 107, 0.12); color: var(--green); }

.kanban-card {
  background: var(--off-white);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-500);
  margin-bottom: 8px;
  border-left: 3px solid transparent;
}

.kanban-card.active { border-left-color: var(--yellow); }
.kanban-card.done {
  border-left-color: var(--green);
  color: var(--gray-300);
  text-decoration: line-through;
}

/* ============================================
   PORTFÓLIO
   ============================================ */
.portfolio {
  padding: var(--section-py) 0;
  background: var(--off-white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--ease);
}

.portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }

.portfolio-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--ease-slow);
}

.portfolio-card:hover .portfolio-img img {
  transform: scale(1.03);
}

/* Tag overlay */
.portfolio-info {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.portfolio-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(22, 43, 64, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 4px;
}

/* Card nav arrows */
.portfolio-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  color: var(--blue-dark);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  transition: var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.portfolio-card:hover .portfolio-nav { opacity: 1; }
.portfolio-nav:hover { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
.portfolio-nav.prev { left: 10px; }
.portfolio-nav.next { right: 10px; }

/* Dots */
.portfolio-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
  opacity: 0;
  transition: var(--ease);
}

.portfolio-card:hover .portfolio-dots { opacity: 1; }

.portfolio-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: var(--ease);
  padding: 0;
}

.portfolio-dots .dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* ---- LIGHTBOX ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  transition: var(--ease);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 2.4rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--ease);
  line-height: 1;
}

.lightbox-close:hover { color: var(--white); transform: scale(1.1); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  transition: var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lightbox-nav:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ============================================
   PROCESSO
   ============================================ */
.processo {
  padding: var(--section-py) 0;
}

.processo-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.processo-step {
  display: flex;
  align-items: stretch;
  text-align: center;
  transition: var(--ease);
}

.processo-step:hover { transform: translateY(-4px); }

.step-bracket {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 200;
  color: var(--blue-light);
  display: flex;
  align-items: center;
  line-height: 1;
  opacity: 0.4;
  transition: var(--ease);
}

.processo-step:hover .step-bracket { opacity: 1; }

.step-content {
  flex: 1;
  padding: 28px 12px;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 12px;
}

.processo-step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.processo-step p {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ============================================
   CONTATO
   ============================================ */
.contato {
  padding: var(--section-py) 0;
  background: var(--off-white);
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contato-info h2 {
  margin-bottom: 16px;
}

.contato-desc {
  color: var(--gray-400);
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.8;
}

.contato-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--white);
  transition: var(--ease);
  border: 1px solid var(--gray-100);
}

a.channel:hover {
  border-color: var(--blue);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(43, 92, 132, 0.08);
}

.channel-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}

.channel-icon.whatsapp-icon {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
}

.channel-text strong {
  display: block;
  font-size: 0.82rem;
  color: var(--blue-dark);
  font-weight: 600;
}

.channel-text span {
  font-size: 0.88rem;
  color: var(--gray-400);
}

/* CTA Card */
.contato-cta-card {
  background: var(--blue-dark);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: var(--white);
  position: sticky;
  top: 120px;
  overflow: hidden;
}

.cta-bracket-top,
.cta-bracket-bottom {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 100;
  color: rgba(255, 255, 255, 0.06);
  line-height: 0.8;
  position: absolute;
}

.cta-bracket-top { top: 16px; left: 24px; }
.cta-bracket-bottom { bottom: 16px; right: 24px; }

.contato-cta-card h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 12px;
  position: relative;
}

.contato-cta-card p {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 28px;
  line-height: 1.7;
  position: relative;
}

.contato-cta-card .btn { position: relative; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--blue-deeper);
  color: rgba(255, 255, 255, 0.5);
  padding: 72px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .logo { margin-bottom: 16px; display: inline-flex; }
.footer-brand .logo-bracket { color: rgba(255, 255, 255, 0.4); }
.footer-brand .logo-f5 { color: var(--white); }
.footer-brand .logo-text { color: rgba(255, 255, 255, 0.5); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 280px; }

.footer-links h4 {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.footer-links a {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.2);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--ease);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger */
.servicos-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.servicos-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.processo-steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.processo-steps .reveal:nth-child(3) { transition-delay: 0.16s; }
.processo-steps .reveal:nth-child(4) { transition-delay: 0.24s; }
.processo-steps .reveal:nth-child(5) { transition-delay: 0.32s; }

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 1024px) {
  :root { --section-py: 80px; }

  .hero-bracket-decor { display: none; }

  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .sobre-image { max-width: 400px; }

  .servicos-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .gestao-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .processo-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .contato-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contato-cta-card { position: static; }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }

  /* Navbar vira azul quando menu abre */
  .navbar.menu-open {
    background: #1e3a56;
    box-shadow: none;
  }

  .navbar.menu-open .logo-bracket { color: rgba(255, 255, 255, 0.5); }
  .navbar.menu-open .logo-f5 { color: var(--white); }
  .navbar.menu-open .logo-text { color: rgba(255, 255, 255, 0.6); }

  /* Menu fullscreen */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #1e3a56;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 4vh, 32px);
    z-index: 999;
    overflow-y: auto;
    padding: 90px 24px 40px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: clamp(1.15rem, 4vw, 1.4rem);
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.01em;
    padding: 4px 0;
  }

  .nav-links a:hover {
    color: var(--white);
  }

  .nav-links a::after {
    background: var(--blue-light);
  }

  .nav-links a.active-link {
    color: var(--blue-light);
  }

  .nav-links a.active-link::after {
    width: 100%;
    background: var(--blue-light);
  }

  .nav-cta { display: none; }

  /* CTA inside mobile menu */
  .nav-links .nav-cta-mobile {
    display: flex;
    margin-top: 12px;
    background: var(--white);
    color: var(--blue-dark);
    border-color: var(--white);
    font-size: clamp(0.9rem, 3vw, 1rem);
    font-weight: 700;
    padding: 16px 36px;
    border-radius: var(--radius);
    white-space: normal;
    text-align: center;
  }

  .nav-links .nav-cta-mobile:hover {
    background: var(--off-white);
    border-color: var(--off-white);
  }

  .menu-toggle { display: flex; z-index: 1001; }

  /* Hamburger icon turns white when menu is open */
  .menu-toggle.active span {
    background: var(--white);
  }

  .hero {
    min-height: auto;
    overflow: visible;
  }

  .hero-content {
    max-width: 100%;
    padding: 100px 0 48px;
  }

  /* Mesmo tamanho do h2 / .section-title */
  .hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 12px;
    line-height: 1.15;
  }

  .hero h1 br { display: none; }

  /* Mesmo tamanho do .section-subtitle */
  .hero-subtitle {
    font-size: 1.05rem;
    max-width: 100%;
    margin-bottom: 24px;
    line-height: 1.7;
  }

  .hero-cta {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    font-size: 0.88rem;
    padding: 12px 20px;
    line-height: 1.4;
  }

  .sobre-accent-box {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 16px;
  }

  .sobre-valores { justify-content: center; }

  .portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .portfolio-nav { opacity: 1; }
  .portfolio-dots { opacity: 1; }

  .lightbox-nav { width: 44px; height: 44px; font-size: 1.3rem; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 16px; right: 16px; font-size: 2rem; padding: 8px; }

  .processo-steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .step-bracket { font-size: 2.2rem; }

  .kanban-columns { grid-template-columns: 1fr; }
  .kanban-col { border-right: none; border-bottom: 1px solid var(--gray-100); min-height: auto; }
  .kanban-col:last-child { border-bottom: none; }

  .kanban-header { flex-direction: column; gap: 16px; }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-brand p { max-width: 100%; }

  .contato-cta-card { padding: 36px 28px; }
}

@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .hero-content { padding: 90px 0 36px; }
  .servico-card { padding: 28px 20px; }
}
