/*
Theme Name: Ziklo
Version: 1.2.0 (hygienized)
Description: Ziklo — landing com páginas "Quem somos" e "Manifesto" habilitadas e links no header. Preparado para imagens .png embutidas em /assets/img.
*/

/* =========================
   DESIGN TOKENS & RESET
   ========================= */
:root{
  --bg:#0E0F10;
  --fg:#ffffff;
  --muted:#b8bec9;
  --accent1:#FFC400;
  --accent2:#00D1FF;
  --accent3:#FF4D6D;
  --accent4:#7CF19E;
}

*{ box-sizing:border-box; }

html,body{
  margin:0;
  padding:0;
  background:#0E0F10;
  color:var(--fg);
  font-family:'Manrope',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; }

/* =========================
   UTILITIES
   ========================= */
.container{ width:min(1200px,92vw); margin:0 auto; }

:root{
  --brand-dark:#191414;
  --brand-lime:#B8FF00;
  --brand-off:#FAF9F6;
}
.gradient-text{
  background: linear-gradient(90deg, var(--brand-lime), var(--brand-off));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  background:#111;
  color:#fff;
  border:2px solid #222;
  padding:.9rem 1.2rem;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
  cursor:pointer;
  transition:transform .1s ease, background .2s ease;
}
.btn:hover{ transform:translateY(-2px); background:#181818; }

.badge{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding:.35rem .6rem;
  border-radius:999px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.15);
  backdrop-filter:blur(8px);
}

.noise-overlay{
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.12;
  background-image:url('assets/img/noise.png?v=1');
  mix-blend-mode:overlay;
}

/* =========================
   HEADER
   ========================= */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(14,15,16,.6);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.site-header .bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:.9rem 0;
}

.brand{
  font-family:'Bebas Neue',sans-serif;
  letter-spacing:.5px;
  font-size:1.8rem;
}

.nav{ display:flex; gap:.6rem; align-items:center; flex-wrap:wrap; }
.nav a.pill{
  padding:.5rem .8rem;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background:#121212;
}

/* Cart icon premium */
.nav .cart-icon{
  font-size:26px;
  padding:.65rem 1.1rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:linear-gradient(135deg, rgba(255,196,0,.15), rgba(0,209,255,.15));
  backdrop-filter:blur(6px);
  box-shadow:
    0 4px 12px rgba(0,0,0,.35),
    inset 0 0 0 1px rgba(255,255,255,.06);
  transition:all .25s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.nav .cart-icon:hover{
  transform:translateY(-2px) scale(1.08);
  box-shadow:
    0 8px 22px rgba(0,0,0,.45),
    0 0 18px rgba(0,209,255,.25);
  border-color:rgba(255,255,255,.35);
}

/* =========================
   HERO + CARROSSEL
   ========================= */
.hero{
  position:relative;
  overflow:hidden;
  min-height:88dvh;
  padding:0;
  display:grid;
  align-items:stretch;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(120% 100% at 20% 30%, rgba(0,0,0,.25), rgba(0,0,0,0) 60%);
  pointer-events:none;
  z-index:1;
}

.hero-slides{
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
  contain:layout paint;
}

.hero-slide{
  position:absolute;
  inset:0;
  display:grid;
  align-items:center;
  padding:5rem 0;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  opacity:0;
  pointer-events:none;
  transition:opacity .6s ease-in-out;
  will-change:opacity;
  transform:translateZ(0);
}
.hero-slide.active{
  opacity:1;
  pointer-events:auto;
  z-index:1;
}

.hero-slide::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(120% 100% at 20% 30%, rgba(0,0,0,.25), rgba(0,0,0,0) 60%);
  pointer-events:none;
  z-index:1;
}

.hero-slide > .container,
.hero > .container{
  position:relative;
  z-index:3; /* texto/CTAs acima das polaroids */
}

/* Hero typography */
.hero h1{
  font-family:'Bebas Neue',sans-serif;
  line-height:.9;
  font-size:clamp(2.6rem,6vw,6rem);
  margin:.6rem 0 1rem;
}
.hero p{ font-size:clamp(1rem,2.4vw,1.4rem); color:var(--muted); }
.hero .cta{ margin-top:1.2rem; }

/* Dots */
.hero-nav{
  position:absolute;
  bottom:2rem;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:.6rem;
  z-index:5;
}
.hero-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(255,255,255,.4);
  cursor:pointer;
  transition:background .3s ease, transform .2s ease;
}
.hero-dot.active{ background:#fff; transform:scale(1.1); }

/* =========================
   HERO – POLAROIDS
   ========================= */
.hero .polaroids{
  position:absolute;
  right:3vw;
  top:10vh;
  display:grid;
  gap:1rem;
  z-index:2;
  pointer-events:none;
}
.hero .polaroids .card{
  width:min(260px, 28vw);
  transform:rotate(-2deg);
  border-radius:10px;
  background:#fff;
  padding:.5rem;
  box-shadow:0 12px 40px rgba(0,0,0,.35);
}
.hero .polaroids .card:nth-child(1){
  background:url('assets/img/polaroid1.png?v=1') center/cover no-repeat;
}
.hero .polaroids .card:nth-child(2){
  background:url('assets/img/polaroid2.png?v=1') center/cover no-repeat;
  transform:rotate(3deg);
}
/* ============================================
   Manifesto hero, Chinelo Não Morre hero — photo background variant
   Keeps same strip height as the gradient hero,
   crops the 1407x768 image to fill responsively.
   ============================================ */
.page-hero.page-hero--photo{
  background: #0E0F10; /* fallback while image loads */
  position: relative;
  overflow: hidden;
}

.page-hero.page-hero--manifesto{
  background-image: url('assets/img/manifesto-hero.png');
  background-size: cover;        /* crop to fill the strip */
  background-position: center;   /* keep subject centered */
  background-repeat: no-repeat;
}

.page-hero.page-hero--chinelo{
  background-image: url('assets/img/chinelo_nao_morre_hero.png');
  background-size: cover;        /* crop to fill the strip */
  background-position: center;   /* keep subject centered */
  background-repeat: no-repeat;
}

.page-hero.page-hero--quem-somos{
  background-image: url('assets/img/banner_pg_Quem_Somos.png');
  background-size: cover;        /* crop to fill the strip */
  background-position: center;   /* keep subject centered */
  background-repeat: no-repeat;
}

/* Subtle dark overlay so the white H1 stays readable
   on top of any photo. Remove if your image is already dark. */
.page-hero.page-hero--photo::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.15) 50%,
    rgba(0,0,0,0.45) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.page-hero.page-hero--photo .container{
  position: relative;
  z-index: 1;
}

/* Mobile: lock a tighter aspect so the photo doesn't get too tall/short */
@media (max-width: 900px){
  .page-hero.page-hero--photo{
    background-position: center center;
  }
}

@media (max-width: 600px){
  .page-hero.page-hero--manifesto{
    /* On phones, shift focal point if needed (e.g. 'center 30%') */
    background-position: center 40%;
  }
}

@media (max-width: 600px){
  .page-hero.page-hero--chinelo{
    /* On phones, shift focal point if needed (e.g. 'center 30%') */
    background-position: center 40%;
  }
}

/* =========================
   SECTION VIDEO (Instagram embed)
   ========================= */
.section-video{
  padding:2rem 0;
  background:var(--video-bg) center/cover no-repeat;
  background-attachment:scroll;
  min-height:60vh;
}

.section-video h2{
  font-family:'Bebas Neue',sans-serif;
  font-size:clamp(2rem,5vw,3.5rem);
  margin:0 0 1rem 0;
  text-shadow:0 2px 12px rgba(0,0,0,.35);
}

.section-video .ig-card{
  max-width:min(900px, 92vw);
  margin:0 auto;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 18px 50px rgba(0,0,0,.35);
  background:#000;
  position:relative;
}

.section-video .ig-aspect{
  position:relative;
  width:100%;
  aspect-ratio:9 / 16;
  background:#000;
}
.section-video .ig-aspect.is-16x9{ aspect-ratio:16 / 9; }

@supports not (aspect-ratio: 1 / 1){
  .section-video .ig-aspect{
    height:0;
    padding-top:calc(100% * 16 / 9);
  }
  .section-video .ig-aspect.is-16x9{ padding-top:56.25%; }
  .section-video .ig-aspect > *{
    position:absolute !important;
    inset:0;
    width:100%;
    height:100%;
  }
}

.section-video .ig-aspect iframe,
.section-video .ig-aspect blockquote,
.section-video .ig-aspect .instagram-media{
  width:100% !important;
  height:100% !important;
  border:0 !important;
  margin:0 !important;
  background:transparent;
}

.section-video .instagram-media,
.section-video blockquote.instagram-media{
  min-width:0 !important;
  max-width:none !important;
  border:0 !important;
  box-shadow:none !important;
}

@media (min-width: 1200px){
  .section-video .ig-card{
    max-width:980px;
    border-radius:22px;
  }
}

/* =========================
   DUO SECTION (Loop 01)
   ========================= */
.duo{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:2rem;
  padding:4rem 0;
}

.duo .panel{
  border-radius:16px;
  padding:2rem;
  background:linear-gradient(
    135deg,
    rgba(255,196,0,.25),
    rgba(0,209,255,.25),
    rgba(255,77,109,.25)
  );
  border:1px solid rgba(255,255,255,.12);
}

.duo h3{
  font-family:'Bebas Neue',sans-serif;
  font-size:clamp(1.8rem, 4.2vw, 2.6rem);
}

.duo-visual{
  margin:0;
  border-radius:16px;
  overflow:hidden;
  position:relative;
}
.duo-visual img{
  width:100%;
  height:auto;
  display:block;
}

.panel-with-image .panel-content{ margin-bottom:1.5rem; }

/* Panel thumbs (always stacked, single column) */
.panel-thumbs{ display:block; }
.panel-thumbs .grid{
  display:grid;
  grid-template-columns:1fr !important;
  gap:1rem;
  margin-top:1.25rem;
}
.panel-thumbs .thumb{
  aspect-ratio:4 / 3;
  border-radius:14px;
  overflow:hidden;
}
.panel-thumbs .thumb img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.thumb{
  aspect-ratio:4 / 3;
  border-radius:14px;
  overflow:hidden;
}

/* DUO desktop: equal-height panels + image fills left, thumbs fill right */
@media (min-width: 901px){
  .duo{ align-items:stretch; }
  .duo .panel{
    display:flex;
    flex-direction:column;
    height:100%;
  }
  .duo .panel-with-image{ overflow:hidden; }
  .duo .panel-with-image .panel-content{ flex:0 0 auto; }
  .duo .panel-with-image .duo-visual{
    flex:1 1 auto;
    margin:1.5rem 0 0 0;
    border-radius:14px;
    overflow:hidden;
    display:flex;
    min-height:0;
  }
  .duo .panel-with-image .duo-visual img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
  }

  .duo .panel-thumbs{
    display:flex;
    flex-direction:column;
  }
  .duo .panel-thumbs > h3,
  .duo .panel-thumbs > p{ flex:0 0 auto; }
  .duo .panel-thumbs .grid{
    flex:1 1 auto;
    grid-auto-rows:1fr;
    min-height:0;
  }
  .duo .panel-thumbs .thumb{
    aspect-ratio:auto;
    height:100%;
    min-height:0;
  }
  .duo .panel-thumbs .thumb img{
    object-position:center;
  }
}

/* =========================
   CTA FINAL (footer banner)
   ========================= */
.cta-final{
  min-height:clamp(320px, 42vw, 560px);
  width:min(1400px, 95vw);
  margin:2rem auto;
  border-radius:18px;
  background:
    url('/wp-content/themes/volta-landing-1.1.0/assets/img/footer-bg.png')
      center / cover no-repeat,
    linear-gradient(#0E0F10, #0E0F10);
  display:flex;
  align-items:flex-end;
  justify-content:center;
  overflow:hidden;
}

.cta-final .container{
  width:100%;
  padding:1.25rem;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  min-height:auto;
}

.cta-final .socials{
  display:inline-flex;
  gap:.9rem;
  align-items:center;
  justify-content:center;
  margin-top:.75rem;
}

.cta-final .socials .icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  color:#ffffff;
  background:rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  backdrop-filter:blur(6px);
  box-shadow:
    0 6px 20px rgba(0,0,0,.28),
    inset 0 0 0 1px rgba(255,255,255,.06);
  transition:transform .2s ease, box-shadow .25s ease, color .2s ease, background .2s ease;
  text-decoration:none;
}
.cta-final .socials .icon:hover{
  transform:translateY(-2px) scale(1.05);
  box-shadow:
    0 10px 28px rgba(0,0,0,.35),
    0 0 16px rgba(0,209,255,.22);
  background:rgba(0,0,0,.42);
  color:#fff;
}
.cta-final .socials .icon svg{ display:block; }

/* =========================
   FOOTER
   ========================= */
.site-footer{
  background:#0E0F10;
  color:#ffffff;
}

.footer-bottom{
  padding:2rem 0;
  border-top:1px solid rgba(255,255,255,.08);
}

.footer-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:1.6rem 2rem;
  align-items:start;
}

.footer-menu{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:.65rem;
}
.footer-menu a{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  color:#ffffff;
  text-decoration:none;
  font-weight:600;
  padding:.35rem 0;
  transition:color .2s ease, opacity .2s ease;
  line-height:1.35;
}
.footer-menu a::before{
  content:"→";
  font-weight:700;
  color:var(--accent2);
  opacity:.9;
}
.footer-menu a:hover{ color:#e9edf3; }

.footer-meta{
  text-align:left;
  color:#e0e5ef;
  line-height:1.6;
}
.footer-meta .company,
.footer-meta .cnpj{
  margin:0 0 .35rem 0;
  font-size:.98rem;
}
.footer-meta strong{ color:#fff; }

.footer-copy{
  font-size:.92rem;
  color:#cfd6e4;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}
.footer-copy p{ margin:0; }

/* =========================
   PÁGINAS INTERNAS
   ========================= */
.page-hero{
  min-height:46vh;
  display:grid;
  align-items:end;
  padding:4rem 0;
  background:linear-gradient(160deg, rgba(0,209,255,.6), rgba(255,196,0,.6) 40%, rgba(255,77,109,.55) 80%);
}
.page-hero h1{
  font-family:'Bebas Neue',sans-serif;
  font-size:clamp(2.4rem,6vw,4.6rem);
  margin:0;
}

.page-section{
  padding:3rem 0;
  border-top:1px solid rgba(255,255,255,.08);
}

.kpis{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.2rem;
}
.kpi{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  padding:1.2rem;
}

.manifesto{
  font-size:clamp(1.05rem,2.1vw,1.35rem);
  line-height:1.6;
  color:#e5e8ee;
}
.manifesto .callout{
  padding:1rem 1.2rem;
  border-left:4px solid var(--accent1);
  background:rgba(255,196,0,.12);
  border-radius:8px;
  margin:1rem 0;
  color:#fff;
}

/* =========================
   RESPONSIVE — MOBILE (≤900px)
   ========================= */
@media (max-width: 900px){
  /* Hero */
  .hero-slide{ padding:3.5rem 0; }
  .hero .polaroids{ display:none; }

  /* Duo */
  .duo{
    grid-template-columns:1fr;
    gap:1.5rem;
  }
  .duo-visual{ order:-1; }
  .duo .panel-with-image .duo-visual{
    flex:0 0 auto;
    aspect-ratio:3 / 4;
    max-height:70vh;
  }
  .duo .panel-with-image .duo-visual img{
    width:100%;
    height:100%;
    object-fit:cover;
  }

  /* CTA Final */
  .cta-final{
    min-height:clamp(220px, 55vw, 360px);
    width:94vw;
    border-radius:14px;
    margin:1.25rem auto;
  }
  .cta-final .container{ padding:.8rem; }
  .cta-final .socials .icon{ width:40px; height:40px; }

  /* Footer */
  .footer-grid{
    grid-template-columns:1fr;
    gap:1.2rem;
  }
  .footer-copy{ order:3; }

  /* Páginas internas */
  .kpis{ grid-template-columns:1fr; }
	
 /* Cofounder section — stack columns on mobile */
.circulo-wrapper{
  display:flex !important;
  flex-direction:column !important;
  grid-template-columns:1fr !important;
  gap:2rem !important;
  width:100% !important;
  max-width:100% !important;
  padding:0 1rem !important;
  box-sizing:border-box !important;
}
.circulo-left,
.circulo-right{
  width:100% !important;
  max-width:100% !important;
  flex:1 1 100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}

  .circulo-right form,
  .circulo-right input,
  .circulo-right textarea,
  .circulo-right select,
  .circulo-right button{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
  }
  .circulo-left h1{
    font-size:clamp(1.8rem, 7vw, 2.6rem);
    line-height:1.1;
  }
}

/* =========================
   RESPONSIVE — VERY SMALL (≤480px)
   ========================= */
@media (max-width: 480px){
  .cta-final{ min-height:200px; }
}
/* Founder spots counter */
.vagas-counter{
  margin-top: 28px;
  padding: 18px 22px;
  border: 1px solid rgba(255,196,0,0.35);
  border-radius: 12px;
  background: rgba(255,196,0,0.06);
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.vagas-numero{
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--accent1, #FFC400);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: transform .35s ease, color .35s ease;
}
.vagas-numero.pulse{
  transform: scale(1.15);
  color: var(--accent3, #FF4D6D);
}
.vagas-label{
  font-size: .95rem;
  color: var(--muted, #b8bec9);
  letter-spacing: .02em;
}
@media (max-width: 600px){
  .vagas-counter{ width: 100%; justify-content: center; text-align: center; }
}
/* =========================
   FIX MOBILE — FORM CÍRCULO FUNDADOR
   Não depende de .circulo-wrapper
   ========================= */

@media (max-width: 900px){

  html,
  body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  /* Garante que o formulário nunca passe da largura da tela */
  #fundadorForm{
    width:100%;
    max-width:100%;
    display:flex;
    flex-direction:column;
    gap:14px;
    box-sizing:border-box;
  }

  #fundadorForm input,
  #fundadorForm textarea,
  #fundadorForm button{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    display:block;
    font-size:16px;
  }

  #fundadorForm textarea{
    min-height:150px;
    resize:vertical;
  }

  /* Corrige o container direto do formulário, mesmo sem a classe .circulo-right */
  #fundadorForm,
  #fundadorForm *{
    min-width:0;
  }

  #fundadorForm:where(form){
    margin-left:0;
    margin-right:0;
  }

  /* Se o WordPress/Hostinger colocou o formulário dentro de colunas/blocos,
     força essas colunas a empilharem no mobile */
  .wp-block-columns:has(#fundadorForm),
  .wp-block-group:has(#fundadorForm),
  .entry-content:has(#fundadorForm) > div:has(#fundadorForm){
    display:flex !important;
    flex-direction:column !important;
    width:100% !important;
    max-width:100% !important;
    gap:32px;
    box-sizing:border-box;
  }

  .wp-block-column:has(#fundadorForm),
  .wp-block-group:has(#fundadorForm),
  .entry-content div:has(#fundadorForm){
    width:100% !important;
    max-width:100% !important;
    flex-basis:100% !important;
    min-width:0 !important;
    box-sizing:border-box;
  }

  .vagas-counter{
    width:100%;
    max-width:100%;
    justify-content:center;
    text-align:center;
    box-sizing:border-box;
  }

  #paginaConfirmacao{
    padding:32px 20px !important;
    box-sizing:border-box;
  }
}

@media (max-width: 480px){

  #fundadorForm input,
  #fundadorForm textarea,
  #fundadorForm button{
    padding-left:14px;
    padding-right:14px;
  }
}
/* ============================================
   FIX FINAL — força .circulo-wrapper a empilhar no mobile
   Colocado por último para vencer qualquer CSS do tema
   ============================================ */
@media (max-width: 1024px){
  .circulo-wrapper{
    display:flex !important;
    flex-direction:column !important;
    grid-template-columns:1fr !important;
    width:100% !important;
    max-width:100% !important;
    gap:2rem !important;
    padding:0 1rem !important;
    box-sizing:border-box !important;
  }
  .circulo-wrapper > .circulo-left,
  .circulo-wrapper > .circulo-right{
    width:100% !important;
    max-width:100% !important;
    flex:1 1 100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
  }
  .circulo-right form,
  .circulo-right #fundadorForm,
  .circulo-right input,
  .circulo-right textarea,
  .circulo-right button{
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }
}
