:root{
    --ink:#100e0d;
    --cream:#e9dfcb;
    --muted:#a79b88;
    --red:#8f2526;
    --gold:#c49b62;
    --pine:#24372e;
    --line:rgba(233,223,203,.18)
}
*{
    box-sizing:border-box
}
html{
    scroll-behavior:smooth;
    margin: 0;
    padding: 0;

}
body{

    margin:0;
    background:var(--ink);
    color:var(--cream);
    font-family:'Space Grotesk', sans-serif;
    overflow-x:hidden

}
body:before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:10;
    opacity:.12;
    background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E")
}

a{
    color:inherit;
    text-decoration:none
}
.mono{font-family:'DM Mono',monospace;
    text-transform:uppercase;
    letter-spacing:.13em;
    font-size:0.625rem;
    color:var(--gold)
}
nav{
    height:76px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 7vw;
    border-bottom:1px solid var(--line);
     position: fixed;
    top:0;
    width:100%;
    z-index:3;
    background: rgba(12, 20, 19, 0.58);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    transition: background 0.3s ease;
}
.brand{
    font-family:'Playfair Display',serif;
    font-size:19px;
    letter-spacing:.04em
}
.brand span{
        color:var(--red)
    }
.navlinks{
    display:flex;
    gap:30px;
    font-size:12px;
    color:#c8bdab
}
.navlinks a:hover{
        color:var(--gold)
    }
 .hero{
    min-height:790px;
    height:100svh;
    max-height:1000px;
    position:relative;
    display:flex;
    align-items:center;
    padding:120px 12vw 80px;
    overflow:hidden;
    background:radial-gradient(ellipse at 50% 42%,rgba(74,47,37,.36),transparent 55%),linear-gradient(180deg,#171312 0%,#100e0d 72%)
}
/*.forest{
    position:absolute;
    inset:0;
    opacity:.45;
    background:linear-gradient(180deg,transparent 55%,#100e0d 100%),url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 650' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231e3028' opacity='.8'%3E%3Cpath d='M0 560 90 190l90 370 80-270 90 270 80-390 90 390 90-250 90 250 90-410 100 410 80-290 100 290 80-350 100 350v90H0z'/%3E%3C/g%3E%3C/svg%3E") center bottom/cover no-repeat
} */
 .hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    #10191b 0%,
    #172324 55%,
    #080e0f 100%
  );
}

.forest {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.forest-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
}

/* Montanhas e árvores distantes */
.forest-back {
  background: #263c39;
  opacity: 0.65;
  clip-path: polygon(
    0 65%, 8% 48%, 16% 62%, 25% 42%,
    35% 64%, 46% 45%, 55% 63%, 67% 40%,
    77% 61%, 88% 46%, 100% 64%,
    100% 100%, 0 100%
  );
}

/* Pinheiros intermediários */
.forest-middle {
  background: #142923;
  clip-path: polygon(
    0 75%, 4% 60%, 7% 75%, 11% 54%,
    15% 77%, 20% 58%, 24% 76%, 29% 53%,
    34% 78%, 39% 59%, 44% 77%, 49% 55%,
    54% 78%, 60% 58%, 65% 77%, 70% 52%,
    75% 77%, 81% 57%, 86% 77%, 91% 55%,
    96% 77%, 100% 60%, 100% 100%, 0 100%
  );
}

/* Árvores próximas */
.forest-front {
  background: #091511;
  clip-path: polygon(
    0 85%, 3% 67%, 6% 85%, 10% 62%,
    14% 86%, 18% 66%, 22% 86%, 27% 61%,
    32% 86%, 37% 68%, 41% 87%, 46% 63%,
    51% 87%, 56% 65%, 61% 86%, 66% 61%,
    71% 86%, 76% 66%, 81% 87%, 86% 62%,
    91% 86%, 96% 65%, 100% 85%,
    100% 100%, 0 100%
  );
}
.curtains {
  position: absolute;
  inset: 0;
  z-index: 10;

  display: flex;
  width: 100%;
  height: 100%;

  overflow: hidden;
  pointer-events: none;
}

.curtain {
  position: relative;

  flex: 0 0 50%;
  width: 50%;
  min-width: 0;
  height: 100%;

  background-color: #650b12;

  background-image:
    linear-gradient(
      90deg,
      rgba(20, 0, 0, 0.55),
      transparent 12%,
      rgba(255, 70, 70, 0.12) 25%,
      rgba(20, 0, 0, 0.35) 42%,
      rgba(255, 70, 70, 0.10) 58%,
      rgba(20, 0, 0, 0.45) 75%,
      transparent
    ),
    repeating-linear-gradient(
      90deg,
      #3d050a 0,
      #850e19 12px,
      #a51b27 24px,
      #59070e 38px,
      #3d050a 50px
    );
}

.curtain-left {
  transform-origin: left center;
}

.curtain-right {
  transform-origin: right center;
}
@media (max-width: 600px) {
  .curtain {
    background-image:
      linear-gradient(
        90deg,
        rgba(20, 0, 0, 0.6),
        transparent 30%,
        rgba(20, 0, 0, 0.4)
      ),
      repeating-linear-gradient(
        90deg,
        #3d050a 0,
        #850e19 8px,
        #a51b27 16px,
        #59070e 25px,
        #3d050a 34px
      );
  }
}
/* .curtain {
  width: 50%;
  height: 100%;
  background: #650b12;
  position: relative;
} */

.curtain-left {
  transform-origin: left center;
}

.curtain-right {
  transform-origin: right center;
}
.curtain::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    transparent 20%,
    rgba(255, 120, 120, 0.12) 35%,
    transparent 48%,
    rgba(0, 0, 0, 0.18) 65%,
    transparent 80%
  );

  pointer-events: none;
}
/* .curtain{
    position:absolute;
    top:0;
    bottom:0;
    width:9%;
    opacity:.6;
    background:repeating-linear-gradient(90deg,#541719 0 13px,#792326 13px 25px,#3b1114 25px 34px);
    filter:drop-shadow(0 0 24px #000)
}
.curtain.left{
        left:0;
    clip-path:polygon(0 0,100% 0,83% 100%,0 100%)
}
.curtain.right{
        right:0;
    clip-path:polygon(0 0,100% 0,100% 100%,17% 100%)
} */
.hero-content{
    position:relative;
    z-index:1;
    max-width:850px
}
.eyebrow{
        display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:28px
}
.eyebrow:before{
        content:"";
    height:1px;
    width:42px;
    background:var(--gold)
}
h1{
    font-family:'Playfair Display',serif;
    font-size:clamp(58px,9vw,122px);
    line-height:.91;
    letter-spacing:-.055em;
    font-weight:500;
    margin:0 0 30px;
    max-width:850px
}h1 em{
        font-style:normal;
    color:var(--gold)
}
.intro{
        font-size:clamp(15px,1.5vw,18px);
    line-height:1.8;
    color:#c4b9a7;
    max-width:540px;
    margin:0 0 34px
}
.actions{
    display:flex;
    gap:14px;
    flex-wrap:wrap
}
.btn{
        padding:14px 21px;
    border:1px solid var(--gold);
    font-size:11px;
    letter-spacing:.1em;
    text-transform:uppercase;
    transition:.25s
}
.btn.primary{
        background:var(--red);
    border-color:var(--red)
}
.btn:hover{
        background:var(--gold);
    color:var(--ink);
    border-color:var(--gold)
}
.coordinates{
    position:absolute;
    right:7vw;
    bottom:58px;
    text-align:right;
    z-index:1
}
.coordinates strong{
        display:block;
    font-family:'Playfair Display',serif;
    font-size:19px;
    font-weight:500;
    margin-top:8px
}
@keyframes blink {
  0%, 100% {
    opacity: 1; /* Totalmente visível */
  }
  50% {
    opacity: 0; /* Totalmente invisível */
  }
}
.scroll, .scroll svg{
    position:absolute;
    left:50%;
    bottom: 1%;
    width:2rem;
    height:2rem;
    fill:none;
    color:#c49b62;
    writing-mode:vertical-rl;
    color:var(--gold);
    font:5rem 'DM Mono';
    letter-spacing:.15em;
    animation: blink 2s infinite ease-in-out;
}
@media (max-width: 600px) {
  .scroll, .scroll svg {
    display: none; /* Oculta o elemento em telas menores */
  }
}
section{
    padding:110px 12vw;
    position:relative
}
.section-head{
        display:flex;
    align-items:end;
    justify-content:space-between;
    gap:30px;
    margin-bottom:54px
}
.section-head h2{
        font:500 clamp(38px,5vw,64px)/1 'Playfair Display',serif;
    margin:13px 0 0;
    letter-spacing:-.035em
}
.section-note{
        max-width:290px;
    color:var(--muted);
    font-size:13px;
    line-height:1.7
}
.about{
    background:#171412
}
.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10vw;
    align-items:start
}
.about-copy{
        font-size:17px;
    line-height:1.9;
    color:#c8bdab
}
.about-copy p{
        margin:0 0 20px
    }
    .about-copy strong{
        color:var(--cream);
    font-weight:500
}
.facts{
        border-top:1px solid var(--line)
    }
    .fact{
        padding:20px 0;
    border-bottom:1px solid var(--line);
    display:flex;
    justify-content:space-between;
    gap:20px;
    font-size:13px
}
.fact span:first-child{
        color:var(--muted)
    }
    .fact span:last-child{
        text-align:right
    }
    /* ------- PROJECTS ----- */
  .link-div {
   text-decoration: none; 
  color: inherit;
  display: block;
  }
.projects{
    background:#100e0d
}
.project-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap: 1.125rem;
   
  align-items: stretch;
}

.project{
    height:100%;
    min-height:18.125rem;
    border:1px solid var(--line);
    box-sizing: border-box;
    padding:1.875rem;
    position:relative;
    overflow:hidden;
    background:linear-gradient(145deg,rgba(42,35,29,.72),rgba(20,17,15,.6));
    transition:.3s;
}

.project:hover{
        border-color:rgba(196,155,98,.65);
    transform:translateY(-4px)
}
.project:after{
        content:attr(data-mark);
    position:absolute;
    right:15px;
    bottom:-37px;
    font:700 150px 'Playfair Display';
    color:rgba(196,155,98,.055);
    pointer-events:none
}
.project-top{
        display:flex;
    justify-content:space-between;
    align-items:center
}
.project h3{
        font:500 31px 'Playfair Display';
    margin:42px 0 12px
}
.project p{
        font-size:13px;
    line-height:1.75;
    color:var(--muted);
    max-width:410px
} 
.tags{
        display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-top:22px
}
.tag{
        font:9px 'DM Mono';
    letter-spacing:.08em;
    color:#d0b98f;
    border:1px solid rgba(196,155,98,.28);
    padding:6px 9px
}
/* ------ EXPERIENCE ----- */
.experience {
  position: relative;
    isolation: isolate;
    background:#1a1714

}
.experience-row {
  display:grid;
  border-top:1px solid var(--line);
  position: relative;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.18),
      transparent 45%
    ),
    linear-gradient(
      115deg,
      #eee2c3,
      #e5d4ae 55%,
      #dcc69a
    );

  color: #332b20;
  border: 1px solid #c3ad83;
  border-radius: 8px;
  box-shadow:
  2px 4px 8px rgba(255, 255, 255, 0.25),
  inset 0 0 25px rgba(110, 82, 42, 0.08);
  transform: rotate(-0.3deg);
  grid-template-columns: 12px 150px minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.75rem 2rem;
}
/* .experience-row{
    display:grid;
    position: relative;
    grid-template-columns:190px 1fr;
    gap:45px;
    padding:30px 0;
    border-top:1px solid var(--line)
} */
.experience-row:last-child{
        border-bottom:1px solid var(--line)
    }
    .experience-date{
        color:var(--gold);
    font:10px 'DM Mono';
    letter-spacing:.1em
}

.experience-row.pin-left .case-pin {
  transform: translateX(-8px);
}

.experience-row.pin-right .case-pin {
  transform: translateX(8px);
}

.thread-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 3;
}

.experience-row > div {
  position: relative;
  z-index: 4;
}

.case-pin {
  position: relative;
  z-index: 5;
}
/* .experience-row {
  position: relative;

  display: grid;
  grid-template-columns: 12px 150px minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem;

  margin-top: 2rem;
  padding: 1.75rem 2rem;

  background: rgba(20, 24, 22, 0.82);
  border: 1px solid rgba(180, 160, 130, 0.2);

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
} */

.case-pin {
  display: block;
  position: relative;

  width: 12px;
  height: 12px;
  margin-top: 0.4rem;

  border-radius: 50%;
  /* background: #a61926; */

  /* border: 2px solid #d5a6a0; */

  /* box-shadow:
    0 0 8px rgba(180, 20, 35, 0.8),
    0 2px 5px rgba(0, 0, 0, 0.6); */

  z-index: 2;
  
  background: #9a7847;
  border: 2px solid #c5a873;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);

}
.thread-layer {
  overflow: visible;
  pointer-events: none;
}

.thread-shadow {
  fill: none;
  stroke: rgba(0, 0, 0, 0.65);
  stroke-width: 5;
  stroke-linecap: round;
}

.thread-body {
  fill: none;
  stroke: #86121d;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thread-highlight {
  fill: none;
  stroke: rgba(218, 65, 72, 0.55);
  stroke-width: 0.8;
  stroke-linecap: round;
}

.experience-date {
  grid-column: 2;

  padding-top: 0.2rem;

  color: #b64b50;
  font-family: monospace;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.experience-row > div:last-child {
  grid-column: 3;
  min-width: 0;
}
.experience-row h3 {
  color: #382d20;
  font-family: Georgia, serif;
  margin-bottom: 1rem;
}

.experience-row p {
  /* color: #66583f;
   */
   color: var(--line);
  line-height: 1.8;
}

.experience-date {
  color: #987849;
}


.experience-row:nth-child(even):not(:last-child)::before {
  --thread-angle: -15deg;
  transform: rotate(var(--thread-angle));
}

.experience-row:nth-child(odd):not(:last-child)::before {
  transform: rotate(var(--thread-angle));
}
.experience-row p {
    font-size: 0.9rem;
    line-height: 1.75;
}

.experience-row h3 {
    font-size: 1.05rem;
}
.experience h3{
        font:500 25px 'Playfair Display';
    margin:0 0 9px
}
.experience p{
        color:var(--muted);
    font-size:13px;
    line-height:1.8;
    max-width:700px;
    margin:0
}
@media (max-width: 600px) {
  .experience-row {
    grid-template-columns: 12px minmax(0, 1fr);

    gap: 0.8rem 1rem;

    padding: 1.3rem 1.1rem;
  }

  .case-pin {
    grid-column: 1;
    grid-row: 1;
    margin-top: 0.25rem;
  }

  .experience-date {
    grid-column: 2;
    grid-row: 1;
  }

  .experience-row > div:last-child {
    grid-column: 2;
    grid-row: 2;
  }

   .experience-row:not(:last-child)::before {
    --thread-angle: 10deg;
  }

  .experience-row:nth-child(even):not(:last-child)::before {
    --thread-angle: -10deg;
  }

  .experience-row:nth-child(odd):not(:last-child)::before {
    --thread-angle: 10deg;
  }
  .experience-row.pin-left .case-pin {
    transform: translateX(-5px);
  }

  .experience-row.pin-right .case-pin {
    transform: translateX(5px);
  }
   
}
/* ----- CONTACT ----- */
.contact{
    min-height:27.5rem;
    text-align:center;
    background:radial-gradient(ellipse at center,rgba(95,37,31,.25),transparent 60%),#100e0d;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding-bottom: 1rem;
}
.contact-content{
    display:flex;
    flex-direction:column;
    align-items:center;
    position:relative;
    gap: 1rem;
}
.contact h2{
    font:500 clamp(44px,7vw,82px)/1 'Playfair Display';
    margin: 1.125rem 0;
}
.contact p{
        color:var(--muted);
    font-size:14px;
    margin:0 0 30px
}
.contact-links{
    display:flex;
    gap:1.5rem;
    flex-wrap:wrap;
    justify-content:center;
    font:10px 'DM Mono';
    letter-spacing:.12em;
    text-transform:uppercase
}
.contact-links a{
    border-bottom:1px solid var(--red);
    padding-bottom:5px
}
footer{
    padding:1.375rem 7vw;
    border-top:1px solid var(--line);
    display:flex;
    
    justify-content:space-between;
    color:#827969;
    font:9px 'DM Mono';
    letter-spacing:.1em;
    text-transform:uppercase
}
@media(max-width:700px){
    nav{
    padding:0 6vw;
    height:66px
}
.navlinks{
        gap:13px;
    font-size:10px
}
.navlinks a:nth-child(2){
        display:none
    }
    .hero{
        padding:120px 8vw 110px;
    min-height:740px
}
.curtain{
        width:5%
    }
    .coordinates{
        right:8vw;
    bottom:32px
}
.scroll{
        left:7vw;
    bottom:32px
}
.section-head{
        display:block;
    margin-bottom:35px
}
.section-note{
        margin-top:18px
    }
    .about-grid,.project-grid{
        grid-template-columns:1fr
    }
    .about-grid{
        gap:38px
    }section{
        padding:82px 8vw
    }
    .experience-row{
        grid-template-columns:1fr;
    gap:13px
}

/* .contact{
    position: relative;
        min-height:390px
    } */

footer{
    padding:1.25px 6vw;
    gap:0.875rem;
    flex-wrap:wrap
}
}
.horse-gif {
  max-width: 40%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}


.black-lodge-footer {
  position: relative;
  min-height: 30rem;
  overflow: hidden;
  isolation: isolate;
  background: #110f0e;
}
.footer-floor {
  position: absolute;
  inset: 0;
  z-index: 0;
  max-width: 100%;
  background-color: #241d19;

  background-image:
    linear-gradient(135deg, #d8cfbc 25%, transparent 25%),
    linear-gradient(225deg, #d8cfbc 25%, transparent 25%),
    linear-gradient(315deg, #d8cfbc 25%, transparent 25%),
    linear-gradient(45deg, #d8cfbc 25%, transparent 25%);

  background-position:
    -45px 0,
    -45px 0,
    0 0,
    0 0;

  background-size: 90px 90px;

  /* transform: perspective(850px) rotateX(48deg) scale(1.2); */
  /* transform-origin: center bottom; */
   transform: perspective(850px) rotateX(48deg) scale(1.2);
  transform-origin: center top;
}

.footer-floor-content {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 25%;
  padding: 1.5rem;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
  color: #f1e8d5;
  font-family: "Courier New", monospace;
  font-size: 0.5rem;
  letter-spacing: 0.05rem;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 2px 5px rgba(0, 0, 0, 0.65);
}

.footer-floor::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(17, 15, 14, 0.65),
    transparent 55%,
    rgba(0, 0, 0, 0.2)
  );
}

.footer-floor-content span {
  color: var(--gold);
  text-shadow:    0 1px 2px rgba(0, 0, 0, 0.9);
  background-color: var(--ink);
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  box-sizing: border-box;
  min-width: 0;
    
}
@media(min-width: 1441px){
.footer-floor-content span:first-child {
  margin-right: 1rem;
}}
.black-lodge-footer .footer-content {
  position: relative;
  z-index: 1;
}
@media (max-width: 600px) {
  .black-lodge-footer {
    min-height: 380px;
  }

  .footer-floor {
    transform: perspective(650px) rotateX(40deg) scale(1.2);
  }

  .footer-floor-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: .5rem;
    margin: .5rem;
    font-size: 0.3rem;
  }
  .footer-floor-content span {
    display: block;
    max-width: 50%;
    text-align: center;

  }

}

