/* === Academia Manara Jiu-Jitsu — moderno • rápido • responsivo === */

:root{
  --bg: #0b0b0f;
  --bg2:#0f1016;
  --card:#12131b;

  --text:#f6f7fb;
  --muted:#b7bccb;
  --line: rgba(255,255,255,.10);

  --red:#e11d2e;
  --red2:#ff2d3f;

  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --radius: 18px;

  --container: 1120px;

  --font-head: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;

  --focus: 0 0 0 3px rgba(225,29,46,.55);

  /* offsets e tamanhos (JS ajusta --header-offset automaticamente) */
  --header-offset: 92px;

  --brand-mark-size: 64px;
  --brand-logo-size: 56px;
}

@media (min-width: 1200px){
  :root{
    --brand-mark-size: 72px;
    --brand-logo-size: 62px;
  }
}
@media (max-width: 520px){
  :root{
    --brand-mark-size: 48px;
    --brand-logo-size: 40px;
    --header-offset: 78px;
  }
}

*{ box-sizing:border-box; }
html{
  scroll-behavior:smooth;
  scroll-padding-top: var(--header-offset);
}
body{
  margin:0;
  background: radial-gradient(1200px 800px at 15% 10%, rgba(225,29,46,.12), transparent 65%),
              radial-gradient(1000px 600px at 85% 25%, rgba(255,255,255,.06), transparent 60%),
              var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  line-height:1.55;
}

section[id]{ scroll-margin-top: var(--header-offset); }

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; text-underline-offset: 4px; }

.container{
  width:min(var(--container), calc(100% - 2rem));
  margin-inline:auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:0;
  padding:.75rem 1rem;
  background:var(--red);
  color:white;
  border-radius:10px;
  z-index:9999;
}
.skip-link:focus{ left:1rem; top:1rem; outline:none; box-shadow:var(--focus); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.6rem;
  border-radius: 999px;
  padding:.82rem 1.05rem;
  border:1px solid var(--line);
  background:transparent;
  color:var(--text);
  font-weight:700;
  letter-spacing:.2px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  text-decoration:none !important;
  cursor:pointer;
  user-select:none;
  will-change: transform;
}
.btn:focus{ outline:none; box-shadow: var(--focus); }
.btn:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.22); }
.btn:active{ transform: translateY(0); }

.btn-primary{
  background: linear-gradient(135deg, var(--red), var(--red2));
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 12px 30px rgba(225,29,46,.25);
}
.btn-primary:hover{ box-shadow: 0 16px 38px rgba(225,29,46,.32); }

.btn-ghost{ background: rgba(255,255,255,.04); }
.btn-lg{ padding:1rem 1.2rem; font-size:1.02rem; }

/* ===== Header (mostra só ao rolar, com JS) ===== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,11,15,.75);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--line);
}

/* com JS: vira fixed e some no topo */
.js .site-header{
  position: fixed;
  left: 0;
  right: 0;
  top: 0;

  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;

  transition: transform .35s ease, opacity .25s ease;
}
.js .site-header.is-visible{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:.55rem 0; /* mais fino */
}

.brand{
  display:flex;
  align-items:center;
  gap:.75rem;
  min-width: 220px;
}

/* selo do logo */
/* Selo do logo (mais consistente) */
.brand-mark{
  width: var(--brand-mark-size);
  height: var(--brand-mark-size);
  border-radius: 999px;
  background: #0c0c0c;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 12px 26px rgba(0,0,0,.45);
  overflow: hidden;
  display: grid;
  place-items: center;
  flex: 0 0 auto;

  /* NOVO: dá respiro interno controlado */
 
}

.brand-logo{
  /* NOVO: não força tamanho fixo; ocupa o espaço útil do selo */
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-name{ font-family:var(--font-head); font-weight:900; letter-spacing:.3px; }
.brand-tag{ color:var(--muted); font-size:.85rem; margin-top:.25rem; }

.nav{
  display:flex;
  align-items:center;
  gap:1rem;
}
.nav a{
  color:var(--muted);
  padding:.55rem .65rem;
  border-radius: 999px;
}
.nav a:hover{
  color:var(--text);
  background: rgba(255,255,255,.04);
  text-decoration:none;
}
.header-cta{
  display:flex;
  align-items:center;
  gap:.6rem;
}

.nav-toggle{
  display:none;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: 12px;
  padding:.55rem .6rem;
}
.nav-toggle:focus{ outline:none; box-shadow: var(--focus); }
.nav-toggle-bar{
  display:block;
  width:22px;
  height:2px;
  background: rgba(255,255,255,.86);
  margin:5px 0;
  border-radius: 2px;
}

/* ===== HERO com carrossel ===== */
.hero{
  position:relative;
  overflow:hidden;
}

.hero-carousel{
  height: 100vh;      /* fallback */
  height: 100svh;     /* melhor no celular (barra do navegador) */
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
}

.hero-carousel__wrap,
.hero-carousel__track,
.hero-carousel__slide{
  height: 100%;
}

.hero-carousel__slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  filter: saturate(1.05) contrast(1.03) brightness(.75);
}

/* overlay de contraste */
.hero-carousel__overlay{
  background:
    linear-gradient(90deg,
      rgba(0,0,0,.65) 0%,
      rgba(0,0,0,.40) 45%,
      rgba(0,0,0,.22) 70%,
      rgba(0,0,0,.18) 100%
    ),
    linear-gradient(180deg,
      rgba(0,0,0,.35) 0%,
      rgba(0,0,0,.10) 45%,
      rgba(0,0,0,.45) 100%
    );
}
/* Foto sem “escurecer”/alterar cor */
.hero-carousel__slide img{
  filter: none;
}
/* conteúdo por cima do carrossel */
.hero-carousel__content{
  position: relative;
  z-index: 2;
  min-height: clamp(520px, 78vh, 780px);
  padding: clamp(3.2rem, 7vw, 6.2rem) 0 2.4rem;
  max-width: 760px;
  display:flex;
  flex-direction: column;
  justify-content: center;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.45rem .8rem;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  color: var(--muted);
  font-weight:700;
  font-size:.92rem;
  width: fit-content;
}

.hero h1{
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.3vw, 3.2rem);
  line-height:1.06;
  margin:.9rem 0 .7rem;
  letter-spacing: .2px;
}
.subtitle{
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 60ch;
}
.hero-actions{
  display:flex;
  flex-wrap: wrap;
  gap:.75rem;
  margin: 1.25rem 0 1.15rem;
}

/* setas */
.hero-carousel__btn{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(11,11,15,.35);
  color: var(--text);
  font-weight: 900;
  font-size: 1.4rem;
  cursor:pointer;
}
.hero-carousel__btn:focus{ outline:none; box-shadow: var(--focus); }
.hero-carousel__btn--prev{ left: 16px; }
.hero-carousel__btn--next{ right: 16px; }

/* bolinhas */
.hero-carousel__dots{
  position:absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 3;
  display:flex;
  gap: .45rem;
  padding: .45rem .65rem;
  border-radius: 999px;
  background: rgba(11,11,15,.35);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
}
.hero-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  cursor:pointer;
}
.hero-dot[aria-current="true"]{
  background: linear-gradient(135deg, var(--red), var(--red2));
  border-color: rgba(255,255,255,.12);
}

/* ===== Linhagem ===== */
.lineage{
  margin: .9rem 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}
.lineage strong{ color: rgba(246,247,251,.92); }
.lineage .you{ color: var(--text); font-weight: 900; }

.section{ padding: 3.2rem 0; }
.section-alt{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap:1rem;
  margin-bottom: 1.4rem;
}
.section-head h2{
  font-family: var(--font-head);
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  line-height:1.12;
  margin:0;
}
.section-sub{ color: var(--muted); margin:0; max-width: 60ch; }

.cards{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.card{
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(18,19,27,.62);
  padding: 1.15rem;
  min-height: 170px;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover{ transform: translateY(-2px); border-color: rgba(255,255,255,.22); }
.icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  margin-bottom:.85rem;
  font-size: 1.1rem;
}
.card h3{ margin:0 0 .5rem; font-family: var(--font-head); letter-spacing:.2px; }
.card p{ margin:0; color: var(--muted); }

.cta-band{
  margin-top: 1.25rem;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(225,29,46,.18), rgba(18,19,27,.65));
  padding: 1.2rem;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap:1rem;
}
.cta-band h3{ margin:0 0 .25rem; font-family: var(--font-head); }
.cta-band p{ margin:0; color: var(--muted); }

.two-col{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.4rem;
  align-items:start;
}
.panel{
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(18,19,27,.58);
  padding: 1.15rem;
}
.panel h3{ margin:0 0 .75rem; font-family: var(--font-head); }

.bullets{ margin: 1rem 0 1.1rem; padding-left: 1.1rem; color: var(--muted); }
.bullets li{ margin:.45rem 0; }
.actions{ display:flex; flex-wrap:wrap; gap:.75rem; }

.info{ display:grid; gap:.85rem; margin:0; }
.info dt{ color: var(--muted); font-size:.88rem; margin-bottom:.15rem; }
.info dd{ margin:0; font-weight:700; }
.info a{ text-decoration: underline; text-underline-offset: 4px; }
.info.compact{ margin-top: 1rem; }

.photo{
  position:relative;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  overflow:hidden;
  min-height: 320px;
}
.photo img{
  width:100%;
  height:100%;
  object-fit: cover;
  min-height: 320px;
  filter: saturate(1.05) contrast(1.03);
}
.photo-badge{
  position:absolute;
  left: 14px;
  bottom: 14px;
  padding:.5rem .75rem;
  border-radius: 999px;
  background: rgba(11,11,15,.72);
  border:1px solid var(--line);
  font-weight: 900;
  letter-spacing:.2px;
}
.lead{ font-size:1.1rem; margin:.2rem 0 .6rem; }
.quote{
  margin: 1rem 0 1.1rem;
  padding: .9rem 1rem;
  border-left: 4px solid var(--red);
  background: rgba(255,255,255,.03);
  border-radius: 12px;
}
.quote p{ margin:0; color: rgba(246,247,251,.92); font-weight: 700; }

.schedule{
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(18,19,27,.58);
  padding: 1.15rem;
}
.schedule-head h3{ margin:0 0 .35rem; font-family: var(--font-head); }
.schedule-head p{ margin:0; color: var(--muted); }
.table-wrap{
  margin-top: 1rem;
  border-radius: 14px;
  border:1px solid var(--line);
  overflow:auto;
  background: rgba(11,11,15,.35);
}
.table-wrap:focus{ outline:none; box-shadow: var(--focus); }
.table{
  width:100%;
  border-collapse: collapse;
  min-width: 640px;
}
.table th, .table td{
  padding: .85rem .8rem;
  border-bottom:1px solid rgba(255,255,255,.08);
  text-align:left;
  white-space:nowrap;
}
.table th{
  color: rgba(246,247,251,.92);
  font-size:.92rem;
  background: rgba(255,255,255,.03);
}
.table td{ color: var(--muted); }
.schedule-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  margin-top: 1rem;
}

.map-grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 1.1rem;
  align-items: stretch;
}
.map{
  border-radius: var(--radius);
  border:1px solid var(--line);
  overflow:hidden;
  background: rgba(18,19,27,.45);
  min-height: 360px;
}
.map iframe{ width:100%; height:100%; border:0; min-height: 360px; }

.contact-grid{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 1.2rem;
  align-items:start;
}
.contact-actions{ display:grid; gap: .8rem; }
.trust{
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(18,19,27,.45);
  padding: 1rem;
  color: var(--muted);
}
.trust p{ margin:.2rem 0; }

.form{
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(18,19,27,.58);
  padding: 1.15rem;
}
.field{ display:grid; gap: .4rem; margin-bottom: .85rem; }
label{ font-weight: 800; letter-spacing:.1px; }
input, textarea{
  width:100%;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(11,11,15,.45);
  color: var(--text);
  padding: .85rem .9rem;
  font: inherit;
}
input:focus, textarea:focus{
  outline:none;
  box-shadow: var(--focus);
  border-color: rgba(225,29,46,.55);
}
.error{ min-height: 1.15em; color: #ffb4bb; }
.form-footnote{ color: var(--muted); font-size:.92rem; margin: .75rem 0 0; }

.site-footer{
  border-top:1px solid var(--line);
  background: rgba(0,0,0,.22);
  padding: 2rem 0;
}
.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap:1rem;
}
.footer-name{
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing:.2px;
  margin-bottom: .4rem;
}
.footer-meta p{ margin:.25rem 0; color: var(--muted); }
.footer-meta a{ color: var(--text); }
.footer-nav{ display:grid; gap:.35rem; }
.footer-nav a{ color: var(--muted); padding:.25rem 0; }
.footer-nav a:hover{ color: var(--text); }

.muted{ color: var(--muted); }
.nobr { white-space: nowrap; }

/* FAB WhatsApp */
.fab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  padding: .85rem 1.05rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--red2));
  color:white;
  font-weight: 900;
  letter-spacing:.2px;
  box-shadow: 0 18px 45px rgba(225,29,46,.35);
  border: 1px solid rgba(255,255,255,.12);
  text-decoration:none !important;
}
.fab:focus{ outline:none; box-shadow: var(--focus); }

/* Reveal */
.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* Noscript */
.noscript{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 76px;
  padding: .85rem 1rem;
  border-radius: 14px;
  background: rgba(11,11,15,.92);
  border:1px solid var(--line);
  color: var(--muted);
  z-index: 70;
}

/* ===== Galeria ===== */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.gallery-item{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(18,19,27,.58);
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-item:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.4);
}
.gallery-item img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
  transition: filter .2s ease;
}
.gallery-item:hover img{ filter: brightness(1); }
.gallery-caption{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: .8rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  color: var(--text);
  font-weight: 700;
  font-size: .95rem;
}
.gallery-caption p{ margin: 0; }
@media (max-width: 600px){
  .gallery-grid{ grid-template-columns: 1fr; }
  .gallery-item img{ height: 250px; }
}

/* Responsivo */
@media (max-width: 980px){
  .cards{ grid-template-columns: repeat(2, 1fr); }
  .two-col{ grid-template-columns: 1fr; }
  .map-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }

  .header-cta{ display:none; }
  .nav-toggle{ display:inline-block; }

  .nav{
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display:none;
    flex-direction: column;
    align-items: stretch;
    gap:0;
    background: rgba(11,11,15,.92);
    backdrop-filter: blur(12px);
    border-bottom:1px solid var(--line);
    padding: .6rem;
  }
  .nav a{
    padding: .85rem .85rem;
    border-radius: 12px;
  }
  .nav.is-open{ display:flex; }
}
@media (max-width: 560px){
  .cards{ grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .btn, .card, .reveal, .hero-carousel__track{ transition:none !important; }
  .reveal{ opacity: 1; transform:none; }
}
/* Carrossel em tela cheia */
.hero-carousel{
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* stacking correto: imagem < overlay < conteúdo */
.hero-carousel__wrap{ position:absolute; inset:0; z-index:0; }
.hero-carousel__overlay{ z-index:1; }
.hero-carousel__content{ position: relative; z-index:2; }

/* Remove sombreado vermelho (deixa overlay neutro) */
.hero-carousel__overlay{
  background:
    linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.40) 45%, rgba(0,0,0,.22) 70%, rgba(0,0,0,.18) 100%),
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.10) 45%, rgba(0,0,0,.45) 100%);
}

/* Não escurecer a foto “por código” */
.hero-carousel__slide img{
  filter: none;
}

/* ===== FIX carrossel (essencial) ===== */
.hero-carousel__wrap{
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-carousel__track{
  display: flex;              /* ESSENCIAL: slides lado a lado */
  height: 100%;
  width: 100%;
  transform: translateX(0);
  transition: transform .45s ease;
  will-change: transform;
}

.hero-carousel__slide{
  flex: 0 0 100%;            /* cada slide ocupa 100% da largura */
  min-width: 100%;
  height: 100%;
}

.hero-carousel__overlay{
  position: absolute;         /* garantir que o overlay cubra */
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* botões e dots acima de tudo */
.hero-carousel__btn,
.hero-carousel__dots{
  z-index: 3;
}

.footer-credits{
  display:flex;
  justify-content:flex-end;
  align-items:center;
}

.dev-credit{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  color: var(--muted);
  font-weight: 800;
  font-size: .9rem;
  text-decoration: none !important;
  opacity: .9;
}

.dev-credit:hover{
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.dev-credit img{
  display:block;
  height: 18px;
  width: auto;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.35));
}

/* Mobile: centraliza e quebra linha se precisar */
@media (max-width: 700px){
  .footer-inner{
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-credits{
    width: 100%;
    justify-content: flex-start;
    margin-top: .75rem;
  }
}

/* Imagens do carrossel */
.hero-carousel__slide{
  background: #000; /* barras quando usar contain no mobile */
}

.hero-carousel__slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;       /* desktop: preenche e pode cortar */
  object-position: center; /* ajuste o foco se precisar */
  display: block;
}
.header-secondary-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;  /* Ajuste o tamanho conforme necessário */
  height: 100px;
  flex-shrink: 0;
}

.header-secondary-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Garante que o logo não seja cortado */
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3)); /* Sombra leve para destaque */
}

@media (max-width: 1024px) {
  .header-secondary-logo {
    width: 60px;
    height: 60px;
  }
}

/* Esconde no mobile se o header ficar muito apertado */
@media (max-width: 520px) {
  .header-secondary-logo {
    display: none; 
  }
}

/* Mobile: mostra a foto inteira (sem cortar) */
@media (max-width: 720px) {
  .hero-carousel {
    height: 100svh !important; 
    min-height: 100svh !important;
  }

  .hero-carousel__slide img {
    object-fit: cover !important; /* Força a esticar */
    object-position: center !important;
    width: 100% !important;
    height: 100% !important;
    filter: none !important;
  }

  /* Ajuste para garantir que o container do slide não limite a imagem */
  .hero-carousel__slide, 
  .hero-carousel__slide picture {
    height: 100% !important;
    display: block !important;
  }
}

/* garante que picture e img ocupem 100% do slide */
.hero-carousel__slide picture,
.hero-carousel__slide picture img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-carousel__slide picture img {
  object-fit: cover;       /* mantém o comportamento cover */
  object-position: 50% 55%;/* ajuste fino do foco */
}

/* Grid de Unidades */
.units-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.unit-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.unit-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.unit-card h3 {
  margin: 0.5rem 0 0.75rem;
  font-size: 1.3rem;
  color: #fff;
}

.unit-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 1rem;
}

.unit-card .pill {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.unit-actions {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.unit-actions .btn {
  width: 100%;
  text-align: center;
}

/* Ajuste para mobile */
@media (max-width: 600px) {
  .units-grid {
    grid-template-columns: 1fr;
  }
}



