/* ============================================================
   SVC Construções — Design System
   Corporate Clean · Teal #4ECDC4 + Slate Navy
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,700;0,900;1,700&display=swap');

@font-face {
  font-family: 'STANDOUT';
  src: url('../Portif%C3%B3lio/standout/STANDOUT.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

/* ---- Variables ---- */
:root {
  --teal:        #4ECDC4;
  --teal-dark:   #3ABDB5;
  --teal-glow:   rgba(78,205,196,.12);
  --navy:        #0f172a;
  --navy-mid:    #1e293b;
  --navy-light:  #2d3a4f;
  --slate-600:   #475569;
  --slate-400:   #94a3b8;
  --slate-200:   #e2e8f0;
  --slate-100:   #f1f5f9;
  --slate-50:    #f8fafc;
  --white:       #ffffff;
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'Inter', system-ui, sans-serif;
  --ease-out:    cubic-bezier(.16,1,.3,1);
  --ease-std:    cubic-bezier(.4,0,.2,1);
  --t300:        300ms var(--ease-std);
  --t600:        600ms var(--ease-out);
}

/* ---- Reset ---- */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--sans);background:var(--white);color:var(--navy);line-height:1.6;overflow-x:hidden}
img{display:block;max-width:100%;height:auto}
a{text-decoration:none;color:inherit}
ul,ol{list-style:none}
button{border:none;background:none;cursor:pointer;font-family:inherit}
input,textarea,select{font-family:inherit}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  will-change: transform;
}

/* Top bar */
.header-topbar {
  background: var(--navy-mid);
  padding: 7px 0;
  max-height: 42px;
  overflow: hidden;
  transition: max-height var(--t300), padding var(--t300), opacity var(--t300);
}

.topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,.65);
}

.topbar-left { display: flex; gap: 24px; }
.topbar-left a, .topbar-right {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.65);
  transition: color var(--t300);
}
.topbar-left a:hover { color: var(--teal); }

.topbar-left svg, .topbar-right svg { width: 13px; height: 13px; color: var(--teal); }

/* Main bar */
.header-main {
  background: var(--white);
  border-bottom: 2px solid var(--teal);
  transition: padding var(--t300), box-shadow var(--t300);
  padding: 14px 0;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 48px;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 54px;
  width: auto;
  transition: height var(--t300);
}

/* Nav */
.main-nav { flex: 1; }

.nav-list {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 8px 2px;
  white-space: nowrap;
  transition: color var(--t300);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t300);
}

.nav-link:hover, .nav-link.active { color: var(--teal); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-chevron {
  width: 12px; height: 12px;
  transition: transform var(--t300);
  flex-shrink: 0;
}

.nav-item:hover .nav-chevron { transform: rotate(180deg); }

/* Bridge invisível que cobre o vão entre link e dropdown */
.nav-item::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 12px;
  bottom: -12px;            /* cobre o vão abaixo do link */
  background: transparent;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  margin-top: 12px;         /* vão visual — coberto pelo bridge acima */
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-top: 2px solid var(--teal);
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
  min-width: 230px;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  transition: clip-path 260ms var(--ease-out);
  pointer-events: none;
  z-index: 100;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: auto;
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-600);
  border-bottom: 1px solid var(--slate-100);
  transition: all 180ms ease;
  position: relative;
  overflow: hidden;
}

.dropdown a::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--teal);
  transform: scaleY(0);
  transition: transform 180ms ease;
}

.dropdown a:hover {
  background: var(--slate-50);
  color: var(--navy);
  padding-left: 28px;
}

.dropdown a:hover::before { transform: scaleY(1); }
.dropdown a:last-child { border-bottom: none; }

.dropdown-icon {
  width: 14px; height: 14px;
  color: var(--teal);
  flex-shrink: 0;
}

/* Scrolled */
.site-header.is-scrolled .header-topbar {
  max-height: 0;
  padding: 0;
  opacity: 0;
}

.site-header.is-scrolled .header-main {
  padding: 8px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
}

.site-header.is-scrolled .site-logo img { height: 40px; }

.site-header.is-scrolled .nav-link { font-size: 12px; }

/* Page offset */
.page-top-offset { padding-top: 122px; }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 12px;
  padding: 14px 32px;
  transition: all var(--t300);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn svg { width: 16px; height: 16px; }

.btn-primary { background: var(--teal); color: var(--navy); border-color: var(--teal); }
.btn-primary:hover { background: transparent; color: var(--teal); }

.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { background: var(--teal); color: var(--navy); border-color: var(--teal); }

.btn-outline-teal { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline-teal:hover { background: var(--teal); color: var(--navy); }

.btn-dark { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-dark:hover { background: transparent; color: var(--navy); }

/* ============================================================
   LAYOUT
   ============================================================ */

.container { max-width: 1200px; margin: 0 auto; }
.container-wide { max-width: 1400px; margin: 0 auto; }

.section { padding: 96px 40px; }
.section-sm { padding: 64px 40px; }

.section-white { background: var(--white); }
.section-gray  { background: var(--slate-50); }
.section-dark  { background: var(--navy); color: var(--white); }
.section-navy  { background: var(--navy-mid); color: var(--white); }

/* Section header */
.section-head { text-align: center; margin-bottom: 56px; }
.section-head-left { text-align: left; margin-bottom: 56px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.eyebrow::before, .eyebrow::after {
  content: '';
  width: 24px; height: 1px;
  background: var(--teal);
}
.section-head-left .eyebrow::before { display: none; }

.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-dark  .section-title,
.section-navy  .section-title { color: var(--white); }

.section-subtitle {
  font-size: 16px;
  color: var(--slate-600);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-dark  .section-subtitle,
.section-navy  .section-subtitle { color: rgba(255,255,255,.6); }

.section-head-left .section-subtitle { margin: 0; }

.teal-bar {
  width: 48px; height: 3px;
  background: var(--teal);
  margin: 16px auto;
}

.section-head-left .teal-bar { margin-left: 0; }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 122px; /* reserva espaço para o header fixo */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 8s ease;
  will-change: transform;
}
.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(15,23,42,.88) 0%,
    rgba(15,23,42,.65) 55%,
    rgba(15,23,42,.28) 100%);
}

/* Motion grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(78,205,196,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78,205,196,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0;
  animation: gridFadeIn 1.2s ease 0.6s forwards;
}

@keyframes gridFadeIn {
  to { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px 100px;
  width: 100%;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 24px;
  opacity: 0;
  animation: heroFadeUp .8s var(--ease-out) .3s forwards;
  background: rgba(78,205,196,.08);
  display: inline-flex;
  padding: 6px 14px 6px 6px;
  border-left: 3px solid var(--teal);
}

.hero-eyebrow::before { display: none; }

.hero h1 {
  font-family: var(--sans);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 720px;
  opacity: 0;
  animation: heroFadeUp .8s var(--ease-out) .5s forwards;
}

.hero h1 em { color: var(--teal); font-style: normal; }

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,.72);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 36px;
  opacity: 0;
  animation: heroFadeUp .8s var(--ease-out) .7s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp .8s var(--ease-out) .9s forwards;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Stats bar */
.hero-stats {
  position: relative;
  z-index: 3;
  background: rgba(15,23,42,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(78,205,196,.2);
}

.hero-stats-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-cell {
  padding: 24px 16px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.07);
}

.stat-cell:last-child { border-right: none; }

.stat-number {
  font-family: var(--sans);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 10px;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ============================================================
   QUICK LINKS
   ============================================================ */

/* ============================================================
   SVC TAGLINE SEQUENCE (Motion)
   ============================================================ */

.svc-tagline {
  background: var(--navy);
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(78,205,196,.12);
}

/* grid de fundo igual ao hero */
.svc-tagline::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(78,205,196,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78,205,196,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.svc-tagline-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

#svcTaglineText {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  font-family: var(--sans);
  font-size: clamp(20px, 2.8vw, 36px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  white-space: nowrap;
  user-select: none;
  gap: 0;
}

.sq-char,
.sq-space {
  display: inline-block;
  will-change: transform, opacity;
}

.sq-init {
  color: var(--white);
}

#svcTaglineLogo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;             /* JS controla a revelação */
  transform: scale(0.88);
}

#svcTaglineLogo img {
  height: 72px;
  width: auto;
  filter: drop-shadow(0 0 24px rgba(78,205,196,.35));
}

/* ============================================================
   QUICK LINKS
   ============================================================ */

.quick-links-wrap {
  position: relative;
  z-index: 10;
  background: var(--white);
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
}

.ql-card {
  background: var(--white);
  padding: 36px 32px;
  border-right: 1px solid var(--slate-200);
  transition: all var(--t300);
  display: block;
  color: inherit;
}

.ql-card:last-child { border-right: none; }

.ql-card:hover { background: var(--teal); }
.ql-card:hover .ql-icon { background: var(--navy); }
.ql-card:hover .ql-icon svg { color: var(--teal); }
.ql-card:hover .ql-title { color: var(--navy); }
.ql-card:hover .ql-text { color: rgba(15,23,42,.75); }

.ql-icon {
  width: 54px; height: 54px;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background var(--t300);
}

.ql-icon svg { width: 24px; height: 24px; color: var(--teal); transition: color var(--t300); }

.ql-title {
  font-size: 18px; font-weight: 700;
  color: var(--navy); margin-bottom: 8px;
  transition: color var(--t300);
}

.ql-text {
  font-size: 13px;
  color: var(--slate-600);
  line-height: 1.65;
  transition: color var(--t300);
}

/* ============================================================
   ABOUT GRID
   ============================================================ */

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

.about-img-wrap { position: relative; }

.about-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* Watermark da logomarca sobre foto */
.about-img-wm {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 58%;
  height: auto;
  opacity: 0.09;
  filter: brightness(0) invert(1);
  pointer-events: none;
  user-select: none;
}

.about-badge {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--teal);
  color: var(--navy);
  padding: 24px 28px;
  text-align: center;
  min-width: 120px;
}

.badge-num {
  font-family: var(--sans);
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
}

.badge-txt {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 4px;
  display: block;
}

.about-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(78,205,196,.3);
}

.about-eyebrow::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--teal);
  flex-shrink: 0;
}

.about-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-dark .about-title { color: var(--white); }

.about-text {
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.section-dark .about-text { color: rgba(255,255,255,.68); }

.about-list { margin: 20px 0; }

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--slate-600);
  margin-bottom: 10px;
}

.section-dark .about-list li { color: rgba(255,255,255,.68); }

.about-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */

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

.svc-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 36px 28px;
  transition: all var(--t300);
  position: relative;
  overflow: hidden;
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t300);
}

.svc-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,.1);
  transform: translateY(-4px);
  border-color: transparent;
}

.svc-card:hover::before { transform: scaleX(1); }

.svc-icon {
  width: 64px; height: 64px;
  background: var(--teal-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background var(--t300);
}

.svc-card:hover .svc-icon { background: var(--teal); }

.svc-icon svg {
  width: 28px; height: 28px;
  color: var(--teal);
  transition: color var(--t300);
}

.svc-card:hover .svc-icon svg { color: var(--navy); }

.svc-title {
  font-size: 18px; font-weight: 700;
  color: var(--navy); margin-bottom: 12px;
}

.svc-text {
  font-size: 13.5px;
  color: var(--slate-600);
  line-height: 1.7;
}

/* ============================================================
   PROJECT CARDS
   ============================================================ */

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

.proj-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
  transition: all var(--t300);
}

.proj-card:hover {
  box-shadow: 0 20px 56px rgba(0,0,0,.14);
  transform: translateY(-6px);
}

.proj-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.proj-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.proj-card:hover .proj-img img { transform: scale(1.07); }

.proj-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.45) 0%, transparent 55%);
}

.proj-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--teal);
  color: var(--navy);
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.proj-body { padding: 22px 24px; }

.proj-km {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.proj-title {
  font-size: 17px; font-weight: 700;
  color: var(--navy); margin-bottom: 8px;
}

.proj-desc {
  font-size: 13px;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ============================================================
   NUMBERS BANNER
   ============================================================ */

.numbers-banner {
  background: var(--navy-mid);
  padding: 88px 40px;
  position: relative;
  overflow: hidden;
}

.numbers-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(78,205,196,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78,205,196,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.numbers-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.num-cell {
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid rgba(78,205,196,.12);
  transition: background var(--t300);
}

.num-cell:last-child { border-right: none; }
.num-cell:hover { background: rgba(78,205,196,.04); }

.num-value {
  font-family: var(--sans);
  font-size: 58px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 12px;
}

.num-label {
  font-size: 10px;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: 2.5px;
}

/* ============================================================
   VALUES
   ============================================================ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.val-card {
  text-align: center;
  padding: 44px 24px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  transition: all var(--t300);
}

.val-card:hover {
  border-color: var(--teal);
  box-shadow: 0 10px 32px rgba(78,205,196,.1);
  transform: translateY(-3px);
}

.val-icon {
  width: 72px; height: 72px;
  background: var(--teal-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: background var(--t300);
}

.val-card:hover .val-icon { background: var(--teal); }

.val-icon svg { width: 30px; height: 30px; color: var(--teal); transition: color var(--t300); }
.val-card:hover .val-icon svg { color: var(--navy); }

.val-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.val-text { font-size: 13px; color: var(--slate-600); line-height: 1.65; }

/* ============================================================
   CLIENTS
   ============================================================ */

.clients-wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--slate-200);
}

.client-cell {
  background: var(--white);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100px;
  transition: all var(--t300);
  position: relative;
}

.client-cell::after {
  content: '';
  position: absolute;
  bottom: 0; left: 20%; right: 20%;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform var(--t300);
}

.client-cell:hover::after { transform: scaleX(1); }

.client-cell:hover {
  background: var(--slate-50);
}

.client-cell strong,
.client-cell > :first-child {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  display: block;
  margin-bottom: 4px;
  letter-spacing: .3px;
}

.client-cell small {
  font-size: 10px;
  font-weight: 500;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */

.page-hero {
  height: 360px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(15,23,42,.88) 0%,
    rgba(15,23,42,.52) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
  width: 100%;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.breadcrumb a { color: var(--teal); }
.breadcrumb a:hover { opacity: .8; }
.breadcrumb-sep { color: rgba(255,255,255,.3); }

.page-hero-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
}

.page-hero-title em { color: var(--teal); font-style: normal; }

/* ============================================================
   TIMELINE
   ============================================================ */

.timeline { position: relative; padding-left: 32px; }

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), rgba(78,205,196,.1));
}

.tl-item {
  position: relative;
  padding-bottom: 36px;
}

.tl-item::before {
  content: '';
  position: absolute;
  left: -36px; top: 6px;
  width: 10px; height: 10px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(78,205,196,.2);
}

.tl-year {
  font-size: 11px; font-weight: 800;
  color: var(--teal); text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 4px;
}

.tl-title {
  font-size: 15px; font-weight: 700;
  color: var(--navy); margin-bottom: 6px;
}

.section-dark .tl-title { color: var(--white); }

.tl-text {
  font-size: 13px; color: var(--slate-600); line-height: 1.6;
}

.section-dark .tl-text { color: rgba(255,255,255,.6); }

/* ============================================================
   CONTACT
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
  max-width: 640px;
  margin: 0 auto;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.contact-info-card:last-child { border-bottom: none; }

.ci-icon {
  width: 44px; height: 44px;
  background: rgba(78,205,196,.1);
  border: 1px solid rgba(78,205,196,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}

.ci-icon svg { width: 18px; height: 18px; }

.ci-label {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--teal); margin-bottom: 4px;
}

.ci-value {
  font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.5;
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--slate-400);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--white);
  font-size: 14px;
  outline: none;
  transition: border-color var(--t300), box-shadow var(--t300);
}

.form-control::placeholder { color: rgba(255,255,255,.3); }

.form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(78,205,196,.1);
}

textarea.form-control { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ============================================================
   PORTAL
   ============================================================ */

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
}

.portal-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 48px 40px;
  text-align: center;
  transition: all var(--t300);
  display: block;
}

.portal-card:hover {
  border-color: var(--teal);
  box-shadow: 0 12px 40px rgba(78,205,196,.12);
  transform: translateY(-4px);
}

.portal-icon {
  width: 80px; height: 80px;
  background: var(--teal-glow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  transition: background var(--t300);
}

.portal-card:hover .portal-icon { background: var(--teal); }
.portal-icon svg { width: 36px; height: 36px; color: var(--teal); transition: color var(--t300); }
.portal-card:hover .portal-icon svg { color: var(--navy); }

.portal-title { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.portal-text { font-size: 13px; color: var(--slate-600); line-height: 1.6; margin-bottom: 24px; }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer { background: var(--navy); }

.footer-main { padding: 80px 40px; }

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
}

.footer-logo img { height: 38px; margin-bottom: 20px; }

.footer-brand-p {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.8;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--teal);
  font-style: italic;
  line-height: 1.6;
}

.footer-col-h {
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2.5px;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(78,205,196,.25);
  display: inline-block;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  display: flex; align-items: center; gap: 8px;
  transition: all 180ms ease;
}

.footer-links a::before {
  content: '›';
  color: var(--teal); font-size: 16px; line-height: 1;
}

.footer-links a:hover { color: var(--teal); padding-left: 4px; }

.footer-contact-row {
  display: flex; gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-contact-row svg {
  width: 14px; height: 14px;
  color: var(--teal); flex-shrink: 0; margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  background: var(--navy-mid);
  padding: 20px 40px;
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,.35);
}

.cert-badges { display: flex; gap: 10px; }

.cert-badge {
  background: rgba(78,205,196,.1);
  border: 1px solid rgba(78,205,196,.2);
  color: var(--teal);
  padding: 3px 10px;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 640ms var(--ease-out), transform 640ms var(--ease-out);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }
.reveal-d4 { transition-delay: 320ms; }
.reveal-d5 { transition-delay: 400ms; }
.reveal-d6 { transition-delay: 480ms; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid   { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .about-grid     { grid-template-columns: 1fr; gap: 48px; }
  .numbers-grid   { grid-template-columns: repeat(2, 1fr); }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .clients-wrap   { grid-template-columns: repeat(3, 1fr); }
  .portal-grid    { grid-template-columns: repeat(2, 1fr); max-width: 720px; }
}

/* ============================================================
   MOBILE HAMBURGER + DRAWER NAV
   ============================================================ */

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
  background: none;
  border: none;
  margin-left: auto;
  flex-shrink: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 280ms var(--ease-std), opacity 180ms ease;
  transform-origin: center;
}

.mobile-menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.is-open { display: flex; }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(78,205,196,.15);
  flex-shrink: 0;
}
.mobile-nav-logo img { height: 36px; }

.mobile-nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--white);
  cursor: pointer;
  font-size: 20px;
  transition: background 200ms ease, color 200ms ease;
}
.mobile-nav-close:hover { background: rgba(78,205,196,.15); color: var(--teal); }

.mobile-nav-body { flex: 1; padding: 16px 24px 32px; }

.mobile-nav-list { list-style: none; }
.mobile-nav-item { border-bottom: 1px solid rgba(255,255,255,.07); }

.mobile-nav-link {
  display: block;
  font-size: 17px; font-weight: 700;
  color: var(--white);
  padding: 16px 0;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: color 180ms ease;
}
.mobile-nav-link:hover { color: var(--teal); }

.mobile-nav-group {
  display: block;
  font-size: 12px; font-weight: 700;
  color: var(--teal);
  padding: 16px 0 6px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.mobile-nav-sub {
  padding: 0 0 14px 12px;
  border-left: 2px solid rgba(78,205,196,.25);
}
.mobile-nav-sub a {
  display: block;
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.65);
  padding: 8px 12px;
  transition: color 180ms ease;
}
.mobile-nav-sub a:hover { color: var(--teal); }

.mobile-nav-cta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ============================================================
   @media 768px
   ============================================================ */

@media (max-width: 768px) {
  .header-topbar  { display: none; }
  .main-nav       { display: none; }
  .mobile-menu-btn { display: flex; }

  .quick-links-grid { grid-template-columns: 1fr; }
  .services-grid  { grid-template-columns: 1fr; }
  .values-grid    { grid-template-columns: 1fr; }
  .projects-grid  { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid   { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .portal-grid    { grid-template-columns: 1fr; }

  .hero           { padding-top: 82px; } /* topbar oculta no mobile */
  .hero-content   { padding: 0 24px 80px; }
  .hero-stats-inner { padding: 0 16px; }
  .hero h1        { font-size: 36px; letter-spacing: -0.02em; }
  .hero-actions   { flex-direction: column; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-cell      { padding: 16px 10px; }
  .stat-number    { font-size: 28px; }
  .stat-label     { font-size: 9px; letter-spacing: 1px; }

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

  .section        { padding: 56px 24px; }
  .section-sm     { padding: 36px 24px; }
  .numbers-banner { padding: 52px 24px; }
  .page-hero      { height: 260px; }
  .page-hero-content { padding: 28px 24px; }
  .about-badge    { display: none; }
  .svc-tagline    { height: 200px; }

  .footer-main    { padding: 48px 24px; }
  .footer-bottom  { padding: 16px 24px; }
  .footer-bottom-inner { flex-direction: column; gap: 10px; text-align: center; }

  #svcTaglineText { font-size: clamp(16px, 5vw, 28px); }
}

/* ═══════════════════════════════════════════════════════════
   GALERIAS HORIZONTAIS
═══════════════════════════════════════════════════════════ */
.galeria-section { padding: 10px 0; overflow: visible; line-height: 0; }
.galeria-wrap    { overflow-x: hidden; overflow-y: visible; width: 100%; }
.galeria-strip   { display: flex; gap: 10px; width: max-content; }
.galeria-img     { height: 260px; width: auto; object-fit: cover; flex-shrink: 0; display: block; }

.galeria-infra { animation: galeria-scroll 38s linear infinite; }
.galeria-wrap:hover .galeria-infra { animation-play-state: paused; }

.galeria-img-home { transition: transform 0.35s ease; cursor: pointer; }
.galeria-img-home:hover { transform: scale(1.25); z-index: 2; position: relative; }

@keyframes galeria-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
