/* ==================================================
   CASE PAGE DEFINITIVO
================================================== */

:root{
  --page-width:1400px;
  --sidebar:430px;
  --gap:70px;
  --bg:#0e0d0b;
  --gold:#c4a56a;
  --text:#ece2cf;
}

body.case-detail-page{
  background:var(--bg);
  color:var(--text);
}

/* HERO */
.case-hero-section{
  padding:50px 0 35px;
}

.atlantic-case{

  background:
    linear-gradient(
      rgba(0,0,0,.82),
      rgba(0,0,0,.9)
    ),
    url('../assets/img/backgrounds/hotel-fachada.png');

  background-size:cover;

  background-position:center;

  background-repeat:no-repeat;
}


.case-hero-section .container{
  max-width:var(--page-width);
}

.case-hero-content{
  display:grid;
  grid-template-columns:minmax(0,1fr) var(--sidebar);
  gap:var(--gap);
  align-items:start;
}

/* esquerda */
.case-hero-left{
  min-width:0;
}

/* imagem inteira */
.case-cover-box{
    background:#111;
    border-radius:18px;
    padding:14px;
    margin-bottom:28px;
    overflow:visible; /* importante */
}

.case-cover-box img{
    width:100%;
    height:auto;
    display:block;
    border-radius:12px;
}


/* textos */
.case-badge-large{
  display:inline-block;
  border:1px solid rgba(196,165,106,.4);
  padding:10px 16px;
  margin-bottom:18px;
}

.case-hero-left h1{
  font-size:5rem;
  line-height:.92;
  margin-bottom:16px;
}

.case-tagline{
  font-size:1.45rem;
  color:var(--gold);
  max-width:760px;
}

/* CARD */
.technical-sheet{
  position:fixed;
  top:105px;
  width:var(--sidebar);
  right:calc((100vw - var(--page-width))/2);

  background:linear-gradient(180deg,#1a1714,#13110f);
  border-radius:18px;
  padding:30px;
}

/* CONTEUDO */
.case-briefing-section{
  padding:30px 0 120px;
}

/* ==========================================
   BG - EXPRESSO 232
========================================== */

.expresso-bg{

  background-image:
    linear-gradient(
      rgba(0,0,0,.82),
      rgba(0,0,0,.9)
    ),
    url("../assets/img/backgrounds/trem-vazio.png");

  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

/* ==========================================
   BG - HOTEL ATLÂNTICO SUL
========================================== */

.atlantic-bg{

  background-image:
    linear-gradient(
      rgba(0,0,0,.82),
      rgba(0,0,0,.9)
    ),
    url("../assets/img/backgrounds/hotel-fachada.png");

  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}


.briefing-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) var(--sidebar);
  gap:var(--gap);
}

.story-text{
  max-width:860px;
}

/* RESPONSIVO */
@media(max-width:1450px){
  .technical-sheet{ right:30px; }
}

@media(max-width:1100px){

  .case-hero-content,
  .briefing-grid{
    grid-template-columns:1fr;
  }

  .technical-sheet{
    position:relative;
    top:auto;
    right:auto;
    width:100%;
    margin-top:30px;
  }
}

.case-hero-section{
    height:auto !important;
    min-height:unset !important;
    overflow:visible !important;
    padding:50px 0 35px;
}

.case-hero-content{
    display:grid;
    grid-template-columns:minmax(0,1fr) 430px;
    gap:70px;
    align-items:start;
}

.case-cover-box{
    overflow:visible !important;
}

.case-cover-box{
    max-width:720px;
}

.case-cover-box img{
    width:100%;
    height:auto;
    display:block;
}

body.case-detail-page{
  padding-top: 55px;
}

.technical-sheet .cta-main-btn{
  display: flex;
  justify-content: center;
  align-items: center;

  width: 260px;
  margin: 0 auto;
}


/* =========================================
   RESPONSIVO - PÁGINA DO CASO
========================================= */

@media(max-width:1100px){

  .case-hero-content,
  .briefing-grid{
    grid-template-columns:1fr;
    gap:40px;
  }

  .technical-sheet{
    position:relative;
    top:auto;
    right:auto;

    width:100%;
    max-width:100%;

    transform:none;
    zoom:1;

    margin-top:10px;
  }

  .story-text{
    max-width:100%;
  }

}

@media(max-width:768px){

  :root{
    --gap:25px;
  }

  body.case-detail-page{
    padding-top:80px;
  }

  .case-hero-section{
    padding:20px 0 10px;
  }

  .case-cover-box{
    padding:8px;
    border-radius:12px;
    margin-bottom:20px;
  }

  .case-cover-box img{
    border-radius:8px;
  }

  .case-badge-large{
    font-size:.75rem;
    padding:8px 12px;
    margin-bottom:14px;
  }

  .case-hero-left h1{
    font-size:3rem;
    line-height:.95;
    margin-bottom:12px;
  }

  .case-tagline{
    font-size:1rem;
    line-height:1.4;
  }

  .case-briefing-section{
    padding:20px 0 60px;
  }

  .briefing-story h2{
    font-size:2.2rem;
    line-height:1;
    margin-bottom:20px;
  }

  .story-text p{
    font-size:1.15rem;
    line-height:1.5;
    margin-bottom:18px;
  }

  .technical-sheet{
    padding:22px;
    border-radius:14px;
  }

  .technical-sheet h3{
    font-size:1.25rem;
  }

  .meta-list li{
    padding:12px 0;
    gap:10px;
  }

  .meta-title{
    font-size:.72rem;
  }

  .meta-value{
    font-size:1rem;
    text-align:right;
  }

  .price-box .price{
    font-size:3rem;
  }

  .technical-sheet .cta-main-btn{
    width:100%;
    font-size:.95rem;
    padding:18px 16px;
  }

}

@media(max-width:480px){

  .container{
    width:92%;
  }

  .case-hero-left h1{
    font-size:2.4rem;
  }

  .briefing-story h2{
    font-size:1.9rem;
  }

  .story-text p{
    font-size:1.05rem;
  }

  .case-tagline{
    font-size:.95rem;
  }

  .technical-sheet{
    padding:18px;
  }

  .price-box .price{
    font-size:2.5rem;
  }

}



.case-hero-section,
.case-hero-content,
.case-hero-left{
  background:transparent !important;
}

/* ==========================================
   PREVIEW DOS DOCUMENTOS
========================================== */

.case-preview-files{
  margin-top:40px;

  width:100%;
}

.case-preview-files img{
  width:50%;

  display:block;



  transition:.3s;
}

.case-preview-files img:hover{
  transform:translateY(-4px);

  box-shadow:
    0 28px 55px rgba(0,0,0,.55);
}

/* ==========================================
   CARD INVESTIGAÇÃO
========================================== */

.investigation-card{

  position:relative;

  margin-top:40px;
  margin-bottom:40px;

  border:1px solid rgba(162,140,99,.18);

  border-radius:20px;

  overflow:hidden;

  background:
    linear-gradient(
      rgba(5,4,3,.82),
      rgba(5,4,3,.9)
    ),
    url('../assets/img/cases/folhas-expresso.jpg');

  background-size:cover;

  background-position:center;

  box-shadow:
    0 20px 50px rgba(0,0,0,.45);
}

.investigation-card-header{

  position:relative;

  z-index:2;

  padding:18px 28px;

  border-bottom:1px solid rgba(162,140,99,.12);

  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.55),
      rgba(0,0,0,.15)
    );
}

.investigation-card-header span{

  font-family:'Bebas Neue',sans-serif;

  letter-spacing:2px;

  font-size:1.4rem;

  color:#c8ae7a;
}

.investigation-card-content{

  position:relative;

  z-index:2;

  padding:30px;

  backdrop-filter:blur(2px);
}

.investigation-card-content p{

  color:#d4c7b2;

  line-height:1.8;

  margin-bottom:18px;

  font-size:1.05rem;
}

.investigation-highlight{

  margin-top:30px;

  padding:18px 22px;

  border-left:3px solid #a28c63;

  background:rgba(162,140,99,.08);

  font-weight:600;

  color:#f3e7d0;
}


/* ==========================================
   RESPONSIVO - PÁGINA DO CASO
========================================== */

@media (max-width: 1200px){

  .briefing-grid{
    grid-template-columns:1fr;
    gap:50px;
  }

  .briefing-sidebar{
    width:100%;
  }

  .technical-sheet{
    max-width:700px;
    margin:0 auto;
  }

}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 768px){

  .case-hero-section{
    padding-top:40px;
  }

  .case-cover-box{
    width:100%;
  }

  .case-cover-box img{
    width:100%;
    height:auto;
    display:block;
  }

  .briefing-story h2{
    font-size:3rem;
    line-height:1;
  }

  .story-text p{
    font-size:1.05rem;
    line-height:1.8;
  }

  .investigation-card{
    margin-top:30px;
  }

  .investigation-card-header{
    padding:16px 20px;
  }

  .investigation-card-header span{
    font-size:1.2rem;
    line-height:1.2;
  }

  .investigation-card-content{
    padding:22px;
  }

  .investigation-card-content p{
    font-size:1rem;
    line-height:1.7;
  }

  .investigation-highlight{
    padding:16px;
  }

  .technical-sheet{
    padding:30px 24px;
  }

  .technical-sheet h3{
    font-size:2.5rem;
  }

  .meta-list li{
    gap:15px;
  }

  .meta-title,
  .meta-value{
    font-size:.95rem;
  }

  .price{
    font-size:4rem;
  }

  .cta-main-btn{
    width:100%;
  }

}

/* ==========================================
   CELULAR
========================================== */

@media (max-width: 480px){

  .case-hero-section{
    padding-top:20px;
  }

  .case-hero-content{
    padding:0;
  }

  .case-cover-box{
    border-radius:18px;
    overflow:hidden;
  }

  .briefing-story h2{
    font-size:2.2rem;
  }

  .story-text p{
    font-size:.98rem;
    line-height:1.7;
  }

  .call-to-investigate{
    font-size:1.15rem;
    line-height:1.5;
  }

  .investigation-card{
    border-radius:16px;
  }

  .investigation-card-header{
    padding:14px 16px;
  }

  .investigation-card-header span{
    font-size:1rem;
    letter-spacing:1px;
  }

  .investigation-card-content{
    padding:18px;
  }

  .investigation-card-content p{
    font-size:.95rem;
  }

  .investigation-highlight{
    padding:14px;
    font-size:.95rem;
  }

  .technical-sheet{
    padding:24px 18px;
    border-radius:18px;
  }

  .technical-sheet h3{
    font-size:2rem;
    margin-bottom:30px;
  }

  .meta-list li{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;

    padding:18px 0;
  }

  .meta-title{
    font-size:.8rem;
  }

  .meta-value{
    font-size:1rem;
  }

  .price{
    font-size:3rem;
  }

  .secure-checkout{
    text-align:center;
    line-height:1.6;
  }

}


/* ==========================================
   PRÉVIA DOS ARQUIVOS
========================================== */

.case-preview-files{

  margin:45px 0 30px;

  display:flex;

  justify-content:center;
}

.case-preview-files img{

  width:100%;

  max-width:1100px;

  height:auto;

  display:block;

  filter:
    drop-shadow(0 25px 45px rgba(0,0,0,.45));

  transition:.4s ease;
}

.case-preview-files img:hover{

  transform:translateY(-4px) scale(1.01);
}