:root {
  --yellow: #f5c518;
  --yellow-dark: #d4a80c;
  --blue: #0a5f8a;
  --blue-light: #0e7ab8;
  --blue-deep: #063d5a;
  --black: #0a0a0a;
  --dark: #111111;
  --dark-card: #131517;
  --gray-100: #f5f5f5;
  --gray-200: #e0e0e0;
  --gray-500: #888888;
  --gray-700: #555555;
  --white: #ffffff;

  --shadow: 0 4px 24px rgba(0,0,0,0.25);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.35);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --display-font: "Barlow Condensed", "Plus Jakarta Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  background: 
    radial-gradient(circle at 15% 25%, rgba(10, 95, 138, 0.16), transparent 60%),
    radial-gradient(circle at 85% 75%, rgba(245, 197, 24, 0.1), transparent 60%),
    var(--black);
  background-attachment: fixed;
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  animation: pageFadeIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes pageFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

main {
  animation: contentSlideUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.footer {
  animation: pageFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes contentSlideUp {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: none; }
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

ul { list-style: none; }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.in-view {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.in-view {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.in-view {
  opacity: 1;
  transform: scale(1);
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245, 197, 24, 0.18);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  overflow: visible;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow), var(--yellow-dark), transparent);
  opacity: 0.7;
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.97);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(245, 197, 24, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px; /* Mobile first */
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 160px; /* Mobile first */
  width: auto;
  object-fit: contain;
  margin-top: -45px;
  margin-bottom: -45px;
  margin-left: -40px;
  position: relative;
  top: 8px;
  filter: drop-shadow(0 1px 4px rgba(245, 197, 24, 0.1));
  transition: filter var(--transition), transform var(--transition);
}

.logo:hover .logo-img {
  filter: drop-shadow(0 2px 10px rgba(245, 197, 24, 0.25));
  transform: scale(1.03);
}

.logo-fallback {
  display: none;
  flex-direction: column;
  gap: 2px;
}

.logo-mark {
  font-weight: 800;
  letter-spacing: 0.15em;
  font-size: 1.1rem;
  padding: 4px 12px;
  border-radius: 0;
  background: var(--yellow-dark);
  color: #000;
  transition: background var(--transition);
}

.logo:hover .logo-mark {
  background: var(--yellow);
}

.logo-subtitle {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(245, 197, 24, 0.6);
  font-weight: 600;
}

/* Nav */
.nav {
  position: absolute;
  inset: 100% 0 auto 0;
  background: rgb(14, 14, 14);
  display: flex;
  flex-direction: column;
  padding: 16px 24px 20px;
  gap: 4px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  border-bottom: 1px solid rgba(245, 197, 24, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.nav.nav-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav a {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 12px 0; /* Mobile */
  width: 100%; /* Mobile */
  border-radius: 0;
  transition: color 0.2s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-dark));
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

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

.nav a:hover::after {
  transform: scaleX(1);
}

.nav a.nav-active {
  color: var(--yellow);
  font-weight: 700;
}

.nav a.nav-active::after {
  transform: scaleX(1);
  background: var(--yellow-dark);
}

.nav-toggle {
  display: flex; /* Mobile display */
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: rgba(245, 197, 24, 0.8);
  border-radius: 0;
  transition: transform var(--transition), opacity var(--transition);
}

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

.hero {
  position: relative;
  min-height: auto; /* Mobile */
  text-align: center; /* Mobile */
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(10, 95, 138, 0.42), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(245, 197, 24, 0.22), transparent 55%),
    linear-gradient(160deg, var(--black), #0d1117 50%, var(--black));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10,10,10,0.4) 100%);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr; /* Mobile */
  justify-items: center; /* Mobile */
  padding: 40px 0 56px; /* Mobile */
  align-items: center;
}

.hero-text h1 {
  font-size: 2rem; /* Mobile */
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-text p {
  max-width: 480px; /* Mobile */
  margin: 0 auto 24px; /* Mobile */
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Mobile */
  gap: 10px;
  margin-top: 16px;
}

.hero-badges span {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
  transition: border-color var(--transition), background var(--transition);
}

.hero-badges span:hover {
  border-color: rgba(245, 197, 24, 0.3);
  background: rgba(245, 197, 24, 0.05);
}

/* Hero Card */
.hero-card {
  display: none; /* Mobile */
  background: var(--dark-card);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.5);
}

.hero-card h2 {
  font-size: 1.15rem;
  margin-bottom: 14px;
  color: var(--blue-light);
}

.hero-list {
  margin-bottom: 20px;
}

.hero-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.8);
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--blue-light));
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all var(--transition);
  width: 100%; /* Mobile */
}

.contact-link {
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
  word-wrap: break-word;
  word-break: break-all;
  overflow-wrap: break-word;
}

.contact-meta {
  word-wrap: break-word;
  word-break: break-all;
  overflow-wrap: break-word;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  color: #000;
  box-shadow: 0 8px 24px rgba(245, 197, 24, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245, 197, 24, 0.35);
}

.btn-ghost {
  position: relative;
  overflow: hidden;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(245, 197, 24, 0.35);
  box-shadow: 0 0 0 0 rgba(245, 197, 24, 0);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(245,197,24,0.12) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.45s ease;
}

.btn-ghost::after {
  content: ' →';
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.5;
}

.btn-ghost:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(245, 197, 24, 0.06);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(245, 197, 24, 0.18);
}

.btn-ghost:hover::before {
  transform: translateX(100%);
}

.btn-ghost:hover::after {
  transform: translateX(6px);
  opacity: 1;
}

.btn-sm { padding: 10px 18px; font-size: 0.8rem; }
.btn-full-width { width: 100%; }

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 60px 0; /* Mobile */
}

.section-alt {
  background: linear-gradient(180deg, rgba(14,18,24,1) 0%, var(--black) 100%);
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--yellow);
  margin-top: 8px;
}

.section-heading p {
  max-width: 560px;
  margin: 12px auto 0;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}

.page-subtitle {
  max-width: 720px;
  margin: 16px auto 0;
  color: rgba(255,255,255,0.62);
  font-size: 1rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--yellow);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(245, 197, 24, 0.08);
  border: 1px solid rgba(245, 197, 24, 0.2);
}

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

.cards-grid {
  display: grid;
  grid-template-columns: 1fr; /* Mobile */
  gap: 20px;
}

.card {
  padding: 22px 20px; /* Mobile */
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  background: var(--dark-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.6), 0 0 24px rgba(245, 197, 24, 0.08);
  border-color: rgba(245, 197, 24, 0.25);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--blue-light);
}

.card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}

.card ul li {
  position: relative;
  padding-left: 16px;
  font-size: 0.84rem;
  color: var(--gray-200);
  margin-bottom: 6px;
}

.card ul li::before {
  content: \"•\";
  position: absolute;
  left: 0;
  color: var(--yellow);
}

/* ============================================
   DIFERENCIAIS
   ============================================ */

.diferenciais-grid {
  display: grid;
  grid-template-columns: 1fr; /* Mobile */
  gap: 20px;
}

.diferencial-item {
  padding: 22px 20px; /* Mobile */
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  background: var(--dark-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.diferencial-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(10, 95, 138, 0.15);
  border-color: rgba(10, 95, 138, 0.3);
}

.diferencial-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--blue-light);
}

.diferencial-item p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* ============================================
   GALLERY / PROJETOS
   ============================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr; /* Mobile */
  gap: 20px;
}

.gallery-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(245,197,24,0.18);
  background:
    linear-gradient(180deg, rgba(18,21,24,0.96), rgba(11,13,16,0.98));
  box-shadow: 0 16px 38px rgba(0,0,0,0.28);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
  z-index: 2;
}

.gallery-item::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  border-right: 2px solid rgba(245,197,24,0.66);
  border-bottom: 2px solid rgba(245,197,24,0.66);
  pointer-events: none;
  z-index: 2;
  transition: transform var(--transition), opacity var(--transition);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 52px rgba(0,0,0,0.6), 0 0 32px rgba(245, 197, 24, 0.15);
  border-color: rgba(245,197,24,0.45);
}

.gallery-item:hover::after {
  transform: translate(-4px, -4px);
}

.gallery-item .image-placeholder {
  border-radius: 0;
  width: 100%;
  height: 280px;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.gallery-item:hover .image-placeholder {
  transform: scale(1.07);
  filter: saturate(1.08) contrast(1.08);
}

.gallery-item figcaption {
  position: relative;
  padding: 18px 18px 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)),
    linear-gradient(180deg, rgba(8,10,13,0.96), rgba(11,13,16,1));
  border-top: 1px solid rgba(255,255,255,0.06);
  z-index: 1;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 5px 10px;
  margin-bottom: 12px;
  border: 1px solid rgba(245,197,24,0.24);
  background: rgba(245,197,24,0.08);
  color: var(--yellow);
  font-family: var(--display-font);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.project-name {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-family: var(--display-font);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 8px 24px rgba(0,0,0,0.32);
}

.project-copy {
  display: block;
  max-width: 30ch;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.55;
}

.gallery-item:hover .project-name {
  color: #fff3c0;
}

.gallery-item:hover .project-copy {
  color: rgba(255,255,255,0.84);
}

/* ============================================
   INSTITUTIONAL
   ============================================ */

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

.institutional-card {
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  background: var(--dark-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.institutional-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 197, 24, 0.16);
}

.institutional-card h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: var(--yellow);
}

.institutional-card p {
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
}

.institutional-list {
  display: grid;
  gap: 14px;
}

.institutional-list div {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.institutional-list div:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.institutional-list dt {
  margin-bottom: 6px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.42);
}

.institutional-list dd {
  color: rgba(255,255,255,0.84);
  font-size: 0.95rem;
  line-height: 1.5;
}

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

.container-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr; /* Mobile */
  gap: 48px;
  width: 100%;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  padding: 22px 20px; /* Mobile */
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  background: var(--dark-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
  max-width: 100%;
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(245, 197, 24, 0.2);
}

.contact-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-item h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--yellow);
}

.contact-item p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

.contact-item a {
  font-size: 0.9rem;
  color: var(--yellow);
}

.contact-meta {
  margin-bottom: 0;
  line-height: 1.7;
}

/* Contact Form */
.contact-form {
  background: var(--dark-card);
  padding: 36px 32px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--blue-light);
}

.contact-form .form-desc {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

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

.form-group.two-cols {
  display: grid;
  grid-template-columns: 1fr; /* Mobile */
  gap: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.04)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, calc(100% - 16px) center;
  background-size: auto, 14px;
  padding-right: 42px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
  background: rgba(245, 197, 24, 0.12);
  box-shadow: 0 0 0 4px rgba(245, 197, 24, 0.16);
  outline: none;
}

.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
  border-color: #f87171 !important;
  background: rgba(248, 113, 113, 0.08) !important;
  box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.15) !important;
}


.form-group select option {
  background: var(--dark);
  color: var(--white);
}

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group textarea:-webkit-autofill,
.form-group textarea:-webkit-autofill:hover,
.form-group textarea:-webkit-autofill:focus,
.form-group select:-webkit-autofill,
.form-group select:-webkit-autofill:hover,
.form-group select:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--white);
  -webkit-box-shadow: 0 0 0 1000px rgba(255,255,255,0.04) inset;
  box-shadow: 0 0 0 1000px rgba(255,255,255,0.04) inset;
  transition: background-color 9999s ease-in-out 0s;
}

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

.form-status {
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.form-status.success { color: #4ade80; }
.form-status.error { color: #f87171; }

.orcamento-success-card {
  position: relative;
  margin-top: 18px;
  padding: 24px 22px 20px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(245, 197, 24, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(11, 28, 24, 0.98), rgba(7, 18, 22, 0.98));
  border: 1px solid rgba(74, 222, 128, 0.22);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
}

.orcamento-success-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, #4ade80, #f5c518);
}

.orcamento-success-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.22);
  color: #86efac;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.orcamento-success-badge::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #4ade80;
  box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.12);
}

.orcamento-success-card h4 {
  margin: 16px 0 8px;
  color: #f8fafc;
  font-size: 1.15rem;
}

.orcamento-success-card p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  line-height: 1.6;
}

.orcamento-success-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.orcamento-success-actions .btn {
  justify-content: center;
}

@media (min-width: 640px) {
  .orcamento-success-actions {
    flex-direction: row;
  }

  .orcamento-success-actions .btn {
    flex: 1;
  }
}

/* ============================================
   SOBRE PAGE
   ============================================ */

.page-hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: 80px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(10, 95, 138, 0.25), transparent 70%),
    radial-gradient(ellipse at 80% 100%, rgba(245, 197, 24, 0.08), transparent 50%),
    linear-gradient(180deg, var(--black), #0e1116 100%);
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.page-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-top: 16px;
  color: var(--white);
  font-weight: 800;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.project-page .page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(245, 197, 24, 0.16), transparent 28%),
    radial-gradient(circle at 82% 30%, rgba(14, 122, 184, 0.18), transparent 32%),
    linear-gradient(180deg, #090b0f, #11161d 100%);
  border-bottom: 1px solid rgba(245,197,24,0.14);
}

.project-page .page-hero::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}

.project-page .page-hero .section-tag {
  font-family: var(--display-font);
  font-size: 0.86rem;
  letter-spacing: 0.22em;
  padding: 8px 18px;
  background: rgba(245,197,24,0.08);
  border-color: rgba(245,197,24,0.3);
}

.project-page .page-title {
  font-family: var(--display-font);
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: 0 18px 34px rgba(0,0,0,0.34);
  -webkit-text-stroke: 1px rgba(245,197,24,0.1);
}

.project-hero-copy {
  max-width: 640px;
  margin: 20px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(245,197,24,0.2);
  color: rgba(255,255,255,0.76);
  font-size: 1rem;
  line-height: 1.75;
}

.project-page .section-text h2 {
  font-family: var(--display-font);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.project-page .section-text {
  position: relative;
}

.checklist {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.project-page .checklist li {
  position: relative;
  padding: 16px 18px 16px 54px;
  border-radius: 18px;
  border: 1px solid rgba(245,197,24,0.18);
  background:
    linear-gradient(180deg, rgba(245,197,24,0.04), rgba(255,255,255,0.02)),
    linear-gradient(180deg, rgba(18,21,24,0.96), rgba(11,13,16,0.98));
  color: rgba(255,255,255,0.84);
  font-size: 0.92rem;
  line-height: 1.55;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.project-page .checklist li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  border: 2px solid var(--yellow);
  border-radius: 5px;
  background: rgba(245,197,24,0.06);
}

.project-page .checklist li::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 50%;
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  transform: translateY(-68%) rotate(45deg);
}

.project-page .image-card {
  position: relative;
  border: 1px solid rgba(245,197,24,0.18);
  background:
    linear-gradient(180deg, rgba(245,197,24,0.05), rgba(255,255,255,0)),
    var(--dark-card);
}

.project-page .image-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
  z-index: 1;
}

.project-page .image-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 58px;
  height: 58px;
  border-right: 2px solid rgba(245,197,24,0.72);
  border-bottom: 2px solid rgba(245,197,24,0.72);
  pointer-events: none;
  z-index: 1;
}

.project-page .image-placeholder {
  min-height: 460px;
  filter: saturate(0.96) contrast(1.06);
}

.project-page .image-placeholder.image-galpao {
  background-image:
    linear-gradient(180deg, rgba(7, 10, 14, 0.05), rgba(7, 10, 14, 0.45)),
    url("https://images.pexels.com/photos/4484078/pexels-photo-4484078.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.project-page .image-placeholder.image-industria {
  background-image:
    linear-gradient(180deg, rgba(7, 10, 14, 0.05), rgba(7, 10, 14, 0.45)),
    url("https://images.pexels.com/photos/1462935/pexels-photo-1462935.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.project-page .image-placeholder.image-comercial {
  background-image:
    linear-gradient(180deg, rgba(7, 10, 14, 0.05), rgba(7, 10, 14, 0.45)),
    url("https://images.unsplash.com/photo-1542887800-faca0261c9e1?auto=format&fit=crop&w=1200&q=80");
}

.section-text h2 {
  color: var(--yellow);
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.section-text p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.company-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 26px 0 4px;
}

.company-fact {
  padding: 18px 18px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
}

.company-fact-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.42);
}

.company-fact strong {
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.5;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr; /* Mobile */
  gap: 48px;
  align-items: start;
}

.section-inner { padding: 0; }

.section-media {
  order: -1; /* Mobile */
}

/* Pills (Missão/Visão/Valores) */
.pill-grid {
  display: grid;
  grid-template-columns: 1fr; /* Mobile */
  gap: 16px;
  margin-top: 28px;
}

.pill {
  padding: 22px 20px; /* Mobile */
  border-radius: var(--radius-xl);
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pill:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(245, 197, 24, 0.15);
}

.pill h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--blue-light);
}

.pill p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
}

/* Icons for pills & diferenciais */
.pill-icon, .dif-icon {
  margin-bottom: 14px;
  display: inline-flex;
  padding: 10px;
  background: rgba(245, 197, 24, 0.06);
  border-radius: 14px;
  border: 1px solid rgba(245, 197, 24, 0.12);
  color: var(--yellow);
  transition: transform var(--transition), background var(--transition);
}

.pill:hover .pill-icon,
.diferencial-item:hover .dif-icon {
  transform: scale(1.1);
  background: rgba(245, 197, 24, 0.1);
}

/* Image Card on Sobre */
.image-card {
  margin-bottom: 24px; /* Mobile */
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-lg);
}

.image-placeholder {
  width: 100%;
  min-height: 380px;
  background: linear-gradient(135deg, var(--dark-card), #1a1d22);
  background-size: cover;
  background-position: center;
}

.image-placeholder.image-obras { background-image: url("https://images.pexels.com/photos/1462935/pexels-photo-1462935.jpeg?auto=compress&cs=tinysrgb&w=800"); }

.image-stats {
  display: flex;
  gap: 32px;
  padding: 20px 24px;
}

.image-stats div {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--yellow);
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================
   PREMIUM LOADING OVERLAY
   ============================================ */

/* ── Base overlay ── */
.ov {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  width: min(430px, calc(100vw - 32px));
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.97);
  transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1), transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.ov.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ── Floating particles ── */
.ov-particles {
  display: none;
}

/* ── Card container ── */
.ov-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  padding: 26px 24px 22px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(245, 197, 24, 0.14), transparent 34%),
    linear-gradient(160deg, rgba(8, 17, 29, 0.96), rgba(6, 11, 18, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

/* ── Brand ── */
.ov-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.ov-brand-mark {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #f5c518;
}

.ov-brand-sep {
  color: rgba(255, 255, 255, 0.15);
  font-size: 1.2rem;
}

.ov-brand-sub {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

/* ── Progress bar ── */
.ov-progress {
  width: 100%;
  margin-bottom: 14px;
}

.ov-progress-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.ov-loading-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #f5c518;
  animation: ovSpin 0.85s linear infinite;
  flex-shrink: 0;
}

.ov-progress-label {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.ov-progress-pct {
  font-size: 1rem;
  font-weight: 800;
  color: #f5c518;
  min-width: 52px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ov-pct {
  display: inline-block;
  min-width: 2ch;
}

.ov-progress-bar {
  position: relative;
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
}

.ov-progress-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f5c518 0%, #f7d962 60%, #fff1b8 100%);
  transition: width 0.25s linear, background 0.3s ease;
  box-shadow: 0 0 18px rgba(245, 197, 24, 0.4);
}

@keyframes ovSpin {
  to { transform: rotate(360deg); }
}

/* ── Status text ── */
.ov-status {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 14px;
  text-align: left;
  min-height: 1.4em;
  transition: opacity 0.25s ease;
}

.ov-stage-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.ov-stage-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.ov-stage-indicator {
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.ov-stage-indicator::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  transition: opacity var(--transition), background var(--transition), box-shadow var(--transition);
}

.ov-stage-check {
  position: absolute;
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #4ade80;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0.65);
  transition: opacity var(--transition), transform var(--transition);
}

.ov-stage-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ov-stage-copy strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
}

.ov-stage-copy small {
  color: rgba(255,255,255,0.52);
  font-size: 0.8rem;
  line-height: 1.45;
}

.ov-stage-item.is-active {
  transform: translateX(4px);
  border-color: rgba(245, 197, 24, 0.34);
  background: rgba(245, 197, 24, 0.08);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.ov-stage-item.is-active .ov-stage-indicator {
  border-color: rgba(245, 197, 24, 0.8);
  background: rgba(245, 197, 24, 0.12);
  box-shadow: 0 0 0 6px rgba(245, 197, 24, 0.08);
}

.ov-stage-item.is-active .ov-stage-indicator::after {
  background: #f5c518;
  box-shadow: 0 0 14px rgba(245, 197, 24, 0.45);
}

.ov-stage-item.is-complete {
  border-color: rgba(74, 222, 128, 0.2);
  background: rgba(74, 222, 128, 0.08);
}

.ov-stage-item.is-complete .ov-stage-indicator {
  border-color: rgba(74, 222, 128, 0.5);
  background: rgba(74, 222, 128, 0.14);
}

.ov-stage-item.is-complete .ov-stage-indicator::after {
  opacity: 0;
}

.ov-stage-item.is-complete .ov-stage-check {
  opacity: 1;
  transform: scale(1);
}

.ov.done .ov-progress-fill {
  background: linear-gradient(90deg, #4ade80 0%, #22c55e 100%);
  box-shadow: 0 0 14px rgba(74, 222, 128, 0.45);
}

.ov.done .ov-progress-pct {
  color: #4ade80;
}

.ov.done .ov-loading-icon {
  border-color: rgba(74, 222, 128, 0.25);
  border-top-color: #4ade80;
}

.ov.done .ov-stage-list {
  display: none;
}

@media (max-width: 420px) {
  .ov {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
  }

  .ov-card {
    padding: 22px 18px 18px;
    border-radius: 24px;
  }

  .ov-progress-head {
    gap: 8px;
  }

  .ov-progress-label {
    font-size: 0.76rem;
  }

  .ov-progress-pct {
    min-width: 48px;
  }

}

/* ── Success state ── */
.ov-success {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  animation: ovSuccessIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ov.done .ov-status { display: none; }
.ov.done .ov-progress { display: none; }
.ov.done .ov-success { display: flex; }

@keyframes ovSuccessIn {
  0% { opacity: 0; transform: translateY(16px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.ov-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.12);
  border: 2px solid rgba(74, 222, 128, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  animation: ovSuccessPulse 2s ease-in-out infinite;
}

.ov-success-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: #4ade80;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes ovSuccessPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.2); }
  50% { box-shadow: 0 0 0 16px rgba(74, 222, 128, 0); }
}

.ov-success-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.ov-success-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

.ov-success-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 24px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #4ade80;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  animation: ovWaPulse 2s ease-out infinite;
}

.ov-success-wa svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@keyframes ovWaPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.25); }
  70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

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

.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  background: var(--blue-deep);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start; /* Mobile */
  flex-direction: column; /* Mobile */
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.footer-seo {
  max-width: 420px;
}

.footer-legal,
.footer-contact {
  margin-top: 6px;
  color: rgba(255,255,255,0.7);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  width: auto;
  height: auto;
  justify-content: center;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35);
  z-index: 5000;
  transition: all var(--transition);
}

.whatsapp-float::before {
  content: \"\";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: pulse-ring 2s ease-out infinite;
  pointer-events: none;
}

.whatsapp-float:hover {
  background: #20bd5a;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.5);
}

.whatsapp-float-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.whatsapp-float-label {
  white-space: nowrap;
  display: block;
}

/* Mobile CTA */
.mobile-cta-float {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  color: #000;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(245, 197, 24, 0.3);
  z-index: 100;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  margin-right: 12px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.5);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.lang-btn:hover {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.lang-btn--active {
  color: var(--yellow);
  background: rgba(245, 197, 24, 0.1);
  border-color: rgba(245, 197, 24, 0.3);
  font-weight: 700;
}

.lang-btn--active:hover {
  background: rgba(245, 197, 24, 0.16);
  border-color: rgba(245, 197, 24, 0.45);
  color: var(--yellow);
}

.lang-divider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.7rem;
  user-select: none;
}

.lang-flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  vertical-align: middle;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Smooth text transition when language changes */
[data-i18n],
[data-i18n-placeholder] {
  transition: opacity 0.15s ease;
}

/* ============================================
   RESPONSIVE - TABLETS (min-width: 481px)
   ============================================ */
@media (min-width: 481px) {
  .logo-img {
    height: 200px;
    margin-top: -65px;
    margin-bottom: -65px;
    margin-left: -50px;
  }
  .hero-text h1 { font-size: clamp(2rem, 4vw, 3rem); }
  
  .card, .diferencial-item, .pill, .contact-item, .institutional-card {
    padding: 28px 24px;
  }

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

  .mobile-cta-float { display: none; }
}

/* ============================================
   RESPONSIVE - DESKTOP MIN (min-width: 769px)
   ============================================ */
@media (min-width: 769px) {
  .header-inner { height: 70px; }
  .logo-img {
    height: 220px;
    margin-top: -75px;
    margin-bottom: -75px;
    margin-left: -55px;
  }

  .nav-toggle { display: none; }

  .nav {
    position: static;
    flex-direction: row;
    background: transparent;
    padding: 0;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    border: none;
    box-shadow: none;
  }

  .nav a {
    width: auto;
    padding: 10px 20px;
  }

  .hero {
    min-height: 85vh;
    text-align: left;
  }

  .hero-content {
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    padding: 60px 0 70px;
    justify-items: start;
  }

  .hero-text p {
    max-width: 520px;
    margin: 0 0 24px 0;
  }

  .hero-badges { justify-content: flex-start; }
  .hero-card { display: block; }

  .btn { width: auto; }

  .section { padding: 80px 0; }

  .cards-grid,
  .diferenciais-grid,
  .gallery-grid,
  .pill-grid,
  .institutional-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-column {
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
  }

  .section-media { order: 0; }
  .image-card { margin-bottom: 0; }

  .contact-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .form-group.two-cols {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
  }
}

/* ============================================
   RESPONSIVE - DESKTOP LARGE (min-width: 961px)
   ============================================ */
@media (min-width: 961px) {
  .hero-content {
    grid-template-columns: 1.6fr 1fr;
    gap: 60px;
    padding: 80px 0 100px;
  }

  .cards-grid,
  .diferenciais-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .two-column {
    grid-template-columns: 1.4fr 1fr;
  }

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

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

}

/* ============================================
   CAROUSEL SLIDER (PROJETOS)
   ============================================ */
.carousel-container {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  aspect-ratio: 4 / 3;
  background: var(--dark-card);
  border: 1px solid rgba(245, 197, 24, 0.2);
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide:hover img {
  transform: scale(1.04);
}

/* Gradient overlay for text readability */
.carousel-container::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(8, 17, 29, 0.9) 0%, rgba(8, 17, 29, 0.4) 60%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 197, 24, 0.3);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0.7;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-container:hover .carousel-btn {
  opacity: 1;
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.carousel-btn:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  box-shadow: 0 8px 20px rgba(245, 197, 24, 0.4);
}

.carousel-prev {
  left: 20px;
}
.carousel-prev:hover svg {
  transform: translateX(-2px);
}

.carousel-next {
  right: 20px;
}
.carousel-next:hover svg {
  transform: translateX(2px);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.92);
}

/* Floating dynamic caption */
.carousel-caption-box {
  position: absolute;
  left: 20px;
  bottom: 20px;
  right: 20px;
  padding: 12px 18px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-left: 3px solid var(--yellow);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--body-font);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-caption-box::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--yellow);
}

/* Elegant Indicator Dots */
.carousel-dots {
  position: absolute;
  bottom: 82px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 6px 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.carousel-dot {
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.25s ease;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.carousel-dot.active {
  background: var(--yellow);
  width: 24px;
  box-shadow: 0 0 10px rgba(245, 197, 24, 0.6);
}

/* ============================================
   LIGHTBOX MODAL (FULLSCREEN PREVIEW)
   ============================================ */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 8, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.lightbox-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.lightbox-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
  transform: rotate(90deg);
}

.lightbox-wrapper {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-img {
  transform: scale(1);
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.lightbox-btn svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox-btn:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  box-shadow: 0 0 20px rgba(245, 197, 24, 0.45);
}

.lightbox-prev {
  left: 24px;
}
.lightbox-next {
  right: 24px;
}

@media (max-width: 768px) {
  .lightbox-btn {
    width: 44px;
    height: 44px;
  }
  .lightbox-prev {
    left: 12px;
  }
  .lightbox-next {
    right: 12px;
  }
}

.lightbox-caption {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  max-width: 600px;
  line-height: 1.5;
}

/* ============================================
   FEATURED GALLERY CARD & LIKE SYSTEM
   ============================================ */
.project-badge-featured {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  color: #000;
  font-family: var(--display-font);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(245, 197, 24, 0.4);
}

.gallery-link--featured .gallery-item {
  border-color: rgba(245, 197, 24, 0.45);
}

@media (min-width: 961px) {
  .gallery-link--featured {
    grid-column: span 2;
  }
  .gallery-link--featured .gallery-item .image-placeholder {
    height: 340px;
  }
}

.carousel-heart-pop {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 6rem;
  color: #ff2f5b;
  z-index: 15;
  pointer-events: none;
  opacity: 0;
  text-shadow: 0 0 30px rgba(255, 47, 91, 0.6);
  user-select: none;
}

.carousel-heart-pop.pop {
  animation: heartPopAnim 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes heartPopAnim {
  0% {
    transform: translate(-50%, -50%) scale(0) rotate(-15deg);
    opacity: 0;
  }
  30% {
    transform: translate(-50%, -50%) scale(1.2) rotate(0deg);
    opacity: 0.9;
  }
  50% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 0.9;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.6) rotate(15deg);
    opacity: 0;
  }
}

.carousel-like-bar {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 6px 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.carousel-like-bar:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.carousel-like-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: transform 0.2s ease, color 0.2s ease;
}

.carousel-like-btn:active {
  transform: scale(0.85);
}

.carousel-like-btn .heart-icon {
  width: 20px;
  height: 20px;
  transition: stroke 0.2s, fill 0.2s, transform 0.2s;
  fill: none;
  stroke: rgba(255, 255, 255, 0.85);
}

.carousel-like-btn.liked {
  color: #ff2f5b;
}

.carousel-like-btn.liked .heart-icon {
  fill: #ff2f5b;
  stroke: #ff2f5b;
  animation: heartBeat 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.carousel-likes-count {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  font-family: var(--display-font);
  letter-spacing: 0.05em;
  user-select: none;
}

/* ---- Comments Section Styles ---- */
.project-comments-section {
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.15);
}

.comments-heading {
  font-size: 1.8rem;
  font-family: var(--display-font);
  color: var(--yellow);
  margin-bottom: 30px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.comment-card {
  display: flex;
  gap: 16px;
  background: var(--dark-card);
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: slideInUp 0.4s ease forwards;
}

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

.comment-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--dark);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--display-font);
}

.comment-content {
  flex: 1;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.comment-author {
  font-weight: 700;
  color: var(--white);
  font-size: 1.05rem;
}

.comment-stars {
  color: #ffbc00;
  font-size: 0.95rem;
}

.comment-text-body {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.5;
}

.comment-date {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 8px;
}

.comment-form {
  background: var(--dark-card);
  padding: 30px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-lg);
}

.comment-form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.comment-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  color: var(--white);
  font-family: inherit;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.comment-input:focus {
  outline: none;
  border-color: var(--yellow);
  background: rgba(255, 255, 255, 0.06);
}

.comment-name {
  flex: 1;
  min-width: 200px;
}

.comment-rating-stars {
  display: flex;
  align-items: center;
  gap: 10px;
}

.star-rating-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.stars-select {
  display: flex;
  gap: 4px;
}

.stars-select .star {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.stars-select .star:hover {
  transform: scale(1.15);
}

.stars-select .star.active,
.stars-select .star.selected {
  color: #ffbc00;
}

.comment-text {
  width: 100%;
  height: 100px;
  resize: vertical;
  margin-bottom: 20px;
}

.comment-submit-btn {
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================
   MOBILE FIXES (Contact Form & Footer Scroll)
   ============================================ */
@media (max-width: 768px) {
  .contact-form {
    padding: 28px 20px;
  }
  .contact-form h3,
  .contact-form .form-desc {
    text-align: center;
  }

  /* Evita que animações horizontais (translateX) quebrem o layout no mobile */
  .reveal-left,
  .reveal-right {
    transform: translateY(30px) !important;
  }
  .reveal-left.in-view,
  .reveal-right.in-view {
    transform: translateY(0) !important;
  }

  /* Evita que botões de contato com textos muito longos (ex: e-mail) causem transbordo horizontal e quebrem o enquadramento */
  .contact-item {
    width: 100%;
    box-sizing: border-box;
  }
  .contact-item .btn {
    font-size: clamp(0.7rem, 3.2vw, 0.8rem) !important;
    padding: 10px 12px !important;
    white-space: normal !important;
    word-break: break-all !important;
    height: auto !important;
    display: inline-flex !important;
    max-width: 100% !important;
  }
}

/* Proteção global de imagens contra cópia e download */
img {
  user-select: none !important;
  -webkit-user-drag: none !important;
  -webkit-touch-callout: none !important; /* Desativa o menu pop-up de salvar imagem ao segurar o toque no iOS/Android */
  pointer-events: none !important;        /* Passa cliques adiante e bloqueia o clique direito padrão sobre a imagem */
}
