
:root{
--bg1:#050B14;
--bg2:#0F172A;

--text:#F8FAFC;
--muted:rgba(148,163,184,.75);
--orangeText:#FF6A00;
--lightOrang:#ff8d3b78;
--textBlu: #001b7c;
--accent:#3bd5ff;

--line:rgba(248,250,252,.22);

--card:rgba(30,41,59,.18);

--btnText:#F8FAFC; 

--shadow:0 20px 60px rgba(0,0,0,.35);
--radius:14px;

--max:1200px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
margin:0;
color:var(--text);
font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
background:
    radial-gradient(900px 600px at 25% 20%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(700px 500px at 70% 60%, rgba(59,213,255,.08), transparent 55%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
overflow-x:hidden;
}

.reveal {
opacity: 0;
transform: translateY(16px);
transition: opacity 600ms ease, transform 600ms ease;
will-change: opacity, transform;
}

.reveal.is-visible {
opacity: 1;
transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
.reveal {
    transition: none;
    transform: none;
}
}

/* ===== BG Lavalamp ===== */
body.karpaz-bg{
margin:0;
background: linear-gradient(180deg, #000018 0%, #00000f 55%, #000008 100%);
color: rgba(255,255,255,.92);
overflow-x: hidden;
}

.bg-lavalamp{
position: fixed;
inset: 0;
width: 100vw;
height: 100vh;
height: 100svh;
display: block;
z-index: 0;
opacity: .92;
filter: saturate(1.05) contrast(1.02);
pointer-events: none;
}

.bg-glow-lamp{
position: fixed;
inset: -20%;
z-index: 1;
pointer-events: none;

background:
    radial-gradient(1200px 900px at 60% 35%, rgba(0,229,255,.14), transparent 60%),
    radial-gradient(1000px 800px at 18% 25%, rgba(0,0,73,.65), transparent 62%),
    radial-gradient(1000px 900px at 80% 80%, rgba(33,33,33,.22), transparent 62%);

mix-blend-mode: screen;
filter: blur(18px);
opacity: .85;
}

.page-shell{
position: relative;
z-index: 2;
}

/* --- Top nav --- */
.topbar{
position:sticky;
top:0;
z-index:50;
backdrop-filter:saturate(140%) blur(10px);
background:linear-gradient(180deg, rgba(5,11,20,.85), rgba(5,11,20,.45));
}

.nav{
max-width:var(--max);
margin:0 auto;
padding: clamp(14px, 2vw, 22px) clamp(14px, 2vw, 22px) clamp(12px, 1.6vw, 18px);
display:flex;
align-items:center;
justify-content:space-between;
gap:18px;
}

.brand{
display:flex;
align-items:center;
gap:12px;
}

/* FIX responsivo: logo não pode ser 70x70 sempre */
.brand a img{
width: 15rem;
height: auto;
display:block;
filter: drop-shadow(0 8px 24px rgba(0,0,0,.35));
}

.brand a span{
font-family:"Cormorant Garamond", serif;
font-size: clamp(22px, 2.3vw, 28px);
letter-spacing:.3px;
}

.brand a{
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px; 
}

.menu{
display:flex;
align-items:center;
gap: clamp(14px, 2.5vw, 28px);
font-size: 13px;
letter-spacing:.12em;
text-transform:uppercase;
opacity:.92;
}

.menu a{
color:var(--orangeText);
text-decoration:none;
opacity:.85;
transition:opacity .2s ease;
}
.menu a:hover{opacity:1}

.menu .btn-outline{
padding: 10px 16px;
border:2px solid var(--line);
border-radius: 999px; 
background:transparent;
color:var(--text);
text-decoration:none;
display:inline-flex;
align-items:center;
gap:10px;
transition:transform .15s ease, border-color .2s ease, background .2s ease;
}
.menu .btn-outline:hover{
transform:translateY(-1px);
border-color:rgba(59,213,255,.7);
background: rgba(59,213,255,.06);
}

.divider{
height:1px;
background:var(--line);
max-width:var(--max);
margin:0 auto;
opacity:.7;
}

/* --- Layout wrapper --- */
.wrap{
max-width:var(--max);
margin:0 auto;
padding: clamp(18px, 3vw, 38px) clamp(14px, 2vw, 22px) clamp(50px, 8vw, 80px);
}

/* --- Hero --- */
.hero{
position:relative;
overflow: hidden;       
isolation: isolate;
padding: clamp(70px, 10vw, 180px) 0 clamp(70px, 10vw, 180px);
min-height: clamp(520px, 70vh, 760px);
}

.hero > *:not(.float){
  position: relative;
  z-index: 2;             
}

.hero img{
  width: 20rem;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero h1{
margin:0;
font-family:"Cormorant Garamond", serif;
font-size: clamp(48px, 7vw, 92px);

line-height:.92;
font-weight:500;
letter-spacing:.2px;
text-align:center;
text-shadow:0 10px 40px rgba(0,0,0,.35);
}

.hero p{
margin: 18px auto 0;
max-width: min(640px, 92vw);
text-align:center;
color:var(--text);
font-size: clamp(15px, 1.6vw, 18px);
line-height:1.6;
padding-inline: 10px;
text-shadow:
    1px 2px 20px rgba(0,0,0,.9),
    -1px -2px 20px rgba(0,0,0,.9);
}

.cta-row{
display:flex;
justify-content:center;
margin-top: 26px;
}

.btn-primary {
  cursor: pointer;
  padding: 1em;
  font-size: 1em;
  width: 10em;
  color: var(--orangeText);
  aspect-ratio: 1/0.25;
  background: var(--textBlu);
  background-size: cover;
  border-radius: 0.5em;
  border: 0;
  box-shadow: 0 0 1em 1em rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.btn-primary:hover {
  transform: scale(1.1);
  box-shadow: 0 0 1em 0.45em rgba(0, 0, 0, 0.1);
  background: linear-gradient(45deg, #212121, #252525);
  background: radial-gradient(
    circle at top left,
    rgba(180, 117, 50, 0.5) 10%,
    var(--textBlu) 70%
  );
  outline: 0;
}

.btn-solid{
padding: 14px 26px;
background:var(--btnBg);
color:var(--text);
border:1px solid rgba(0,0,0,.08);

border-radius: 999px; 
font-weight:600;
letter-spacing:.08em;
text-transform:uppercase;
font-size:12px;
text-decoration:none;

box-shadow:0 18px 45px rgba(0,0,0,.25);
transition:transform .15s ease, box-shadow .2s ease;
}
.btn-solid:hover{
transform:translateY(-1px);
box-shadow:0 22px 60px rgba(0,0,0,.30);
}

/* --- Section --- */
.first-section{
margin-top: 40px;
padding: 40px 0;
}

.second-section{
margin-top: 160px;
padding: 40px 0;
}

.grid{
padding: clamp(60px, 10vw, 200px) 0 clamp(60px, 10vw, 180px);

display:grid;
grid-template-columns: 1fr 1.2fr;
gap: clamp(18px, 4vw, 42px);
align-items:center;
}

.reverse{ text-align:right; }

.lstbtn {
  position: relative;
  display: inline-block;
  margin: 15px;
  padding: 15px 30px;
  text-align: center;
  font-size: 18px;
  letter-spacing: 1px;
  text-decoration: none;
  color: var(--orangeText);
  background: transparent;
  cursor: pointer;
  transition: ease-out 0.5s;
  border: 2px solid var(--orangeText);
  border-radius: 10px;
  box-shadow: inset 0 0 0 0 var(--orangeText);
}

.lstbtn:hover {
  color: var(--accent);
  box-shadow: inset 0 -100px 0 0 var(--bg2);
  border: 1px solid var(--lightOrang);
}

.lstbtn:active {
  transform: scale(0.9);
}

.btn span {
color: rgba(248,250,252,1);
font-size: clamp(14px, 1.8vw, 18px);
transition: all 0.2s ease;
}

.btn:hover span { color: rgba(5,11,20,1); }

.media{
 width: 100%;  
  aspect-ratio: 17 / 12;
  min-height: 320px;
  max-height: 520px;

  border-radius:var(--radius);
  background:rgba(0,0,0,.2);
  box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,.06);
  position:relative;
  overflow:hidden;
  isolation: isolate;
}

.media-carousel{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
}

.media-slide{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center center;
  background-repeat:no-repeat;
  opacity:0;
  transform:scale(1.01);
  transition:
    opacity 1.1s ease,
    transform 6s ease;
  will-change: opacity, transform;
}

.media-slide.is-active{
  opacity:1;
  transform:scale(1.04);
}

.media::before{
content:"";
position:absolute; inset:-40px;
background:
    radial-gradient(520px 360px at 45% 40%, rgba(59,213,255,.22), transparent 60%),
    radial-gradient(420px 300px at 70% 70%, rgba(255,140,0,.15), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(0,0,0,.15));
transform:rotate(2deg);
z-index:1;
}

.media::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.55),
    rgba(0,0,0,.25)
  );
  pointer-events: none;
  z-index:1;
}

.media .chip{
position:absolute;
left:18px; top:18px;
padding:10px 12px;
border:1px solid rgba(255,255,255,.18);
background:rgba(0,0,0,.18);
border-radius:999px;
font-size:12px;
letter-spacing:.08em;
z-index:2;
}

/* ===== Footer base ===== */
        .footer{
        background: linear-gradient(180deg, rgba(5,11,20,.45), rgba(5,11,20,.85));
        backdrop-filter: saturate(140%) blur(10px);
        color: rgba(255,255,255,.8);
        padding: 48px 16px 18px;
        }
        .footer-inner{
        max-width: 1100px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 18px;
        }

        .footer-nav{
        display:flex;
        gap: 26px;
        align-items:center;
        }
        .footer-nav a{
        color: rgba(200,215,235,.78);
        text-decoration: none;
        font: 500 16px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial;
        letter-spacing: .2px;
        }
        .footer-nav a:hover{ color: #fff; }

        .footer-nav-right{ justify-content: flex-end; }

        .footer-bottom{
        max-width: 1100px;
        margin: 28px auto 0;
        display:flex;
        justify-content:center;
        gap: 10px;
        font-size: 13px;
        color: rgba(255,255,255,.55);
        }
        .footer-bottom a{ color: rgba(255,255,255,.55); text-decoration:none; }
        .footer-bottom a:hover{ color: #fff; }
        .sep{ opacity:.35; }

        .img-footer{
            width: auto;
            height: 5rem;
        }

        /* ===== Your 3D card idea converted into a center footer module ===== */
        .brand-parent{
        perspective: 900px;
        display:flex;
        justify-content:center;
        }

        .brand-card{
        position: relative;
        display:flex;
        align-items:center;
        justify-content:center;
        gap: 14px;
        width: 360px;
        padding: 14px 18px;
        border-radius: 999px;
        text-decoration:none;
        transform-style: preserve-3d;
        transition: transform .45s ease, box-shadow .45s ease;
        background: radial-gradient(120px 60px at 30% 20%, rgba(0,229,255,.16), transparent 65%),
                    radial-gradient(120px 60px at 70% 80%, rgba(0,255,160,.14), transparent 60%),
                    rgba(255,255,255,.03);
        box-shadow: 0 22px 55px rgba(0,0,0,.45);
        border: 1px solid rgba(255,255,255,.08);
        overflow: hidden;
        }

        .brand-glass{
        position:absolute;
        inset: 1px;
        border-radius: 999px;
        background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
        transform: translate3d(0,0,14px);
        pointer-events:none;
        }

        .brand-text{
        transform: translate3d(0,0,16px);
        display:flex;
        flex-direction:column;
        gap: 2px;
        text-align:center;
        }
        .brand-name{
        color: rgba(255,255,255,.95);
        font: 800 22px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial;
        letter-spacing: .2px;
        }
        .brand-sub{
        color: rgba(200,215,235,.62);
        font: 500 12px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial;
        }

        /* circles (same spirit as your .logo .circle*) */
        .brand-logo{
        position:absolute;
        inset: 0;
        transform-style: preserve-3d;
        pointer-events:none;
        }
        .brand-logo .c{
        position:absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%);
        border-radius: 50%;
        background: rgba(0,229,255,.12);
        border: 1px solid rgba(255,255,255,.06);
        box-shadow: -10px 10px 20px rgba(0,0,0,.25);
        transition: transform .45s ease, opacity .45s ease;
        opacity: .75;
        }
        .brand-logo .c1{ width: 110px; height: 110px; transform: translate3d(0,-50%,10px); }
        .brand-logo .c2{ width: 86px; height: 86px; transform: translate3d(0,-50%,22px); opacity:.55; }
        .brand-logo .c3{ width: 64px; height: 64px; transform: translate3d(0,-50%,34px); opacity:.45; }
        .brand-logo .c4{ width: 44px; height: 44px; transform: translate3d(0,-50%,46px); opacity:.35; }
        .brand-logo .c5{
        width: 28px; height: 28px;
        display:grid; place-items:center;
        transform: translate3d(0,-50%,58px);
        background: rgba(0,255,160,.16);
        }
        .brand-svg{
        width: 14px;
        height: 14px;
        fill: rgba(255,255,255,.9);
        }

        /* hover tilt */
        .brand-card:hover{
        transform: rotateX(12deg) rotateY(-12deg);
        box-shadow: 0 30px 70px rgba(0,0,0,.55);
        }
        .brand-card:hover .c2{ transform: translate3d(-6px,-50%,34px); }
        .brand-card:hover .c3{ transform: translate3d(-10px,-50%,50px); }
        .brand-card:hover .c4{ transform: translate3d(-14px,-50%,66px); }
        .brand-card:hover .c5{ transform: translate3d(-18px,-50%,84px); }

        /* dropdown panel */
        .brand-drop{
        position:absolute;
        left: 50%;
        top: calc(100% + 10px);
        transform: translate3d(-50%, -12px, 18px);
        width: min(420px, calc(100vw - 32px));
        padding: 12px 14px;
        border-radius: 16px;
        background: rgba(12,14,20,.72);
        border: 1px solid rgba(255,255,255,.10);
        box-shadow: 0 22px 60px rgba(0,0,0,.5);
        opacity: 0;
        pointer-events:none;
        transition: opacity .25s ease, transform .25s ease;
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap: 12px;
        backdrop-filter: blur(10px);
        }
        .brand-card:hover .brand-drop{
        opacity: 1;
        pointer-events:auto;
        transform: translate3d(-50%, 0px, 18px);
        }

        .drop-links{
        display:flex;
        align-items:center;
        gap: 10px;
        color: rgba(255,255,255,.78);
        font: 600 12px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial;
        }
        .dot{
        width: 4px; height: 4px; border-radius: 50%;
        background: rgba(255,255,255,.25);
        }

        .drop-social{
        display:flex;
        gap: 10px;
        }
        .sbtn{
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,.10);
        background: rgba(255,255,255,.04);
        display:grid;
        place-items:center;
        cursor:pointer;
        transition: transform .15s ease, background .15s ease;
        }
        .sbtn svg{
        width: 18px;
        height: 18px;
        fill: rgba(255,255,255,.82);
        }
        .sbtn:hover{
        transform: translateY(-2px);
        background: rgba(255,255,255,.08);
        }
       
/* Lang button */
.lang{
position:fixed;
right:18px;
bottom:18px;
z-index:60;
padding:10px 14px;
border:1px solid rgba(255,255,255,.22);
background:rgba(0,0,0,.18);
color:var(--text);
cursor:pointer;
letter-spacing:.12em;
text-transform:uppercase;
font-size:12px;
border-radius:999px;
}

/* Responsive breakpoints */
@media (max-width: 980px){
.footer-inner{ grid-template-columns: 1fr 1fr; }
.grid{grid-template-columns:1fr;}
.reverse{text-align:left;}
}

@media (max-width: 780px){
  .float{display: none;}
  .footer-inner{
      grid-template-columns: 1fr;
      justify-items: center;
      gap: 14px;
  }
  .footer-nav-right{ justify-content:center; }
  .brand-card{ width: min(360px, 92vw); }
  .brand a img{
    height: 60px;
    width: auto;
  }
}

@media (max-width: 640px){ 
.hero{padding: 70px 0 70px;}
.float.c{
    position:relative;
    right:auto; top:auto;
    width:100%;
    height: 360px;
    margin-top: 22px;
}  
.wrap{
  padding-bottom: 36px;
}  
.first-section{
  margin-top: 18px;
  padding: 22px 0;
}
.second-section{
  margin-top: 48px;
  padding: 22px 0;
}
.grid{
  padding: 34px 0;
  gap: 18px;
}
.hero{
  min-height: auto;
  padding: 56px 0 56px;
}
.cta-row{
  margin-top: 18px;
}
}

@media (max-width: 520px){
.footer-inner{ grid-template-columns: 1fr; }
.footer-bottom{ flex-direction: column; align-items: flex-start; }
.footer-bottom-links a{ margin-left: 0; margin-right: 12px; }
}
