:root {
  --bg: #050c16;
  --bg-soft: #0c1625;
  --panel: rgba(10, 21, 36, 0.72);
  --panel-border: rgba(115, 166, 255, 0.18);
  --text: #eaf2ff;
  --muted: #9aaccc;
  --line: rgba(255, 255, 255, 0.08);
  --primary: #5aa0ff;
  --primary-2: #8cf3ff;
  --success: #22c55e;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(90,160,255,.16), transparent 28%),
    radial-gradient(circle at top right, rgba(140,243,255,.08), transparent 26%),
    linear-gradient(180deg, #040913 0%, #08111e 48%, #050b14 100%);
}

body.menu-open { overflow: hidden; }

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.4), rgba(0,0,0,0));
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 96px 0; position: relative; }
.alt-section { background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)); }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(4, 10, 18, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}
.brand img { width: 220px; }
.menu {
  display: flex;
  align-items: center;
  gap: 24px;
}
.menu a {
  color: var(--muted);
  font-size: 14px;
  transition: .25s ease;
}
.menu a:hover { color: var(--text); }
.menu-cta {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text) !important;
}
.menu-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius: 999px;
  padding: 12px 16px;
}

.hero { padding: 80px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(140,243,255,.18);
  background: rgba(140,243,255,.06);
  color: #b7edff;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .03em;
}
.hero-copy h1,
.section-head h2,
.about-copy h2 { line-height: 1.05; margin: 18px 0 18px; }
.hero-copy h1 { font-size: clamp(40px, 5vw, 68px); max-width: 11ch; }
.hero-copy p,
.section-head p,
.about-copy p,
.service-card p,
.contact-card p,
.form-note,
.feature-list,
.footer p { color: var(--muted); }
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 30px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 22px; border-radius: 16px; font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #021120;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  box-shadow: 0 10px 30px rgba(90,160,255,.25);
}
.btn-secondary {
  color: var(--text);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.btn-full { width: 100%; border: none; cursor: pointer; }
.hero-metrics {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.hero-metrics li {
  padding: 18px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
}
.hero-metrics strong { display: block; font-size: 18px; margin-bottom: 6px; }
.hero-metrics span { font-size: 14px; color: var(--muted); }

.glass-panel,
.contact-card,
.about-panel,
.service-card,
.stat-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.glass-panel {
  border-radius: 28px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.glass-panel::before {
  content: "";
  position: absolute;
  inset: auto auto -40px -40px;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(140,243,255,.22), transparent 68%);
}
.panel-top {
  display: flex; align-items: center; gap: 10px; color: #bbddff; margin-bottom: 8px;
}
.pulse {
  width: 10px; height: 10px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 0 rgba(34,197,94,.55); animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
  70% { box-shadow: 0 0 0 14px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.form-card { display: grid; gap: 14px; position: relative; z-index: 1; }
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
label { display: grid; gap: 8px; }
label span { font-size: 13px; color: #bfd2f3; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(255,255,255,.045);
  color: var(--text);
  padding: 15px 16px;
  outline: none;
}
textarea { resize: vertical; min-height: 124px; }
input::placeholder, textarea::placeholder { color: #8ea2c7; }
.form-note { margin: 0; font-size: 13px; }

.trust-bar { padding: 14px 0 0; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.trust-grid div {
  text-align: center; padding: 18px; border-radius: 18px; color: #d8e8ff;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06);
}

.section-head { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.left-align { margin-left: 0; text-align: left; }
.section-head h2, .about-copy h2 { font-size: clamp(30px, 4vw, 48px); }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.service-card {
  padding: 18px; border-radius: 24px;
}
.card-visual {
  height: 190px; border-radius: 18px; margin-bottom: 16px; border: 1px solid rgba(255,255,255,.08);
  background-size: cover; background-position: center;
}
.visual-1 { background-image: linear-gradient(135deg, rgba(7,17,31,.18), rgba(7,17,31,.72)), url('../img/galeria/gesso-cartonado/obra-01/gesso-05.jpeg'); }
.visual-2 { background-image: linear-gradient(135deg, rgba(7,17,31,.18), rgba(7,17,31,.72)), url('../img/galeria/gesso-cartonado/obra-01/gesso-03.jpeg'); }
.visual-3 { background-image: linear-gradient(135deg, rgba(7,17,31,.18), rgba(7,17,31,.72)), url('../img/galeria/gesso-cartonado/obra-01/gesso-02.jpeg'); }
.visual-4 { background-image: linear-gradient(135deg, rgba(7,17,31,.18), rgba(7,17,31,.72)), url('../img/galeria/fachadas-ventiladas/obra-01/fachada-02.jpeg'); }
.service-card h3 { margin: 0 0 10px; font-size: 22px; }
.service-card a { display: inline-flex; margin-top: 8px; color: #bcecff; font-weight: 600; }

.about-grid,
.courses-grid,
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start;
}
.mini-grid {
  display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 30px;
}
.mini-grid div,
.contact-item {
  padding: 20px; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03);
}
.about-panel {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 18px; border-radius: 28px;
}
.stat-card {
  border-radius: 22px; padding: 30px 20px; text-align: center;
}
.stat-number { display: block; font-size: clamp(26px, 4vw, 42px); font-weight: 800; }
.stat-label { color: var(--muted); font-size: 14px; }
.feature-list {
  list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px;
}
.feature-list li {
  padding-left: 18px; position: relative;
}
.feature-list li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary-2);
  position: absolute; left: 0; top: 10px;
}
.contact-card {
  border-radius: 28px; padding: 20px;
}
.contact-item { margin-bottom: 14px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item span { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #9eb9e6; margin-bottom: 8px; }
.contact-item a { font-size: 20px; font-weight: 700; word-break: break-word; }

.footer {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 28px 0 60px;
}
.footer-wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.footer-logo { width: 220px; margin-bottom: 12px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); }

.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 35;
  min-height: 56px; padding: 0 18px; border-radius: 999px;
  background: linear-gradient(135deg, #20d95f, #17b34c);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; box-shadow: 0 14px 30px rgba(23,179,76,.28);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .courses-grid,
  .contact-grid,
  .services-grid { grid-template-columns: 1fr 1fr; }
  .hero-copy h1 { max-width: 14ch; }
}

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .menu {
    position: fixed; inset: 84px 16px auto 16px; padding: 18px; border-radius: 22px;
    background: rgba(7, 15, 27, 0.96); border: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow);
    display: none; flex-direction: column; align-items: stretch;
  }
  .menu.open { display: flex; }
  .hero-grid,
  .about-grid,
  .courses-grid,
  .contact-grid,
  .services-grid,
  .trust-grid,
  .hero-metrics,
  .field-row,
  .about-panel { grid-template-columns: 1fr; }
  .section, .hero { padding: 72px 0; }
  .hero-copy h1 { max-width: none; }
  .brand img, .footer-logo { width: 180px; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
}

.course-mini-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.course-mini-list div,
.quick-info-list div {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.quick-info-list {
  display: grid;
  gap: 14px;
}
.quick-info-list strong {
  display: block;
  margin-bottom: 6px;
  color: #dff5ff;
}
.quick-info-list span { color: var(--muted); }

.hero-subpage { padding: 74px 0 24px; }
.hero-subpage-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 30px;
  align-items: center;
}
.hero-courses .glass-panel { min-height: 100%; }
.narrow-head { max-width: 860px; }
.narrow-container { width: min(980px, calc(100% - 32px)); margin: 0 auto; }
.page-title { margin: 16px 0 0; font-size: clamp(34px, 5vw, 56px); }

.course-card-grid {
  display: grid;
  gap: 28px;
}
.course-card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.course-poster-card {
  display: grid;
  gap: 18px;
  align-content: start;
}
.course-poster-card img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
}

.content-accordion-wrap { max-width: 980px; }
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 1080px;
}
.accordion {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  overflow: hidden;
}
.accordion.highlight {
  background: rgba(7, 20, 35, .82);
  border-color: rgba(90,160,255,.24);
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 700;
  position: relative;
  padding-left: 54px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before {
  content: '+';
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: #c6e6ff;
  font-size: 24px;
  line-height: 1;
}
.accordion[open] summary::before { content: '−'; }
.accordion-content {
  padding: 0 24px 24px 24px;
  color: var(--muted);
}
.rich-content h3 { color: var(--text); margin: 22px 0 10px; }
.rich-content ul { margin: 0; padding-left: 20px; }
.rich-content li { margin-bottom: 10px; }
.rich-content p { margin: 0 0 14px; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
}
.testimonial-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #021120;
}
.testimonial-card h3 { margin: 0; font-size: 18px; }
.testimonial-card p { margin: 0; color: var(--muted); }

.form-page-section { padding-top: 76px; }
.register-shell {
  background: rgba(9, 18, 31, .84);
  border: 1px solid rgba(90,160,255,.18);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 32px;
}
.register-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.register-logo { width: 220px; }
.register-form {
  display: grid;
  gap: 14px;
}
.register-actions { margin-top: 8px; }

@media (max-width: 1080px) {
  .hero-subpage-grid,
  .testimonial-grid,
  .course-card-grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .hero-subpage-grid,
  .testimonial-grid,
  .course-card-grid-3 { grid-template-columns: 1fr; }
  .register-shell { padding: 22px; }
  .accordion summary { padding: 18px 18px 18px 48px; }
  .accordion summary::before { left: 18px; }
  .accordion-content { padding: 0 18px 18px 18px; }
}


.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  margin-top: 10px;
  color: #021120 !important;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  box-shadow: 0 12px 28px rgba(90,160,255,.18);
}

.hero-gallery-page {
  padding-bottom: 20px;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.filter-pills a {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: #d7e8ff;
}
.gallery-section {
  scroll-margin-top: 110px;
}
.gallery-project {
  display: grid;
  gap: 22px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(8, 18, 31, .78);
  border: 1px solid rgba(115, 166, 255, 0.18);
  box-shadow: var(--shadow);
}
.gallery-project-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}
.gallery-project-head h3 {
  font-size: clamp(26px, 4vw, 40px);
  margin: 8px 0 10px;
}
.gallery-project-head p { color: var(--muted); margin: 0; max-width: 700px; }
.project-tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(140,243,255,.08);
  border: 1px solid rgba(140,243,255,.18);
  color: #b7edff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.gallery-item {
  grid-column: span 4;
  min-height: 260px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-tall { grid-column: span 5; grid-row: span 2; min-height: 540px; }
.gallery-wide { grid-column: span 7; }
.empty-gallery {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
}
.empty-gallery strong { display: block; color: var(--text); margin-bottom: 8px; }
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 8, 16, .92);
  z-index: 100;
}
.lightbox.open { display: flex; }
.lightbox-image {
  max-width: min(1200px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
code {
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: #d8ecff;
}

@media (max-width: 1080px) {
  .gallery-item, .gallery-wide, .gallery-tall { grid-column: span 6; min-height: 240px; }
  .gallery-project-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 820px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item, .gallery-wide, .gallery-tall { grid-column: auto; grid-row: auto; min-height: 240px; }
}


/* Compact gallery page */
.gallery-page-intro {
  padding: 42px 0 10px;
}
.intro-bar {
  display: grid;
  gap: 22px;
  align-items: center;
}
.gallery-page-title {
  margin: 16px 0 10px;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.03;
}
.gallery-page-text {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}
.compact-pills {
  margin-top: 0;
}
.btn-small {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
}
.gallery-compact-section {
  scroll-margin-top: 110px;
}
.gallery-compact-project {
  padding: 22px;
  border-radius: 26px;
  background: rgba(8, 18, 31, .78);
  border: 1px solid rgba(115, 166, 255, 0.18);
  box-shadow: var(--shadow);
}
.gallery-project-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.gallery-project-topline h3 {
  margin: 10px 0 0;
  font-size: clamp(24px, 3vw, 32px);
}
.gallery-thumb-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.gallery-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
}
.gallery-thumb::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 36%;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(2,8,16,.58));
  pointer-events: none;
}
.gallery-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-thumb:hover img {
  transform: scale(1.05);
}

@media (max-width: 1080px) {
  .gallery-thumb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .gallery-project-topline {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .gallery-page-intro {
    padding-top: 30px;
  }
  .gallery-thumb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .gallery-thumb-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== FORMULÁRIO COMPLETO ===== */

input, select, textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 15px 16px;
  outline: none;

  /* estilo tecnológico */
  background: rgba(255,255,255,.045);
  color: var(--text);
  transition: 0.25s ease;
}

/* foco (quando clica) */
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(90,160,255,.2);
}

/* placeholder */
input::placeholder,
textarea::placeholder {
  color: #8ea2c7;
}

/* ===== CORREÇÃO DO SELECT ===== */

/* campo fechado */
select {
  background: #ffffff;
  color: #000000;
}

/* opções do dropdown */
select option {
  background: #ffffff;
  color: #000000;
}

/* ===== TEXTAREA ===== */

textarea {
  resize: vertical;
  min-height: 124px;
}

/* ===== LABEL ===== */

label {
  display: grid;
  gap: 8px;
}

label span {
  font-size: 13px;
  color: #bfd2f3;
}
