/* Cia Irregular — site styles */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Archivo+Black&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root{
  --ink:#15110c;
  --ink-soft:#2a231a;
  --paper:#f2ecdd;
  --paper-dim:#e5ddc8;
  --gold:#c9a25a;
  --gold-deep:#8a6a34;
  --accent:#ca8b58;
  --red:#7a1f14;
  --red-bright:#a8291a;
  --green:#2f5b46;
  --green-bright:#3f7a5c;
  --max:1180px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth; overflow-x:hidden; width:100%;}
body{
  margin:0;
  background:var(--ink);
  color:var(--paper);
  font-family:'Space Grotesk', system-ui, sans-serif;
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  width:100%;
}
img{max-width:100%;display:block;}
a{color:inherit;}
.wrap{max-width:var(--max); margin:0 auto; padding:0 24px;}

h1,h2,h3,h4{
  font-family:'Archivo Black', 'Bebas Neue', sans-serif;
  text-transform:uppercase;
  letter-spacing:0.01em;
  line-height:1.05;
  margin:0 0 0.4em;
}

.eyebrow{
  font-family:'Bebas Neue', sans-serif;
  letter-spacing:0.18em;
  text-transform:uppercase;
  font-size:0.85rem;
  color:var(--gold);
  margin-bottom:0.6em;
  display:block;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 22px;
  border-radius:999px;
  font-weight:700;
  text-decoration:none;
  border:2px solid currentColor;
  font-size:0.95rem;
  transition:transform .15s ease, background .15s ease, color .15s ease;
}
.btn-solid{background:var(--accent); color:var(--ink); border-color:var(--accent);}
.btn-solid:hover{transform:translateY(-2px);}
.btn-outline{color:var(--paper);}
.btn-outline:hover{background:var(--paper); color:var(--ink); transform:translateY(-2px);}

/* NAV */
header.site-nav{
  position:sticky; top:0; z-index:50;
  background:rgba(21,17,12,0.92);
  backdrop-filter:blur(6px);
  border-bottom:1px solid rgba(242,236,221,0.12);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 24px; max-width:var(--max); margin:0 auto;
}
.nav-brand{display:flex; align-items:center; gap:10px; text-decoration:none;}
.nav-brand img{height:38px; width:auto;}
.nav-brand span{font-family:'Bebas Neue',sans-serif; letter-spacing:0.08em; font-size:1.1rem;}
nav.links{display:flex; align-items:center; gap:22px; flex-wrap:wrap;}
nav.links a{
  display:inline-flex; align-items:center; gap:6px;
  font-size:0.85rem; text-transform:uppercase; letter-spacing:0.06em; font-weight:600;
  text-decoration:none; opacity:0.85; padding:6px 0; border-bottom:2px solid transparent;
}
nav.links a .icon{margin-right:0; width:16px; height:16px; vertical-align:0;}
nav.links a:hover{opacity:1; border-color:var(--accent);}
.nav-tickets{
  display:flex !important; align-items:center; gap:6px;
  background:var(--accent); color:var(--ink) !important; opacity:1 !important;
  padding:8px 16px !important; border-radius:999px; border-bottom:none !important;
}
.nav-tickets:hover{transform:translateY(-1px);}
.nav-tickets .icon{width:16px; height:16px;}

.icon{width:18px; height:18px; flex:none; vertical-align:-4px; margin-right:2px;}

.nav-toggle{
  display:none; align-items:center; justify-content:center;
  background:none; border:1px solid rgba(242,236,221,0.4); color:var(--paper);
  width:42px; height:42px; border-radius:10px; cursor:pointer; flex:none;
}
.nav-toggle svg{width:22px; height:22px;}
.nav-toggle .icon-close{display:none;}
.nav-toggle[aria-expanded="true"] .icon-burger{display:none;}
.nav-toggle[aria-expanded="true"] .icon-close{display:block;}

@media (max-width:840px){
  nav.links{
    position:absolute; top:100%; left:0; right:0;
    background:var(--ink); flex-direction:column; align-items:stretch; gap:0;
    max-height:0; overflow:hidden; transition:max-height .3s ease;
    border-bottom:1px solid rgba(242,236,221,0.12);
  }
  nav.links.open{max-height:520px;}
  nav.links a{padding:16px 24px; border-bottom:1px solid rgba(242,236,221,0.08); font-size:0.95rem;}
  .nav-tickets{margin:14px 24px; justify-content:center; padding:14px 16px !important;}
  .nav-toggle{display:flex;}
}

/* HERO */
.hero{
  position:relative; min-height:92vh; padding:0;
  overflow:hidden;
}
.hero-slides{position:relative; width:100%; height:100%; min-height:92vh;}
.hero-slide{
  position:absolute; inset:0; display:flex; align-items:flex-end;
  opacity:0; transition:opacity .7s ease; pointer-events:none;
}
.hero-slide.active{opacity:1; pointer-events:auto;}
.hero-slide-promo{display:block; background:var(--ink);}
.hero-slide-promo picture{position:absolute; inset:0; display:block;}
.hero-slide-promo picture img{width:100%; height:100%; object-fit:contain; object-position:center center; display:block;}
.hero-buy-badge{
  position:absolute; left:0; top:0; z-index:2;
  background:var(--accent); color:var(--ink); font-weight:800;
  font-size:1.05rem; text-transform:uppercase; letter-spacing:0.03em;
  padding:16px 30px; border-radius:999px; box-shadow:0 8px 26px rgba(0,0,0,0.45);
  white-space:nowrap; transform:translate(-50%,-50%);
  border:2px solid rgba(21,17,12,0.15);
  transition:transform .18s ease, box-shadow .18s ease;
  text-decoration:none; display:inline-block;
}
.hero-buy-badge:hover{transform:translate(-50%,-50%) scale(1.05); box-shadow:0 10px 30px rgba(0,0,0,0.55);}
@media (max-width:700px){
  .hero-buy-badge{font-size:0.82rem; padding:11px 18px;}
  /* Match the hero's height to the mobile artwork's own 4:5 ratio instead
     of a fixed 92vh — that was leaving tall empty bars above/below the
     portrait banner. A tighter hero also sits closer to the header and
     hints there's more page below, inviting the scroll. */
  .hero{min-height:0; height:auto;}
  .hero-slides{min-height:0; height:auto; aspect-ratio:4/5;}
}
@media (max-width:420px){
  .hero-buy-badge{font-size:0.72rem; padding:9px 15px;}
}
.hero-dots{
  position:absolute; left:50%; bottom:20px; transform:translateX(-50%);
  display:flex; gap:8px; z-index:2;
}
.hero-dots .dot{
  width:8px; height:8px; border-radius:50%; background:rgba(242,236,221,0.35);
  cursor:pointer; border:1.5px solid rgba(242,236,221,0.5); padding:0;
}
.hero-dots .dot.active{background:var(--accent); border-color:var(--accent);}
.hero-bg{
  position:absolute; inset:0; z-index:0;
}
.hero-bg img{width:100%; height:100%; object-fit:cover; object-position:35% 20%;}
.hero-bg::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(21,17,12,0.15) 0%, rgba(21,17,12,0.55) 55%, rgba(21,17,12,0.97) 100%);
}
.hero-content{position:relative; z-index:1; padding:60px 24px 64px; max-width:var(--max); margin:0 auto; width:100%;}
.hero-title{
  font-size:clamp(2.8rem, 8vw, 6rem);
  color:var(--paper);
  text-shadow:0 4px 24px rgba(0,0,0,0.5);
}
.hero-title .accent{color:var(--accent);}
.hero-logo{width:clamp(280px, 44vw, 620px); height:auto; display:inline-block; filter:drop-shadow(0 4px 24px rgba(0,0,0,0.5));}
.hero-sub{max-width:560px; font-size:1.15rem; margin-bottom:1.6em; color:var(--paper-dim);}
.hero-ctas{display:flex; gap:14px; flex-wrap:wrap;}
@media (max-width:700px){
  /* The shorter mobile box now crops .hero-bg's cover-fit image along its
     height instead of its width, which pushed the visible window up into
     the photo's dark, subject-less top — bias it down to the actors. */
  .hero-bg img{object-position:40% 42%;}
  /* Same fixed 4:5 box as the promo slide (no per-slide height juggling) —
     so the brand slide's text has to fit that shorter height too. */
  .hero-content{padding:14px 20px 14px;}
  .hero-title{font-size:1.5rem; margin-bottom:0.12em;}
  .hero-logo{width:min(42vw, 160px);}
  .eyebrow{margin-bottom:0.2em; font-size:0.7rem;}
  .hero-sub{
    font-size:0.84rem; line-height:1.3; margin-bottom:0.6em;
    display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden;
  }
  .hero-ctas{gap:8px;}
  .hero-ctas .btn{padding:8px 15px; font-size:0.78rem;}
}

/* SECTIONS */
section{padding:96px 0;}
section.tight{padding:64px 0;}
.section-head{max-width:720px; margin-bottom:48px;}
.section-head p{color:var(--paper-dim); font-size:1.08rem;}

.bg-paper{background:var(--paper); color:var(--ink);}
.bg-paper .eyebrow{color:var(--red);}
.bg-ink-soft{background:var(--ink-soft);}

/* ABOUT */
.about-grid{display:grid; grid-template-columns:1.1fr 0.9fr; gap:56px; align-items:start;}
@media (max-width:900px){.about-grid{grid-template-columns:1fr;}}
.pillars{display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:28px;}
.pillar{background:rgba(0,0,0,0.05); border:1px solid rgba(0,0,0,0.12); border-radius:14px; padding:20px;}
.pillar h4{font-size:0.95rem; margin-bottom:6px;}
.pillar p{font-size:0.92rem; margin:0; color:var(--ink-soft);}
.about-quote{
  font-family:'Bebas Neue', sans-serif; font-size:1.6rem; letter-spacing:0.01em;
  border-left:4px solid var(--red); padding-left:20px; margin:0 0 28px;
}
.about-slideshow{
  position:relative; border-radius:18px; overflow:hidden;
  box-shadow:0 20px 50px rgba(0,0,0,0.25); aspect-ratio:4/5; background:#000;
}
.about-slideshow .slide{
  position:absolute; inset:0; opacity:0; transition:opacity 1s ease;
  pointer-events:none;
}
.about-slideshow .slide.active{opacity:1; pointer-events:auto;}
.about-slideshow .slide img{width:100%; height:100%; object-fit:cover; display:block;}
.about-slideshow .slide-caption{
  position:absolute; left:0; right:0; bottom:0; padding:34px 20px 16px;
  background:linear-gradient(to top, rgba(0,0,0,0.82), rgba(0,0,0,0));
  color:var(--paper); font-size:0.85rem; line-height:1.4;
}
.about-slideshow .slide-caption em{color:var(--accent); font-style:normal;}
.slide-dots{
  position:absolute; bottom:12px; left:0; right:0; z-index:2;
  display:flex; justify-content:center; gap:8px;
}
.slide-dots .dot{
  width:8px; height:8px; border-radius:50%; background:rgba(242,236,221,0.4);
  border:none; cursor:pointer; padding:0;
}
.slide-dots .dot.active{background:var(--accent);}
.stats-row{display:flex; gap:36px; margin-top:32px; flex-wrap:wrap;}
.stat b{font-family:'Archivo Black',sans-serif; font-size:2rem; display:block; color:var(--red);}
.stat span{font-size:0.85rem; text-transform:uppercase; letter-spacing:0.05em; color:var(--ink-soft);}

/* ELENCO */
.cast-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:22px;}
@media (max-width:900px){.cast-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:600px){.cast-grid{grid-template-columns:1fr;}}
.cast-card{
  background:var(--ink-soft); border-radius:16px; padding:24px;
  border:1px solid rgba(242,236,221,0.1);
  transition:transform .2s ease, border-color .2s ease;
}
.cast-card:hover{transform:translateY(-4px); border-color:var(--accent);}
.cast-card-link{display:block; text-decoration:none; color:inherit; position:relative;}
.cast-card-cta{display:none; color:var(--accent); font-size:0.82rem; font-weight:700; margin-top:14px; letter-spacing:0.02em;}
.cast-card-link .cast-card-cta{display:inline-block;}
.cast-card-link:hover .cast-card-cta{text-decoration:underline;}
.cast-photo{
  width:120px; height:120px; border-radius:50%; overflow:hidden;
  margin-bottom:16px; border:2px solid rgba(242,236,221,0.18); flex:none;
}
@media (max-width:520px){.cast-photo{width:104px; height:104px;}}
.cast-photo img{width:100%; height:100%; object-fit:cover;}
.cast-card h3{font-size:1.3rem; margin-bottom:2px;}
.cast-role{color:var(--gold); font-size:0.85rem; text-transform:uppercase; letter-spacing:0.05em; font-weight:700; margin-bottom:12px; display:block;}
.cast-card p{font-size:0.92rem; color:var(--paper-dim); margin:0;}
.cast-tags{display:flex; flex-wrap:wrap; gap:6px; margin-top:14px;}
.tag{font-size:0.72rem; padding:3px 10px; border-radius:999px; border:1px solid rgba(242,236,221,0.3); color:var(--paper-dim); text-transform:uppercase; letter-spacing:0.04em;}

/* MONTAGENS */
.show{
  display:grid; grid-template-columns:0.9fr 1.1fr; gap:48px; align-items:center;
  padding:56px 0; border-top:1px solid rgba(242,236,221,0.12);
  scroll-margin-top:90px;
}
.show:first-of-type{border-top:none;}
.show-media, .show-info{min-width:0;}
@media (max-width:900px){.show{grid-template-columns:1fr;}}
.show-media{position:relative; border-radius:18px; overflow:hidden;}
.show-media .show-photo{width:100%; height:100%; object-fit:cover; aspect-ratio:4/5; border-radius:18px; overflow:hidden; display:block;}
.show-media img.show-logo{
  position:absolute; bottom:12px; left:12px; height:58px; width:auto; max-width:140px;
  object-fit:contain; aspect-ratio:auto; filter:drop-shadow(0 6px 14px rgba(0,0,0,0.6));
}
@media (max-width:600px){
  .show-media img.show-logo{height:48px; max-width:120px;}
}
.show-badge{
  display:inline-block; font-family:'Bebas Neue',sans-serif; letter-spacing:0.08em;
  font-size:0.8rem; padding:5px 14px; border-radius:999px; margin-bottom:14px;
  background:var(--gold); color:var(--ink);
}
.show.edipau .show-badge{background:var(--accent);}
.show h3{font-size:clamp(1.8rem,3.5vw,2.6rem);}
.show .tech{
  margin-top:20px; padding-top:18px; border-top:1px dashed rgba(242,236,221,0.25);
  display:grid; grid-template-columns:1fr 1fr; gap:10px 24px; font-size:0.88rem; color:var(--paper-dim);
}
.show .tech b{color:var(--paper); display:block; font-weight:600;}
.show-gallery{display:flex; gap:10px; margin-top:18px; overflow-x:auto; padding-bottom:6px;}
.show-gallery figure{margin:0; flex:none; width:150px;}
.show-gallery img{width:150px; height:150px; object-fit:cover; border-radius:10px; cursor:pointer; display:block;}
.show-gallery figcaption{font-size:0.72rem; color:var(--paper-dim); margin-top:6px; line-height:1.3;}

/* PROJETO ATUAL */
.current-project{
  background:linear-gradient(135deg, var(--green) 0%, #1c3a2c 100%);
  border-radius:24px; padding:48px; position:relative; overflow:hidden;
  scroll-margin-top:110px;
}
.current-project.alt{
  background:linear-gradient(135deg, var(--gold-deep) 0%, #2a2013 100%);
}
.current-project .eyebrow{color:var(--accent);}
.current-ribbon{
  position:absolute; top:24px; right:-56px;
  background:var(--accent); color:var(--ink); padding:8px 70px; transform:rotate(35deg);
  font-family:'Bebas Neue',sans-serif; letter-spacing:0.1em; font-size:0.85rem; font-weight:700;
}
.current-grid{display:grid; grid-template-columns:1.2fr 0.8fr; gap:40px; align-items:center;}
@media (max-width:900px){.current-grid{grid-template-columns:1fr;} .current-project{padding:32px 24px;}}
.current-project h2{font-size:clamp(2rem,4vw,3rem); color:var(--paper);}
.date-chips{display:flex; gap:10px; flex-wrap:wrap; margin:20px 0;}
.date-chip{background:rgba(242,236,221,0.12); border:1px solid rgba(242,236,221,0.3); border-radius:10px; padding:10px 14px; text-align:center; min-width:64px;}
.date-chip b{display:block; font-family:'Archivo Black',sans-serif; font-size:1.3rem;}
.date-chip span{font-size:0.7rem; text-transform:uppercase; letter-spacing:0.05em; opacity:0.85;}
.current-media img{border-radius:16px; aspect-ratio:3/4; object-fit:cover; width:100%;}
.venue-line{display:flex; align-items:center; gap:8px; margin-top:18px; font-size:0.95rem; color:var(--paper-dim); text-decoration:none; width:fit-content;}
.venue-line .icon{margin-right:0; color:var(--accent);}
a.venue-line:hover{color:var(--paper); text-decoration:underline;}
.current-ctas{display:flex; gap:14px; flex-wrap:wrap; margin-top:24px;}
.btn-disabled{background:rgba(242,236,221,0.15); color:var(--paper-dim); border-color:rgba(242,236,221,0.3); cursor:default;}

/* GALERIA */
.gallery-grid{
  columns:4 220px; column-gap:14px;
}
.gallery-grid figure{margin:0 0 18px; break-inside:avoid;}
.gallery-grid img{width:100%; display:block; border-radius:12px; cursor:pointer;}
.gallery-grid figcaption{font-size:0.78rem; color:#8a8272; margin-top:6px; line-height:1.3;}
@media (max-width:700px){.gallery-grid{columns:2 160px;}}

/* INSTAGRAM */
.insta-head{display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; margin-bottom:32px;}
.insta-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:20px;}
@media (max-width:900px){.insta-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.insta-grid{grid-template-columns:1fr;}}
.insta-tile{
  position:relative; display:block; border-radius:14px; overflow:hidden;
  aspect-ratio:1/1; background:var(--ink-soft); text-decoration:none;
}
.insta-tile img{width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s ease;}
.insta-tile:hover img{transform:scale(1.05);}
.insta-tile .insta-tile-badge{
  position:absolute; top:12px; right:12px; width:36px; height:36px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(21,17,12,0.65); border-radius:50%; backdrop-filter:blur(2px);
}
.insta-tile .insta-tile-badge svg{width:19px; height:19px; fill:#fff;}
.insta-tile .insta-tile-caption{
  position:absolute; left:0; right:0; bottom:0; padding:14px 16px 12px;
  background:linear-gradient(to top, rgba(10,8,6,0.85), rgba(10,8,6,0));
  color:var(--paper); font-size:0.85rem; opacity:0; transform:translateY(6px);
  transition:opacity .25s ease, transform .25s ease;
}
.insta-tile:hover .insta-tile-caption{opacity:1; transform:translateY(0);}

/* CONTACT / FOOTER */
footer{background:var(--ink-soft); padding:64px 0 32px;}
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:48px;}
@media (max-width:800px){.contact-grid{grid-template-columns:1fr;}}
.contact-list{list-style:none; padding:0; margin:24px 0 0; display:flex; flex-direction:column; gap:14px;}
.contact-list a{text-decoration:none; font-size:1.05rem; display:flex; align-items:center; gap:10px;}
.contact-list a:hover{color:var(--accent);}
.footer-logos{display:flex; gap:18px; align-items:center; flex-wrap:wrap;}
.footer-logos img{height:44px; width:auto; opacity:0.85;}
.footer-bottom{
  border-top:1px solid rgba(242,236,221,0.12); margin-top:48px; padding-top:24px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:0.82rem; color:var(--paper-dim);
}

/* Lightbox */
.lightbox{
  position:fixed; inset:0; background:rgba(10,8,6,0.94); z-index:200;
  display:none; align-items:center; justify-content:center; padding:32px;
}
.lightbox.open{display:flex;}
.lightbox figure{margin:0; max-width:92vw;}
.lightbox img{max-width:92vw; max-height:82vh; border-radius:8px; display:block;}
.lightbox figcaption{color:var(--paper-dim); font-size:0.9rem; text-align:center; margin-top:12px;}
.lightbox-close{position:absolute; top:24px; right:32px; font-size:2rem; color:var(--paper); background:none; border:none; cursor:pointer;}
.lightbox-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:48px; height:48px; border-radius:50%; border:1px solid rgba(242,236,221,0.3);
  background:rgba(10,8,6,0.5); color:var(--paper); font-size:1.8rem; line-height:1;
  display:flex; align-items:center; justify-content:center; cursor:pointer;
}
.lightbox-nav:hover{background:rgba(242,236,221,0.15);}
.lightbox-nav[hidden]{display:none;}
.lightbox-prev{left:16px;}
.lightbox-next{right:16px;}
.lightbox-count{display:block; text-align:center; color:var(--paper-dim); font-size:0.78rem; margin-top:6px; letter-spacing:0.04em;}
@media (max-width:640px){
  .lightbox-nav{width:40px; height:40px; font-size:1.5rem;}
  .lightbox-prev{left:6px;}
  .lightbox-next{right:6px;}
}

.reveal{opacity:1; transform:none;}
