/* ============================================================
   CENTER BOX — VIDROS E ESQUADRIAS
   Luxury Minimal Landing Page — Stylesheet
   ============================================================ */

:root{
  --black: #0a0a0b;
  --near-black: #111214;
  --graphite: #1c1d20;
  --graphite-2: #232427;
  --gray-900: #202124;
  --gray-700: #4a4c52;
  --gray-500: #86898f;
  --gray-300: #c7c9cd;
  --gray-100: #eeeef0;
  --white: #ffffff;
  --off-white: #f7f7f6;
  --gold: #c8a85e;
  --gold-soft: #d9c290;
  --gold-pale: #f4e7c4;
  --blue-chic: #0e75c2;
  --blue-chic-soft: #4fa8e0;
  --blue-chic-deep: #072a4a;
  --blue-pale: #dcedfa;
  --glass: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.12);

  --font-display: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.16,.8,.24,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);

  --container: 1280px;
  --pad: clamp(1.5rem, 5vw, 5rem);
  --section-pad: clamp(5rem, 10vw, 9rem);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; }
html,body{ margin:0; padding:0; }

body{
  font-family: var(--font-body);
  background: var(--white);
  color: var(--near-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.5;
  touch-action: manipulation;
}

body.no-scroll{ overflow: hidden; }

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

a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
input,textarea{ font-family:inherit; }

.container{
  width:100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

section{ position:relative; }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.6em;
  font-size:.72rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  font-weight:700;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.eyebrow::before{
  content:"";
  width: 28px; height:1px;
  background: var(--gold);
  display:inline-block;
}

.solutions .eyebrow{ font-weight:800; letter-spacing:.24em; }

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
}

.section-title{
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  max-width: 720px;
}
.section-sub{
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--gray-700);
  max-width: 640px;
  margin-top: 1.1rem;
  font-weight: 500;
}
.section-head{
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.section-head.center{
  text-align:center;
  margin-left:auto; margin-right:auto;
}
.section-head.center .section-title,
.section-head.center .section-sub{ margin-left:auto; margin-right:auto; }

.light-on-dark .section-sub{ color: var(--gray-300); }

.projects .section-title{ max-width: 28ch; white-space: nowrap; }
@media (max-width: 560px){
  .projects .section-title{ white-space: normal; }
}

/* ---------------- Buttons ---------------- */
.btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.6rem;
  padding: 1.05rem 2.1rem;
  font-size:.86rem;
  font-weight:700;
  letter-spacing:.02em;
  border-radius: 999px;
  border: 1px solid transparent;
  overflow:hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s var(--ease-soft), border-color .4s var(--ease-soft), color .4s var(--ease-soft);
  white-space:nowrap;
}
.btn span{ position:relative; z-index:2; display:inline-flex; align-items:center; gap:.55rem; }
.btn svg{ width:16px; height:16px; flex-shrink:0; transition: transform .4s var(--ease); }

.btn-primary{
  background: var(--near-black);
  color: var(--white);
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.45);
}
.btn-primary:hover svg{ transform: translateX(3px); }

.btn-ghost{
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover{
  border-color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.08);
  transform: translateY(-2px);
}

.btn-ghost-dark{
  background: transparent;
  border-color: rgba(10,10,11,.25);
  color: var(--near-black);
}
.btn-ghost-dark:hover{
  border-color: var(--near-black);
  background: var(--near-black);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-gold{
  background: linear-gradient(135deg,var(--gold),var(--gold-soft));
  color: var(--black);
}
.btn-gold:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(200,168,94,.55);
}

.btn-block{ width:100%; }
.btn-lg{ padding: 1.25rem 2.5rem; font-size:.92rem; }

.btn-whatsapp{
  background: #1c1d20;
  color:#fff;
}
.btn-whatsapp:hover{ background:#000; transform: translateY(-2px); }

/* ---------------- Header ---------------- */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: padding .5s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 2rem;
}
.site-header.scrolled{
  padding: .9rem 0;
  background: rgba(10,10,11,.72);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}

.brand{
  display:flex; align-items:center; gap:.7rem;
  color:#fff; font-weight:800; letter-spacing:.01em; font-size:1rem;
}
.brand img{
  width: 40px; height:40px; border-radius:50%;
  object-fit:cover;
  box-shadow: 0 0 0 1px rgba(255,255,255,.25);
}
.brand small{
  display:block; font-weight:600; font-size:.62rem; letter-spacing:.16em;
  color: var(--gold); text-transform:uppercase; margin-top:2px;
}

.nav-desktop{
  display:flex; align-items:center; gap: 2.4rem;
}
.nav-desktop a{
  font-size:.82rem; font-weight:600; color: rgba(255,255,255,.82);
  letter-spacing:.02em;
  position:relative;
  padding: .3rem 0;
  transition: color .3s;
}
.nav-desktop a::after{
  content:""; position:absolute; left:0; right:100%; bottom:-2px; height:1px;
  background: var(--gold); transition: right .35s var(--ease);
}
.nav-desktop a:hover{ color:#fff; }
.nav-desktop a:hover::after{ right:0; }

.header-cta{ display:flex; align-items:center; gap:1rem; }
.header-cta .btn{ padding: .85rem 1.5rem; font-size:.78rem; }

.burger{
  display:none;
  width: 44px; height:44px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.05);
  align-items:center; justify-content:center;
  flex-direction:column; gap:5px;
}
.burger span{ width:18px; height:1.5px; background:#fff; display:block; transition: all .35s var(--ease); }
.burger.active span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.burger.active span:nth-child(2){ opacity:0; }
.burger.active span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu{
  position: fixed; inset:0; z-index:999;
  background: var(--near-black);
  display:flex; flex-direction:column;
  align-items:flex-start; justify-content:center;
  gap: 1.4rem;
  padding: 2rem var(--pad);
  transform: translateY(-100%);
  opacity:0;
  transition: transform .55s var(--ease), opacity .4s;
  pointer-events:none;
}
.mobile-menu.open{ transform: translateY(0); opacity:1; pointer-events:auto; }
.mobile-menu a{
  font-size: 2rem; font-weight:800; color:#fff;
  letter-spacing:-.01em;
}
.mobile-menu .mm-cta{ margin-top:1.5rem; display:flex; flex-direction:column; gap:1rem; width:100%; }

@media (max-width: 480px){
  .mobile-menu{ gap: 1rem; }
  .mobile-menu a{ font-size: 1.5rem; }
  .mobile-menu .mm-cta{ margin-top:1.1rem; gap:.8rem; }
}

/* ---------------- Hero ---------------- */
.hero{
  position:relative;
  min-height: 100svh;
  display:flex;
  align-items:stretch;
  background: var(--near-black);
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  width:100%;
  min-height:100svh;
}
.hero-copy{
  position:relative;
  z-index:3;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding: clamp(6rem,10vw,7rem) clamp(1.6rem,5vw,5rem) 4rem;
  color:#fff;
}
.hero-copy h1{
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  color:#fff;
  text-align:center;
}
.hero-copy .accent{ color: var(--gold); }
.hero-sub{
  margin: 1.8rem auto 0;
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  color: rgba(255,255,255,.72);
  max-width: 42ch;
  font-weight:500;
  text-align:center;
}
.hero-ctas{
  margin-top: 2.6rem;
  display:flex; flex-wrap:wrap; justify-content:center; gap:1rem;
}
.hero-trust{
  margin-top: 3rem;
  display:inline-flex; align-items:center; gap: 2rem;
  flex-wrap:wrap;
}
.hero-trust .ht-item{
  display:flex; flex-direction:column; gap:.15rem;
}
.hero-trust .ht-num{
  font-size: 1.6rem; font-weight:800; color: #fff; font-family:var(--font-display);
}
.hero-trust .ht-label{
  font-size:.68rem; text-transform:uppercase; letter-spacing:.12em; color: rgba(255,255,255,.72); font-weight:600;
}
.hero-trust .ht-divider{ width:1px; height:30px; background: rgba(255,255,255,.18); }

.hero-media{
  position:relative;
  overflow:hidden;
  background:#000;
}
.hero-media video, .hero-media img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  transform: scale(1.02);
}
.hero-media::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(10,10,11,.85) 0%, rgba(10,10,11,.15) 32%, rgba(10,10,11,0) 55%);
}
.hero-media .hm-frame{
  position:absolute; inset: 18px;
  border: 1px solid rgba(255,255,255,.18);
  z-index:2;
  pointer-events:none;
}
.hero-media .hm-tag{
  position:absolute; left:36px; bottom:36px; z-index:3;
  color:#fff; font-size:.72rem; letter-spacing:.14em; text-transform:uppercase;
  display:flex; align-items:center; gap:.6rem; font-weight:700;
}
.hero-media .hm-tag i{ width:7px;height:7px;border-radius:50%; background: var(--gold); display:inline-block; box-shadow:0 0 0 4px rgba(200,168,94,.25); }

.scroll-cue{
  position:absolute; left:50%; bottom: 2.2rem; transform: translateX(-50%);
  z-index:5; display:flex; flex-direction:column; align-items:center; gap:.6rem;
  color: rgba(255,255,255,.55);
}
.scroll-cue .line{ width:1px; height:38px; background: linear-gradient(rgba(255,255,255,.7),transparent); animation: cue 2.2s infinite var(--ease); }
@keyframes cue{ 0%{ transform:scaleY(0); transform-origin:top;} 50%{ transform:scaleY(1); transform-origin:top;} 50.01%{ transform-origin:bottom;} 100%{ transform:scaleY(0); transform-origin:bottom;} }
.scroll-cue span{ font-size:.62rem; letter-spacing:.2em; text-transform:uppercase; font-weight:700; }

/* ---------------- Marquee strip ---------------- */
.strip{
  background: linear-gradient(120deg, var(--blue-chic-deep), #0a3560 55%, var(--blue-chic-deep));
  border-top:1px solid rgba(79,168,224,.35);
  border-bottom:1px solid rgba(79,168,224,.35);
  padding: 1.4rem 0;
  overflow:hidden;
}
.strip-track{
  display:flex; white-space:nowrap;
  animation: marquee 32s linear infinite;
  width:max-content;
}
.strip-group{
  display:inline-flex; align-items:center; gap: 3.5rem;
}
.strip-group span{
  font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; font-weight:700; color: rgba(255,255,255,.88);
  display:inline-flex; align-items:center;
}
.strip-group span::after{ content:"—"; color: var(--blue-chic-soft); margin-left:3.5rem; }
@keyframes marquee{ from{ transform: translateX(0);} to{ transform: translateX(-50%);} }

/* ---------------- Reveal animation ---------------- */
.reveal{
  opacity:0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in{ opacity:1; transform:none; }
.reveal-stagger > *{ transition-delay: calc(var(--i,0) * 90ms); }

/* ---------------- Solutions ---------------- */
.solutions{ padding: var(--section-pad) 0; background:#fff; }
.sol-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-100);
  border: 1px solid var(--gray-100);
}
.sol-card{
  background:#fff;
  padding: 2.6rem 2rem;
  display:flex; flex-direction:column; align-items:center; gap:1.4rem;
  min-height: 240px;
  text-align:center;
  transition: background .5s var(--ease), transform .5s var(--ease);
  position:relative;
}
.sol-card:hover{ background: var(--near-black); transform: translateY(-4px); z-index:2; }
.sol-card:hover .sol-icon{ border-color: var(--gold); color: var(--gold); }
.sol-card:hover h3, .sol-card:hover p{ color:#fff; }
.sol-card:hover p{ color: rgba(255,255,255,.65); }
.sol-icon{
  width: 52px; height:52px; border-radius:50%;
  border:1px solid var(--gray-300);
  display:flex; align-items:center; justify-content:center;
  color: var(--near-black);
  transition: all .5s var(--ease);
}
.sol-icon svg{ width:22px; height:22px; }
.sol-card h3{
  font-size:1.06rem; font-weight:800; color: var(--near-black); transition: color .4s;
}
.sol-card p{
  font-size:.88rem; color: var(--gray-700); line-height:1.55; transition: color .4s;
}

/* ---------------- Projects (video carousel) ---------------- */
.projects{ padding: var(--section-pad) 0; background: var(--near-black); color:#fff; }

.proj-carousel{ position:relative; }

.proj-track{
  display:flex;
  overflow-x:auto;
  scroll-snap-type: x mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.proj-track::-webkit-scrollbar{ display:none; height:0; }

.proj-slide{
  flex: 0 0 100%;
  width:100%;
  scroll-snap-align:center;
  display:flex;
  justify-content:center;
}

.proj-card{
  position:relative;
  width:min(420px, 100%);
  aspect-ratio: 3/4;
  border-radius: 18px;
  overflow:hidden;
  background: var(--graphite);
  cursor:pointer;
}
.proj-card video, .proj-card img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transition: transform 1.1s var(--ease);
}
.proj-card:hover video, .proj-card:hover img{ transform: scale(1.08); }
.proj-card::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.78) 100%);
}
.proj-tag{
  position:absolute; left:1.4rem; bottom:1.4rem; right:1.4rem; z-index:2;
  color:#fff;
}
.proj-tag .pt-num{ font-size:.7rem; color: var(--gold); letter-spacing:.16em; font-weight:700; }
.proj-tag h4{ font-size:1.15rem; font-weight:800; margin-top:.3rem; letter-spacing:-.01em; }

.proj-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  width:52px; height:52px; border-radius:50%;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
  z-index:3;
}
.proj-arrow:hover{ background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.55); }
.proj-arrow svg{ width:20px; height:20px; }
.proj-arrow.prev{ left: clamp(.5rem, 4vw, 2.5rem); }
.proj-arrow.next{ right: clamp(.5rem, 4vw, 2.5rem); }

.proj-dots{
  display:flex; justify-content:center; align-items:center; gap:.55rem;
  margin-top: 2rem;
}
.proj-dots button{
  width:8px; height:8px; border-radius:50%;
  background: rgba(255,255,255,.25);
  border:none; padding:0; cursor:pointer;
  transition: background .3s, transform .3s var(--ease);
}
.proj-dots button.active{ background: var(--gold); transform: scale(1.35); }

/* ---------------- Testimonials ---------------- */
.testimonials{ padding: var(--section-pad) 0; background: var(--off-white); }
.test-layout{
  display:grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(2rem,5vw,5rem);
  align-items:center;
}
.test-video{
  position:relative;
  border-radius: 18px;
  overflow:hidden;
  aspect-ratio: 3/4;
  background:#000;
  box-shadow: 0 40px 70px -30px rgba(0,0,0,.35);
}
.test-video video, .test-video img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.test-play{
  position:absolute; inset:0; z-index:3;
  display:flex; align-items:center; justify-content:center;
  background: rgba(0,0,0,.18);
  transition: background .4s;
}
.test-play button{
  width:76px; height:76px; border-radius:50%;
  background: rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.5);
  backdrop-filter: blur(10px);
  display:flex; align-items:center; justify-content:center;
  transition: transform .4s var(--ease), background .4s;
}
.test-play button svg{ width:22px; height:22px; margin-left:3px; fill:#fff; }
.test-play:hover button{ transform: scale(1.08); background: rgba(255,255,255,.28); }
.test-video.playing .test-play{ opacity:0; pointer-events:none; }
.test-badge{
  position:absolute; left:1.2rem; bottom:1.2rem; z-index:2; color:#fff;
}
.test-badge .stars{ color: var(--gold); font-size:.85rem; letter-spacing:.1em; }
.test-badge strong{ display:block; font-size:1rem; margin-top:.3rem; }
.test-badge span{ font-size:.76rem; color: rgba(255,255,255,.7); }

.test-quote-mark{ font-family: var(--font-display); font-size: 5rem; color: var(--gold); line-height:1; opacity:.5; margin-bottom:-1.4rem; }
.test-content p.big{
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 600;
  color: var(--near-black);
  line-height:1.4;
  max-width: 24ch;
}
.test-content .test-cta{ margin-top: 2.2rem; }
.test-content .section-sub{ max-width: 399px; text-align: justify; text-justify: inter-word; }

/* ---------------- Stats ---------------- */
.stats{ padding: clamp(4rem,7vw,6rem) 0; background: var(--near-black); color:#fff; }
.stats-grid{
  display:grid; grid-template-columns: repeat(2,1fr);
  gap: 2rem;
  max-width: 640px;
  margin: 0 auto;
}
.stat-item{ text-align:center; padding: 0 1rem; position:relative; }
.stat-item + .stat-item::before{
  content:""; position:absolute; left:0; top:10%; bottom:10%; width:1px;
  background: rgba(255,255,255,.12);
}
.stat-num{
  font-family: var(--font-display); font-weight:800;
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  color:#fff; display:flex; align-items:baseline; justify-content:center; gap:.15rem;
}
.stat-num .suffix{ font-size:.5em; color: var(--blue-chic-soft); font-weight:700; }
.stat-num .plus-pre{ color: var(--blue-chic-soft); }
.stat-label{
  margin-top:.7rem; font-size:.76rem; letter-spacing:.1em; text-transform:uppercase;
  color: rgba(255,255,255,.55); font-weight:600;
}

/* ---------------- About ---------------- */
.about{ padding: var(--section-pad) 0; background:#fff; }
.about-grid{
  display:grid; grid-template-columns: .82fr 1.18fr;
  gap: clamp(2.5rem,6vw,6rem);
  align-items:center;
}
.about-media{ position:relative; }
.about-media .frame{
  position:relative; border-radius: 18px; overflow:hidden;
  aspect-ratio: 4/5;
}
.about-media img{ width:100%; height:100%; object-fit:cover; }
.about-media .am-card{
  position:absolute; left:-1.6rem; bottom:-1.6rem;
  background: var(--near-black); color:#fff;
  padding: 1.4rem 1.7rem;
  border-radius: 14px;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.35);
  max-width: 230px;
}
.am-card .am-num{ font-size:1.7rem; font-weight:800; color: var(--gold); }
.am-card .am-label{ font-size:.76rem; color: rgba(255,255,255,.7); margin-top:.2rem; }

.about-copy .role{ font-size:.85rem; color: var(--gray-500); font-weight:700; margin-top:.6rem; margin-bottom:1.6rem; letter-spacing:.03em; }
.about-copy p{ color: var(--gray-700); font-size:1.02rem; line-height:1.75; margin: 0 0 1.1rem; max-width: 577px; text-align: justify; text-justify: inter-word; }
.pillars{ display:grid; grid-template-columns: repeat(3,1fr); gap:1.4rem; margin-top:2.4rem; }
.pillar{ border-top:1px solid var(--gray-100); padding-top:1.1rem; }
.pillar h4{ font-size:.94rem; font-weight:800; }
.pillar p{ font-size:.82rem; color: var(--gray-500); margin-top:.4rem; line-height:1.5; }

/* ---------------- Contact ---------------- */
.contact{ padding: var(--section-pad) 0; background: var(--near-black); color:#fff; position:relative; overflow:hidden; }
.contact::before{
  content:""; position:absolute; top:-30%; right:-10%; width:60%; height:120%;
  background: radial-gradient(circle, rgba(200,168,94,.10), transparent 60%);
  pointer-events:none;
}
.contact-grid{
  display:grid; grid-template-columns: .95fr 1.05fr;
  gap: clamp(2.5rem,6vw,6rem);
  align-items:start;
  position:relative; z-index:1;
}
.contact-copy h2{ color:#fff; }
.contact-copy p{ color: rgba(255,255,255,.68); font-size:1.02rem; margin-top:1.4rem; max-width:none; line-height:1.7; }
.contact-list{ margin-top: 2.6rem; display:flex; flex-direction:column; gap:1.3rem; }
.contact-list a{
  display:flex; align-items:center; gap:1rem; font-size:.94rem; color: rgba(255,255,255,.85);
  transition: color .3s, transform .3s var(--ease);
}
.contact-list a:hover{ color:#fff; transform: translateX(4px); }
.contact-list a:hover .ci{ border-color: var(--blue-chic-soft); color: var(--blue-chic-soft); }
.contact-list .ci{
  width:42px; height:42px; border-radius:50%; border:1px solid rgba(255,255,255,.2);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  transition: border-color .3s, color .3s;
}
.contact-list svg{ width:17px; height:17px; }

.contact-form{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: clamp(1.8rem,3.4vw,2.6rem);
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap:1.1rem; }
.field{ margin-bottom: 1.1rem; }
.field label{
  display:block; font-size:.72rem; letter-spacing:.1em; text-transform:uppercase;
  color: rgba(255,255,255,.55); margin-bottom:.55rem; font-weight:700;
}
.field input, .field textarea{
  width:100%; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  padding: .95rem 1.05rem;
  color:#fff; font-size:.94rem;
  transition: border-color .3s, background .3s;
}
.field input::placeholder, .field textarea::placeholder{ color: rgba(255,255,255,.32); }
.field input:focus, .field textarea:focus{
  outline:none; border-color: var(--gold); background: rgba(255,255,255,.08);
}
.field textarea{ resize:vertical; min-height:100px; }
.form-note{ font-size:.74rem; color: rgba(255,255,255,.4); margin-top:1rem; text-align:center; }


/* ---------------- Footer ---------------- */
.site-footer{ background:#000; color:#fff; padding: 4.5rem 0 2rem; }
.footer-top{
  display:grid; grid-template-columns: 1.3fr .7fr .7fr 1fr; gap: 2.5rem;
  padding-bottom: 3rem; border-bottom:1px solid rgba(255,255,255,.1);
}
.footer-brand .brand{ margin-bottom:1rem; }
.footer-brand p{ font-size:.86rem; color: rgba(255,255,255,.5); max-width:32ch; line-height:1.6; }
.footer-col h5{ font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color: var(--gold); font-weight:700; margin-bottom:1.2rem; }
.footer-col a, .footer-col span{ display:block; font-size:.88rem; color: rgba(255,255,255,.68); margin-bottom:.8rem; transition:color .3s; }
.footer-col a:hover{ color:#fff; }
.footer-social{ display:flex; gap:.8rem; margin-top:.4rem; }
.footer-social a{
  width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.2);
  display:flex; align-items:center; justify-content:center;
}
.footer-social svg{ width:16px; height:16px; }
.footer-bottom{
  padding-top: 1.8rem;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem;
  font-size:.76rem; color: rgba(255,255,255,.4);
}

/* ---------------- Floating WhatsApp ---------------- */
.wa-float{
  position:fixed; right: clamp(1.1rem,3vw,2rem); bottom: clamp(1.1rem,3vw,2rem); z-index: 900;
  width:60px; height:60px; border-radius:50%;
  background: var(--near-black); color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 16px 32px -10px rgba(0,0,0,.4);
  transition: transform .4s var(--ease);
}
.wa-float svg{ width:26px; height:26px; }
.wa-float:hover{ transform: scale(1.08); }
.wa-float::before{
  content:""; position:absolute; inset:-6px; border-radius:50%;
  border: 1px solid var(--gold); opacity:.5;
  animation: pulse 2.6s infinite var(--ease);
}
@keyframes pulse{ 0%{ transform:scale(.9); opacity:.6;} 70%{ transform:scale(1.28); opacity:0;} 100%{ opacity:0;} }

/* ---------------- Chat bubble popup ---------------- */
.chat-bubble{
  position:fixed;
  right: clamp(1.1rem,3vw,2rem);
  bottom: calc(clamp(1.1rem,3vw,2rem) + 76px);
  z-index: 899;
  width: 300px; max-width: calc(100vw - 2.2rem);
  background:#fff;
  border-radius: 18px;
  box-shadow: 0 26px 55px -16px rgba(0,0,0,.4);
  padding: 1.1rem 1.2rem 1.15rem;
  opacity:0;
  transform: translateY(16px) scale(.96);
  pointer-events:none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.chat-bubble.show{ opacity:1; transform:none; pointer-events:auto; }
.chat-bubble-close{
  position:absolute; top:.65rem; right:.7rem;
  width:22px; height:22px; border-radius:50%;
  border:none; background: var(--gray-100); color: var(--gray-700);
  display:flex; align-items:center; justify-content:center;
  font-size:1rem; line-height:1; cursor:pointer;
}
.chat-bubble-body{ display:flex; gap:.8rem; align-items:flex-start; padding-right:1rem; }
.chat-bubble-avatar{ position:relative; flex-shrink:0; }
.chat-bubble-avatar img{ width:44px; height:44px; border-radius:50%; object-fit:cover; display:block; }
.chat-bubble-online{
  position:absolute; right:-1px; bottom:-1px;
  width:12px; height:12px; border-radius:50%;
  background:#2ecc71; border:2px solid #fff;
}
.chat-bubble-info{ display:block; }
.chat-bubble-info strong{ display:block; font-size:.86rem; font-weight:800; color: var(--near-black); line-height:1.3; }
.chat-bubble-info span{ display:block; font-size:.72rem; color: var(--gray-500); margin-top:2px; }
.chat-bubble-info p{ margin:.55rem 0 0; font-size:.88rem; color: var(--near-black); font-weight:600; line-height:1.4; }

@media (max-width: 640px){
  .chat-bubble{ bottom: calc(clamp(1.1rem,3vw,2rem) + 66px); width: 270px; padding: 1rem 1.1rem 1.05rem; }
}

/* ---------------- Lightbox ---------------- */
.lightbox{
  position:fixed; inset:0; z-index:1200; background: rgba(6,6,7,.94);
  display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition: opacity .4s var(--ease);
  padding: 4rem 1.5rem;
}
.lightbox.open{ opacity:1; pointer-events:auto; }
.lightbox video{ max-height: 88vh; border-radius: 14px; }
.lightbox-close{
  position:absolute; top: 1.6rem; right: 1.6rem;
  width:46px; height:46px; border-radius:50%;
  border:1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06);
  color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.3rem;
}
.lightbox-cap{ position:absolute; left:50%; bottom:2rem; transform:translateX(-50%); color:#fff; font-size:.85rem; letter-spacing:.05em; text-align:center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px){
  .sol-grid{ grid-template-columns: repeat(2,1fr); }
  .footer-top{ grid-template-columns: 1fr 1fr; row-gap: 2.4rem; }
  /* reserva espaço pro botão flutuante de WhatsApp não sobrepor o texto */
  .footer-bottom{ padding-right: clamp(3.5rem, 8vw, 4.5rem); }
}

@media (max-width: 900px){
  .nav-desktop, .header-cta .btn-ghost{ display:none; }
  .burger{ display:flex; }

  .hero-grid{ grid-template-columns: 1fr; }
  .hero{ min-height: auto; }
  .hero-media{ order:-1; min-height: 62svh; }
  .hero-media::after{ background: linear-gradient(0deg, rgba(10,10,11,1) 2%, rgba(10,10,11,0) 40%); }
  .hero-copy{ padding-top: 2.6rem; padding-bottom: 3.5rem; }
  .hero-trust{ gap:1.1rem; }
  .scroll-cue{ display:none; }

  .test-layout, .about-grid, .contact-grid{ grid-template-columns: 1fr; }
  .about-media{ max-width: 380px; margin: 0 auto; }
  .form-row{ grid-template-columns: 1fr; }
  .pillars{ grid-template-columns: 1fr 1fr; }

  .proj-arrow{ width:44px; height:44px; }
  .proj-arrow svg{ width:18px; height:18px; }
  .proj-arrow.prev{ left:.4rem; }
  .proj-arrow.next{ right:.4rem; }
}

@media (max-width: 640px){
  .sol-grid{ grid-template-columns: 1fr 1fr; }
  .about-media .am-card{ left: 1rem; right:1rem; bottom:-1.2rem; max-width:none; }
  .proj-card{ width:min(320px, 88%); }

  .pillars{ display:none; }

  /* ---- Footer: condensed, centered, brand-only layout ---- */
  .site-footer{ padding: 3rem 0 1.6rem; }
  .footer-top{
    display:flex; flex-direction:column; align-items:center; text-align:center;
    padding-bottom: 2rem;
  }
  .footer-col{ display:none; }
  .footer-brand{ display:flex; flex-direction:column; align-items:center; }
  .footer-brand .brand{ justify-content:center; }
  .footer-brand p{ max-width: 30ch; margin:0 auto; }
  .footer-social{ justify-content:center; margin-top:1rem; }
  .footer-bottom{
    flex-direction: column;
    align-items: center;
    justify-content:center;
    text-align:center;
    gap: .5rem;
    padding-top: 1.4rem;
  }
}

@media (max-width: 480px){
  .sol-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 900px){
  .wa-float{ width:52px; height:52px; opacity:.94; }
  .wa-float svg{ width:22px; height:22px; }
}
