/* =============================================
   PROEZA MÓVEIS — DESIGN CLARO & MODERNO
   ============================================= */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── TOKENS ── */
:root {
  --red:    #E05A10; /* Laranja principal da marca */
  --red-dk: #C04A08; /* Laranja escuro / Hover */
  --gold:   #707070; /* Cinza médio para detalhes/anéis */
  --gold-lt:#A0A0A0; /* Cinza claro */
  --ink:    #121212; /* Preto rico */
  --ink2:   #242424; /* Preto suave para textos secundários */
  --muted:  #606060; /* Cinza escuro para textos de parágrafo */
  --bg:     #FFFFFF; /* Branco puro */
  --bg2:    #FAFAFA; /* Branco/Cinza muito claro para seções alternadas */
  --bg3:    #EEEEEE; /* Cinza claro para tags e fundos secundários */
  --border: #E0E0E0; /* Cinza de borda */
  --dark:   #121212; /* Preto sólido */
  --nav-h:  72px;
  --r:      14px;
  --rl:     22px;
  --ease:   cubic-bezier(.4,0,.2,1);
  --fast:   .25s;
  --med:    .45s;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.65;
}

/* ── THREE CANVAS (background) ── */
#three-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { font-family:'Cormorant Garamond',serif; line-height:1.12; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); font-weight:600; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight:600; }
h3 { font-size: clamp(1.1rem,2vw,1.4rem); font-weight:600; }
em { font-style:italic; color:var(--red); }
strong { color:var(--ink); }

.eyebrow {
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--red);
  display:flex;
  align-items:center;
  gap:.7rem;
  margin-bottom:.9rem;
}
.eyebrow::before {
  content:'';
  width:28px; height:1.5px;
  background:var(--red);
  flex-shrink:0;
}
.eyebrow-light { color:var(--gold-lt); }
.eyebrow-light::before { background:var(--gold-lt); }

.white-title { color:#fff; }
.body-txt { color:var(--muted); font-size:1.02rem; line-height:1.8; }

.sec-head { text-align:center; margin-bottom:4rem; }
.sec-head .eyebrow { justify-content:center; }
.sec-head .eyebrow::before { display:none; }

/* ── LAYOUT ── */
.wrap { max-width:1180px; margin:0 auto; padding:0 2rem; }
.section { position:relative; z-index:2; padding:7rem 0; }

/* ── BUTTONS ── */
.btn {
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.75rem 1.8rem;
  border-radius:100px;
  font-family:'Inter',sans-serif;
  font-size:.875rem; font-weight:500;
  letter-spacing:.02em;
  text-decoration:none;
  cursor:pointer;
  border:none;
  transition:all var(--fast) var(--ease);
  position:relative; overflow:hidden;
}
.btn-solid {
  background:var(--red); color:#fff;
  box-shadow:0 4px 18px rgba(139,26,46,.28);
}
.btn-solid:hover { background:var(--red-dk); transform:translateY(-2px); box-shadow:0 8px 28px rgba(139,26,46,.38); }
.btn-ring {
  background:transparent; color:var(--ink);
  border:1.5px solid var(--border);
}
.btn-ring:hover { border-color:var(--red); color:var(--red); background:rgba(139,26,46,.04); transform:translateY(-2px); }
.btn-block { width:100%; justify-content:center; border-radius:var(--r); }

/* ── REVEAL (scroll-triggered) ─────────────────────────────────────
   1. Script adds .js-ready to <body> when DOM is loaded
   2. All .reveal start hidden when js-ready is active
   3. JS IntersectionObserver adds .in when element enters viewport
   4. data-anim="up|left|right|scale" sets the entrance direction
   ----------------------------------------------------------------- */
body.js-ready .reveal {
  opacity: 0;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
/* default: slide up */
body.js-ready .reveal:not([data-anim]),
body.js-ready .reveal[data-anim="up"] {
  transform: translateY(42px);
}
/* slide from left */
body.js-ready .reveal[data-anim="left"] {
  transform: translateX(-52px);
}
/* slide from right */
body.js-ready .reveal[data-anim="right"] {
  transform: translateX(52px);
}
/* scale up */
body.js-ready .reveal[data-anim="scale"] {
  transform: scale(.88);
}
/* arrived state */
body.js-ready .reveal.in {
  opacity: 1;
  transform: none;
}

/* ── ENTRY ANIMATIONS (hero) ── */
.anim-fade-down  { animation:fadeDown  .7s var(--ease) var(--d,.1s) both; }
.anim-fade-up    { animation:fadeUp    .7s var(--ease) var(--d,.1s) both; }
.anim-fade-left  { animation:fadeLeft  .8s var(--ease) var(--d,.1s) both; }
.anim-reveal     { animation:lineReveal .8s var(--ease) var(--d,.1s) both; }

@keyframes fadeDown   { from{opacity:0;transform:translateY(-18px)} to{opacity:1;transform:none} }
@keyframes fadeUp     { from{opacity:0;transform:translateY(22px)}  to{opacity:1;transform:none} }
@keyframes fadeLeft   { from{opacity:0;transform:translateX(36px)}  to{opacity:1;transform:none} }
@keyframes lineReveal { from{opacity:0;transform:translateY(32px) skewY(2deg)} to{opacity:1;transform:none} }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed; inset: 0 0 auto;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: background var(--med) var(--ease), box-shadow var(--med) var(--ease), border var(--med) var(--ease);
}
.navbar.up {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.nav-wrap {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  height: 100%; display: flex; align-items: center; justify-content: flex-end;
}
.brand { 
  text-decoration: none; 
  display: flex; 
  align-items: center; 
}
.brand-logo-img {
  height: 52px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.06));
  transition: all 0.3s var(--ease);
}
.navbar.up .brand-logo-img {
  height: 44px;
}
.logo-footer {
  height: 80px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.nav-menu { display: flex; list-style: none; align-items: center; gap: 0.2rem; }
.nl {
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.84rem; font-weight: 400;
  color: var(--ink2);
  transition: all 0.2s;
  white-space: nowrap;
  position: relative;
}
.nl:hover { background: var(--bg3); color: var(--red); }
.nl.active {
  color: var(--ink);
  font-weight: 600;
}
.nl.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.nl-cta {
  background: var(--red); color: #fff !important;
  font-weight: 500;
  padding: 0.5rem 1.3rem;
  margin-left: 0.4rem;
  box-shadow: 0 3px 14px rgba(224, 90, 16, 0.25);
  display: inline-block;
}
.nl-cta:hover { background: var(--red-dk) !important; color: #fff !important; }
.nl-cta.active::after { display: none; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =============================================
   HERO SECTION WRAPPER & BACKGROUND GRADIENT
   ============================================= */
.hero-section-wrap {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: radial-gradient(circle at 18% 30%, #FDFBF7 0%, #F5ECE0 48%, #EDE2D2 100%), linear-gradient(135deg, #FBF8F4 0%, #F4ECE1 100%);
  overflow: hidden;
  border-bottom: 1px solid rgba(210, 180, 150, 0.25);
}

.hero-bg-curves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  width: 100%;
  height: 100%;
}
.hero-bg-curves svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================
   HERO — SPLIT LAYOUT (MATCHING MOCKUP)
   ============================================= */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  padding: calc(var(--nav-h) + 1rem) 2.5rem 2.5rem;
  max-width: 1360px;
  margin: 0 auto;
  gap: 2.5rem;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  padding: 0.5rem 0;
}

/* ── HERO TAG ── */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: flex-start;
}
.hero-tag-line {
  width: 26px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── HERO MAIN LOGO ── */
.hero-logo-wrap {
  display: inline-flex;
  align-items: center;
  margin: 0.1rem 0 -0.3rem;
}
.hero-logo-main {
  height: 112px; /* Destaque elegante e nítido */
  width: auto;
  max-width: 260px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.07));
  transition: transform 0.4s var(--ease);
}
.hero-logo-main:hover {
  transform: scale(1.03) translateY(-2px);
}

.hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.hero-h1 em {
  font-style: italic;
  color: var(--red);
  font-weight: 500;
}

.hero-sub {
  color: var(--muted);
  font-size: 0.94rem;
  max-width: 470px;
  line-height: 1.65;
}

.hero-btns {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin-top: 0.2rem;
}

.hero-nums {
  display: flex;
  gap: 1.8rem;
  align-items: center;
  padding-top: 1rem;
  margin-top: 0.4rem;
  border-top: 1px solid var(--border);
}
.hnum {
  display: flex;
  flex-direction: column;
}
.hnum b {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.hnum small {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
}
.hdiv {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ── HERO RIGHT & WATERMARK ── */
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 580px;
}
.hero-img {
  width: 100%;
  height: min(520px, 66vh);
  object-fit: cover;
  border-radius: 110px 24px 24px 24px; /* Asymmetric cut matching mockup */
  display: block;
  box-shadow: 0 32px 80px rgba(28, 16, 8, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.hero-watermark-text {
  position: absolute;
  bottom: -0.8rem;
  right: -0.3rem;
  font-family: 'Caveat', cursive;
  font-size: 2rem;
  line-height: 1.05;
  color: #8C6246;
  opacity: 0.9;
  transform: rotate(-5deg);
  pointer-events: none;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.95);
  text-align: right;
}
.hero-watermark-text span {
  font-size: 1.75rem;
  display: block;
}

/* Scroll indicator */
.hero-scroll {
  position:absolute;
  bottom:2.5rem; left:50%;
  transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:.5rem;
  color:var(--muted); font-size:.68rem; letter-spacing:.12em; text-transform:uppercase;
  animation:fadeUp .8s 1.5s both;
}
.scroll-track { width:1.5px; height:40px; background:var(--border); border-radius:2px; overflow:hidden; }
.scroll-thumb { width:100%; height:40%; background:var(--red); border-radius:2px; animation:scrollThumb 2s ease-in-out infinite; }
@keyframes scrollThumb { 0%{transform:translateY(-100%)} 100%{transform:translateY(300%)} }

/* =============================================
   MARQUEE
   ============================================= */
.marquee-wrap {
  position:relative; z-index:2;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  background:var(--bg2);
  overflow:hidden;
  padding:.9rem 0;
}
.marquee-track {
  display:flex; gap:2.5rem; align-items:center;
  white-space:nowrap;
  animation:marquee 25s linear infinite;
  width:max-content;
}
.marquee-track span { font-size:.8rem; font-weight:500; letter-spacing:.06em; color:var(--muted); text-transform:uppercase; }
.marquee-track .sep { color:var(--red); font-size:.7rem; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* =============================================
   SOBRE
   ============================================= */
.sobre { background:var(--bg); }
.sobre-grid { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:center; }

.sobre-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}
.founder-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 540px;
  border-radius: var(--rl);
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(28, 16, 8, 0.16);
  border: 1px solid var(--border);
  background: var(--bg2);
}
.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.7s var(--ease);
}
.founder-card:hover .founder-img {
  transform: scale(1.03);
}
.founder-badge {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  right: 1.2rem;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.9rem 1.4rem;
  border-radius: var(--r);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.founder-badge strong {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.founder-badge span {
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
  line-height: 1.35;
}
.simg-badge {
  position: absolute;
  top: -1.2rem;
  right: -0.8rem;
  background: #fff;
  border-radius: var(--r);
  padding: 1.1rem 1.5rem;
  text-align: center;
  box-shadow: 0 14px 36px rgba(0,0,0,.12);
  border: 1px solid var(--border);
  z-index: 3;
}
.badge-num { font-family:'Cormorant Garamond',serif; font-size:2.8rem; font-weight:700; color:var(--red); line-height:1; }
.badge-label { font-size:.75rem; color:var(--muted); line-height:1.4; }

.sobre-txt { display:flex; flex-direction:column; gap:1.4rem; }
.sobre-txt h2 { margin-bottom:.3rem; }
.sobre-items { display:flex; flex-direction:column; gap:1rem; }
.sitem {
  display:flex; gap:1.2rem; align-items:flex-start;
  padding:1rem 1.2rem;
  border-radius:var(--r);
  border:1px solid var(--border);
  background:var(--bg2);
  transition:all .3s;
}
.sitem:hover { border-color:var(--red); background:rgba(139,26,46,.03); transform:translateX(4px); }
.sitem-icon { font-family:'Cormorant Garamond',serif; font-size:1.2rem; font-weight:700; color:var(--red); opacity:.5; flex-shrink:0; min-width:28px; }
.sitem strong { display:block; font-size:.9rem; margin-bottom:.2rem; }
.sitem p { font-size:.84rem; color:var(--muted); margin:0; }

/* =============================================
   SERVIÇOS
   ============================================= */
.servicos { background:var(--bg2); }
.svc-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.2rem; }
.svc-card {
  padding:2.2rem 1.8rem;
  background:var(--bg);
  border-radius:var(--rl);
  border:1px solid var(--border);
  position:relative; overflow:hidden;
  cursor:default;
  transition:all .35s var(--ease);
  group:true;
}
.svc-card::after {
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(139,26,46,.04),transparent);
  opacity:0;
  transition:opacity .35s;
}
.svc-card:hover { transform:translateY(-5px); box-shadow:0 20px 48px rgba(0,0,0,.09); border-color:rgba(139,26,46,.25); }
.svc-card:hover::after { opacity:1; }
.svc-n { font-family:'Cormorant Garamond',serif; font-size:3rem; font-weight:700; color:rgba(139,26,46,.1); line-height:1; margin-bottom:.7rem; }
.svc-card h3 { margin-bottom:.6rem; font-size:1.15rem; }
.svc-card p  { font-size:.86rem; color:var(--muted); line-height:1.7; margin-bottom:1.2rem; }
.svc-arrow {
  display:inline-flex; align-items:center; justify-content:center;
  width:32px; height:32px;
  border-radius:50%;
  border:1px solid var(--border);
  color:var(--red);
  font-size:1rem;
  transition:all .3s;
}
.svc-card:hover .svc-arrow { background:var(--red); color:#fff; border-color:var(--red); transform:rotate(45deg); }

/* =============================================
   PORTFÓLIO
   ============================================= */
.portfolio { background:var(--bg); }
.port-filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 1.8rem 0 2.5rem;
}
.filter-btn {
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  padding: 0.55rem 1.15rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.filter-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: #FFF5EE;
}
.filter-btn.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 4px 14px rgba(224,90,16,.28);
}
.port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 290px;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}
.port-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--rl);
  cursor: pointer;
  height: 290px;
  background: var(--bg2);
}
.port-item.port-tall {
  grid-row: span 2;
  height: 600px;
}
.port-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease);
}
.port-item:hover img { transform:scale(1.07); }
.port-over {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,18,18,.85) 0%, rgba(18,18,18,.25) 45%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity .4s;
}
.port-item:hover .port-over { opacity:1; }
.port-over span {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(255,255,255,.92);
  padding: 3px 9px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: .45rem;
}
.port-over h3 { color:#fff; font-size:1.15rem; font-weight:600; }
.port-cta { text-align:center; display:flex; justify-content:center; gap:1rem; flex-wrap:wrap; }

/* =============================================
   DIFERENCIAIS (dark section)
   ============================================= */
.diferenciais { background:linear-gradient(135deg,var(--dark) 0%,#2A1208 60%,#3D1015 100%); }
.diff-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.diff-item {
  padding:2rem 1.8rem;
  border:1px solid rgba(255,255,255,.07);
  border-radius:var(--rl);
  background:rgba(255,255,255,.03);
  transition:all .35s;
}
.diff-item:hover { background:rgba(255,255,255,.07); border-color:rgba(184,146,106,.3); transform:translateY(-4px); }
.dn { font-family:'Cormorant Garamond',serif; font-size:2.4rem; font-weight:700; color:var(--red); display:block; margin-bottom:.6rem; line-height:1; }
.diff-item h3 { color:#fff; margin-bottom:.5rem; font-size:1.1rem; }
.diff-item p  { color:rgba(255,255,255,.5); font-size:.86rem; line-height:1.7; }

/* =============================================
   DEPOIMENTOS
   ============================================= */
.deps { background:var(--bg2); }
.dep-wrap { max-width:700px; margin:0 auto; }
.dep-card {
  background:var(--bg);
  border-radius:var(--rl);
  padding:2.8rem;
  text-align:center;
  box-shadow:0 8px 40px rgba(0,0,0,.07);
  border:1px solid var(--border);
  position:relative;
}
.dep-card::before { content:'\201C'; position:absolute; top:1rem; left:2rem; font-family:'Cormorant Garamond',serif; font-size:5rem; color:var(--red); opacity:.1; line-height:1; }
.dep-stars { color:var(--gold); font-size:1.1rem; letter-spacing:.1em; margin-bottom:1.2rem; }
.dep-card blockquote { font-size:1.05rem; color:var(--muted); line-height:1.85; font-style:italic; margin-bottom:1.8rem; border:none; padding:0; }
.dep-who { display:flex; align-items:center; justify-content:center; gap:.9rem; }
.dep-av { width:44px; height:44px; border-radius:50%; background:linear-gradient(135deg,var(--red),var(--gold)); color:#fff; font-family:'Cormorant Garamond',serif; font-size:1.3rem; font-weight:600; display:flex; align-items:center; justify-content:center; }
.dep-who strong { display:block; font-size:.9rem; }
.dep-who small  { font-size:.78rem; color:var(--muted); }
.dep-nav { display:flex; align-items:center; justify-content:center; gap:1.2rem; margin-top:2rem; }
.dbt { width:40px; height:40px; border-radius:50%; border:1.5px solid var(--border); background:var(--bg); color:var(--ink); font-size:1.3rem; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:.3s; }
.dbt:hover { background:var(--red); color:#fff; border-color:var(--red); }
.ddots { display:flex; gap:.4rem; }
.dd { width:7px; height:7px; border-radius:50%; background:var(--border); cursor:pointer; transition:all .3s; }
.dd.active { background:var(--red); width:22px; border-radius:4px; }

/* =============================================
   CONTATO
   ============================================= */
.contato { background:var(--bg); }
.ctt-grid { display:grid; grid-template-columns:1fr 1.15fr; gap:5rem; align-items:start; }
.ctt-left { display:flex; flex-direction:column; gap:1.4rem; }
.ctt-left h2 { margin-bottom:.2rem; }
.ctt-links { display:flex; flex-direction:column; gap:.8rem; }
.ctt-link {
  display:flex; align-items:center; gap:1rem;
  padding:1rem 1.3rem;
  border-radius:var(--r);
  border:1px solid var(--border);
  background:var(--bg2);
  text-decoration:none; color:var(--ink);
  transition:all .3s;
}
.ctt-link:hover { border-color:var(--red); background:rgba(139,26,46,.04); transform:translateX(4px); }
.ctt-li-icon { width:42px; height:42px; border-radius:10px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.wa-icon { background:#25D36620; color:#25D366; }
.ig-icon { background:rgba(139,26,46,.1); color:var(--red); }
.ctt-link strong { display:block; font-size:.9rem; }
.ctt-link small  { font-size:.8rem; color:var(--muted); }

/* Form */
.ctt-form-wrap { background:var(--bg2); border-radius:var(--rl); padding:2.5rem 2.2rem; border:1px solid var(--border); }
.ctt-form-wrap h3 { font-family:'Cormorant Garamond',serif; font-size:1.6rem; color:var(--ink); margin-bottom:1.8rem; }
.fg { position:relative; margin-bottom:1.2rem; }
.fg input, .fg select, .fg textarea {
  width:100%; padding:.9rem 1.1rem;
  border:1.5px solid var(--border);
  border-radius:var(--r);
  font-family:'Inter',sans-serif; font-size:.88rem;
  color:var(--ink); background:var(--bg);
  outline:none; transition:.25s;
  -webkit-appearance:none; appearance:none;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color:var(--red); box-shadow:0 0 0 3px rgba(139,26,46,.08); }
.fg textarea { resize:vertical; min-height:90px; }
.fg label { position:absolute; top:-.5rem; left:.9rem; background:var(--bg); padding:0 .3rem; font-size:.7rem; font-weight:500; color:var(--muted); }

/* =============================================
   FOOTER
   ============================================= */
.footer { background:var(--dark); padding:4.5rem 0 2rem; position:relative; z-index:2; }
.ft-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:4rem; margin-bottom:3rem; padding-bottom:2.5rem; border-bottom:1px solid rgba(255,255,255,.07); }
.ft-brand .brand { margin-bottom:1.2rem; }
.ft-brand p { color:rgba(255,255,255,.4); font-size:.86rem; line-height:1.7; max-width:240px; }
.ft-soc { display:flex; gap:.6rem; margin-top:1.4rem; }
.ft-soc a { width:36px; height:36px; border-radius:9px; background:rgba(255,255,255,.07); color:rgba(255,255,255,.5); display:flex; align-items:center; justify-content:center; text-decoration:none; transition:.3s; }
.ft-soc a:hover { background:var(--red); color:#fff; }
.ft-nav h4 { font-family:'Inter',sans-serif; font-size:.72rem; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:var(--gold); margin-bottom:1.3rem; }
.ft-nav ul { list-style:none; display:flex; flex-direction:column; gap:.7rem; }
.ft-nav a { color:rgba(255,255,255,.4); text-decoration:none; font-size:.86rem; transition:.2s; }
.ft-nav a:hover { color:#fff; }
.ft-bot { text-align:center; color:rgba(255,255,255,.2); font-size:.76rem; }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.wa-float {
  position:fixed; bottom:1.8rem; right:1.8rem;
  width:54px; height:54px; border-radius:50%;
  background:#25D366; color:#fff;
  display:flex; align-items:center; justify-content:center;
  z-index:999;
  box-shadow:0 6px 24px rgba(37,211,102,.4);
  transition:.3s;
  text-decoration:none;
}
.wa-float:hover { transform:scale(1.1); box-shadow:0 10px 36px rgba(37,211,102,.55); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width:1024px) {
  .hero { 
    grid-template-columns:1fr; 
    max-width:700px; 
    text-align:center; 
    padding-top: calc(var(--nav-h) + 2rem); 
    min-height: auto;
    gap: 3.5rem;
  }
  .hero-left { align-items:center; padding:1rem 0; }
  .hero-sub { max-width:100%; }
  .hero-right { display:flex; justify-content:center; width:100%; }
  .hero-img-wrap { max-width: 100%; }
  .hero-img { height: 380px; border-radius: var(--rl) var(--rl) var(--rl) 40px; }
  .hero-img-badge { left: 1rem; bottom: 1rem; }
  .sobre-grid { grid-template-columns:1fr; gap:3rem; }
  .founder-card { max-width: 400px; height: 490px; }
  .simg-badge { top: -1rem; right: -0.5rem; }
  .svc-grid { grid-template-columns:repeat(2,1fr); }
  .diff-grid { grid-template-columns:repeat(2,1fr); }
  .port-grid { grid-template-columns:1fr 1fr; grid-auto-rows:260px; }
  .port-item { height:260px; }
  .port-item.port-tall { grid-row:auto; height:260px; }
  .ctt-grid { grid-template-columns:1fr; gap:3rem; }
  .ft-grid { grid-template-columns:1fr 1fr; }
  .ft-brand { grid-column:1/-1; }
}

@media (max-width:768px) {
  :root {
    --nav-h: 68px;
  }
  
  .navbar {
    position: absolute;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
  }
  .navbar .brand-logo-img {
    height: 54px;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.08));
  }
  .navbar.up .brand-logo-img {
    height: 44px;
  }
  
  .navbar.up {
    position: fixed;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 1px 0 var(--border) !important;
  }
  
  .burger { display:flex; }
  
  .nav-menu {
    position:fixed; top:var(--nav-h); left:0; right:0;
    background:rgba(255,255,255,.98);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    flex-direction:column; padding:2rem; gap:1.2rem;
    transform:translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform .4s var(--ease), opacity .3s var(--ease), visibility .3s var(--ease);
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-menu.open { 
    transform:none; 
    opacity: 1;
    visibility: visible;
  }
  
  /* Hide desktop-only CTA button from sticking on mobile navbar header */
  .navbar .nl-cta {
    display: none;
  }
  .nav-menu.open .nl-cta {
    display: block;
  }
  .nl { color:var(--ink2); width:100%; text-align:center; padding:.8rem; font-size: 1rem; }
  .nl-cta { margin-left:0; margin-top: .5rem; }
  
  /* Hero adjustments for mobile */
  .hero {
    grid-template-columns: 1fr;
    padding-top: calc(var(--nav-h) + 1rem);
    padding-bottom: 4rem;
    gap: 2.5rem;
    background: linear-gradient(180deg, rgba(250, 248, 245, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
  }
  .hero-left {
    padding-top: 0.5rem;
    padding-bottom: 1rem;
    align-items: flex-start;
    text-align: left;
    gap: 1.1rem;
  }
  .hero-tag {
    align-self: flex-start;
  }
  .hero-logo-wrap {
    margin: 0.1rem 0;
  }
  .hero-logo-main {
    height: 95px;
    max-width: 220px;
  }
  .hero-h1 {
    font-size: clamp(2.1rem, 8vw, 2.7rem);
    letter-spacing: -0.02em;
  }
  .hero-sub {
    font-size: 1rem;
    color: var(--ink2); /* Texto ligeiramente mais escuro e visível */
    line-height: 1.8;
  }
  .hero-btns {
    justify-content: center;
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-btns .btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 2rem; /* Botões ligeiramente maiores no toque */
  }
  
  .hero-right {
    display: flex;
    width: 100%;
    margin-top: 1rem;
  }
  .hero-img-wrap {
    width: 100%;
    padding: 0 0.5rem;
  }
  .hero-img {
    height: 320px;
    border-radius: var(--rl) var(--rl) var(--rl) 40px;
    box-shadow: 0 20px 48px rgba(28, 16, 8, 0.22);
  }
  
  .hero-nums {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 1.5rem;
  }
  .hnum b {
    font-size: 1.7rem;
  }
  .hnum small {
    font-size: 0.62rem;
  }

  .founder-card { max-width: 330px; height: 430px; }
  .simg-badge { top: -0.8rem; right: -0.4rem; padding: 0.8rem 1.1rem; }
  .badge-num { font-size: 2.2rem; }
  .badge-label { font-size: 0.68rem; }
  
  .svc-grid { grid-template-columns:1fr; }
  .diff-grid { grid-template-columns:1fr; }
  
  .port-filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0.5rem 0.2rem 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    margin-bottom: 1.5rem;
  }
  .filter-btn {
    flex-shrink: 0;
    font-size: 0.82rem;
    padding: 0.45rem 1rem;
  }
  .port-grid { grid-template-columns:1fr; grid-auto-rows:280px; }
  .port-item { height:280px; }
  .port-item.port-tall { grid-row:auto; height:280px; }
  
  .hdiv { display:none; }
  .ft-grid { grid-template-columns:1fr; gap:2rem; }
  
  .hero-scroll { display: none; }
}

/* ── LIGHTBOX (VISUALIZADOR DE IMAGENS) ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  padding: 1rem;
  transition: opacity 0.35s var(--ease);
}
.lightbox.active {
  display: flex;
  opacity: 1;
}
.lightbox-top-cats {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 6px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 10002;
  max-width: calc(100vw - 120px);
  overflow-x: auto;
  scrollbar-width: none;
}
.lightbox-top-cats::-webkit-scrollbar { display: none; }
.lb-cat-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s var(--ease);
}
.lb-cat-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.lb-cat-btn.active {
  background: var(--red);
  color: #fff;
  box-shadow: 0 2px 10px rgba(224, 90, 16, 0.4);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.8rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.3rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10003;
  transition: all 0.25s var(--ease);
}
.lightbox-close:hover {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(90deg);
}
.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 2.2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: all 0.25s var(--ease);
}
.lightbox-btn:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-50%) scale(1.08);
}
.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

.lightbox-content {
  max-width: 82%;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-top: 3.5rem;
}
.lightbox-img-wrap {
  position: relative;
  max-height: 65vh;
  display: flex;
  justify-content: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  border-radius: var(--r);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: opacity 0.25s var(--ease);
}
.lightbox-counter {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(18, 18, 18, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  letter-spacing: 0.05em;
}
.lightbox-caption {
  margin-top: 1rem;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.lightbox-caption span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(224, 90, 16, 0.12);
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(224, 90, 16, 0.3);
}
.lightbox-caption h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: #FFFFFF;
}
.btn-lb-cta {
  margin-top: 0.5rem;
  padding: 0.5rem 1.3rem;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .lightbox-top-cats {
    top: 1rem;
    left: 1rem;
    transform: none;
    max-width: calc(100vw - 75px);
  }
  .lightbox-close {
    top: 0.9rem;
    right: 0.9rem;
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
  .lightbox-content {
    max-width: 96%;
    margin-top: 3.5rem;
  }
  .lightbox-content img {
    max-height: 52vh;
  }
  .lightbox-btn {
    width: 42px;
    height: 42px;
    font-size: 1.6rem;
  }
  .lightbox-prev { left: 0.4rem; }
  .lightbox-next { right: 0.4rem; }
  .lightbox-caption h3 {
    font-size: 1rem;
  }
}

