/* =========================================================
   MELQUE BRAZILIAN JIU JITSU
   Sistema de estilo do site institucional
   ========================================================= */

:root{
  --ink:#1B1815;
  --charcoal:#211D1A;
  --charcoal-2:#2B2521;
  --steel:#8C7D74;
  --steel-light:#CFC6BC;
  --paper:#FAF8F4;
  --surface:#F0EBE3;
  --surface-2:#E7E0D6;
  --red:#C4342A;
  --red-dark:#9C281F;
  --white:#FFFFFF;
  --card-bg:#FDFBF8;
  --ease:cubic-bezier(0.22,0.68,0.35,1);

  --font-display:'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body:'Manrope', 'Segoe UI', sans-serif;

  --maxw:1240px;
  --gap:1.5rem;
  --radius:2px;
  --shadow-soft:0 18px 40px -22px rgba(27,24,21,0.35);
}

*,*::before,*::after{box-sizing:border-box;}

html{scroll-behavior:smooth;}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:0.001ms !important;animation-iteration-count:1 !important;transition-duration:0.001ms !important;}
}

body{
  margin:0;
  font-family:var(--font-body);
  background:var(--paper);
  color:var(--ink);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  animation:pageFadeIn 0.45s var(--ease) both;
  padding-bottom:64px;
}
@media(min-width:980px){body{padding-bottom:0;}}

@keyframes pageFadeIn{from{opacity:0;}to{opacity:1;}}
body.is-leaving{transition:opacity 0.18s ease;opacity:0;}

img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4{margin:0;font-family:var(--font-display);font-weight:400;letter-spacing:0.02em;line-height:1.02;}
p{margin:0 0 1rem;max-width:62ch;}

.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 1.5rem;}
@media(min-width:900px){.container{padding:0 2.5rem;}}

/* ---------- Botões ---------- */

.btn{
  display:inline-flex;align-items:center;gap:0.6rem;
  padding:0.95rem 1.9rem;font-family:var(--font-body);font-weight:700;font-size:0.95rem;
  border-radius:var(--radius);border:1px solid transparent;cursor:pointer;
  transition:background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space:nowrap;
}
.btn:hover{transform:translateY(-1px) scale(1.015);}
.btn:active{transform:translateY(0) scale(0.99);}
.btn:focus-visible{outline:2px solid var(--red);outline-offset:2px;}
.btn-primary{background:var(--red);color:var(--white);}
.btn-primary:hover{background:var(--red-dark);box-shadow:0 10px 24px -12px rgba(196,52,42,0.55);}
.btn-dark{background:var(--charcoal);color:var(--white);}
.btn-dark:hover{background:var(--ink);}
.btn-outline{background:transparent;border-color:currentColor;color:var(--ink);}
.btn-outline:hover{background:var(--ink);color:var(--white);}
.btn-outline-light{background:transparent;border-color:rgba(255,255,255,0.55);color:var(--white);}
.btn-outline-light:hover{background:var(--white);color:var(--charcoal);border-color:var(--white);}
.btn-block{width:100%;justify-content:center;}

/* ---------- Cabeçalho ---------- */

.site-header{
  position:fixed;top:0;left:0;right:0;z-index:200;
  padding:1.1rem 0;
  transition:background-color 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.site-header.is-solid{background:var(--charcoal);padding:0.7rem 0;box-shadow:0 6px 24px -12px rgba(0,0,0,0.4);}

.header-row{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;}

.brand{display:flex;align-items:center;gap:0.7rem;color:var(--white);flex:1 1 auto;min-width:0;}
.brand img{width:44px;height:44px;border-radius:50%;flex-shrink:0;}
.brand-name{
  font-family:var(--font-display);font-size:1.25rem;letter-spacing:0.04em;line-height:1;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.brand-name small{
  display:block;font-family:var(--font-body);font-size:0.6rem;letter-spacing:0.18em;
  color:var(--steel-light);font-weight:600;margin-top:0.2rem;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}

@media(max-width:420px){
  .brand-name{font-size:1.05rem;}
  .brand-name small{display:none;}
  .brand img{width:38px;height:38px;}
}

.nav-desktop{display:none;}
@media(min-width:980px){
  .nav-desktop{display:flex;align-items:center;gap:2.1rem;}
  .nav-desktop a{color:var(--white);font-size:0.92rem;font-weight:600;position:relative;padding:0.3rem 0;}
  .nav-desktop a::after{
    content:"";position:absolute;left:0;bottom:-2px;width:0;height:2px;background:var(--red);
    transition:width 0.25s ease;
  }
  .nav-desktop a:hover::after,.nav-desktop a.is-active::after{width:100%;}
}

.nav-actions{display:flex;align-items:center;gap:0.9rem;flex-shrink:0;}

.header-cta{display:none;}
@media(min-width:980px){.header-cta{display:inline-flex;}}

.menu-toggle{
  display:flex;flex-direction:column;justify-content:center;gap:5px;
  width:42px;height:42px;border:1px solid rgba(255,255,255,0.3);background:transparent;
  border-radius:50%;cursor:pointer;
}
@media(min-width:980px){.menu-toggle{display:none;}}
.menu-toggle span{width:18px;height:2px;background:var(--white);margin:0 auto;transition:transform 0.25s ease, opacity 0.25s ease;}
.menu-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.menu-toggle.is-open span:nth-child(2){opacity:0;}
.menu-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.nav-mobile{
  position:fixed;inset:0;background:var(--charcoal);z-index:210;
  display:flex;flex-direction:column;justify-content:flex-start;
  padding:6.5rem 2rem 2rem;overflow-y:auto;
  transform:translateY(-100%);transition:transform 0.35s ease;
}
.nav-mobile.is-open{transform:translateY(0);}
.nav-mobile ul{display:flex;flex-direction:column;gap:1.1rem;}
.nav-mobile a{color:var(--white);font-family:var(--font-display);font-size:2rem;letter-spacing:0.02em;}
.nav-mobile .nav-mobile-foot{margin-top:2.5rem;display:flex;flex-direction:column;gap:0.9rem;}
.nav-mobile .nav-mobile-foot a{font-family:var(--font-body);font-size:0.95rem;color:var(--steel-light);}

/* ---------- Hero grande (home) ---------- */

.hero{position:relative;min-height:100vh;display:flex;align-items:flex-end;background:var(--charcoal);overflow:hidden;}
.hero img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%;
  animation:heroZoom 18s var(--ease) infinite alternate;will-change:transform;
}
@keyframes heroZoom{from{transform:scale(1);}to{transform:scale(1.06);}}
.hero::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(19,17,15,0.35) 0%, rgba(19,17,15,0.35) 35%, rgba(15,13,11,0.92) 100%);
}
.hero-content{position:relative;z-index:2;width:100%;padding:9rem 0 4.5rem;color:var(--white);}
.hero-eyebrow{
  display:inline-flex;align-items:center;gap:0.4rem;
  font-size:0.78rem;font-weight:700;letter-spacing:0.1em;color:var(--white);
  background:var(--red);padding:0.35rem 0.8rem;margin-bottom:1.4rem;border-radius:1px;
  opacity:0;animation:riseIn 0.7s ease 0.15s forwards;
}
.hero-eyebrow .sub{font-weight:500;letter-spacing:0.03em;color:rgba(255,255,255,0.85);}
.hero h1{font-size:clamp(2.6rem,7vw,5.4rem);max-width:16ch;opacity:0;animation:riseIn 0.8s ease 0.32s forwards;}
.hero .hero-sub{margin-top:1.3rem;font-size:1.08rem;max-width:46ch;color:#EDE8E1;opacity:0;animation:riseIn 0.8s ease 0.5s forwards;}
.hero-actions{margin-top:2.1rem;display:flex;flex-wrap:wrap;gap:0.9rem;opacity:0;animation:riseIn 0.8s ease 0.68s forwards;}
.hero-meta{
  margin-top:2.6rem;display:flex;flex-wrap:wrap;gap:1.8rem 2.4rem;padding-top:1.8rem;
  border-top:1px solid rgba(255,255,255,0.18);opacity:0;animation:riseIn 0.8s ease 0.85s forwards;
}
.hero-meta div{font-size:0.85rem;color:var(--steel-light);}
.hero-meta strong{display:block;color:var(--white);font-size:0.98rem;font-weight:700;margin-bottom:0.2rem;}

@keyframes riseIn{from{opacity:0;transform:translateY(18px);}to{opacity:1;transform:translateY(0);}}

/* ---------- Hero pequeno (páginas internas) ---------- */

.page-hero{position:relative;min-height:52vh;display:flex;align-items:flex-end;background:var(--charcoal);overflow:hidden;}
.page-hero img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  animation:heroZoom 20s var(--ease) infinite alternate;will-change:transform;
}
.page-hero::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(19,17,15,0.45) 10%, rgba(15,13,11,0.94) 100%);
}
.page-hero-content{position:relative;z-index:2;padding:8.5rem 0 3.2rem;color:var(--white);}
.page-kicker{font-size:0.78rem;font-weight:700;letter-spacing:0.18em;color:var(--red);margin-bottom:0.9rem;}
.page-hero h1{font-size:clamp(2.3rem,5.2vw,3.6rem);max-width:22ch;}
.page-hero p{color:#EDE8E1;margin-top:1rem;max-width:52ch;font-size:1.02rem;}

/* ---------- Seções ---------- */

section{padding:5.5rem 0;}
@media(min-width:900px){section{padding:7.5rem 0;}}
.section-alt{background:var(--surface);}
.section-dark{background:var(--charcoal);color:var(--white);}
.section-dark p{color:#D9D2C8;}

.eyebrow{font-size:0.78rem;font-weight:700;letter-spacing:0.16em;color:var(--red);margin-bottom:0.9rem;display:block;}
.section-title{font-size:clamp(2rem,3.6vw,3rem);max-width:18ch;margin-bottom:1.1rem;}
.section-lead{font-size:1.08rem;color:var(--steel);max-width:56ch;}
.section-dark .section-lead{color:var(--steel-light);}
.section-head{margin-bottom:3rem;}
.section-head.with-cta{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:1.5rem;}

/* ---------- Grids ---------- */

.grid{display:grid;gap:var(--gap);}
.grid-2{grid-template-columns:1fr;}
.grid-3{grid-template-columns:1fr;}
.grid-4{grid-template-columns:1fr;}
@media(min-width:700px){
  .grid-2{grid-template-columns:1fr 1fr;}
  .grid-3{grid-template-columns:repeat(2,1fr);}
  .grid-4{grid-template-columns:repeat(2,1fr);}
}
@media(min-width:1024px){
  .grid-3{grid-template-columns:repeat(3,1fr);}
  .grid-4{grid-template-columns:repeat(4,1fr);}
}
.grid-auto{display:grid;gap:var(--gap);grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));}

/* ---------- Sobre / composição editorial ---------- */

.about-media{position:relative;border-radius:var(--radius);overflow:hidden;}
.about-media img{width:100%;height:100%;object-fit:cover;transition:transform 0.6s var(--ease);}
.about-media:hover img{transform:scale(1.035);}

.pull-quote{
  font-family:var(--font-display);font-size:clamp(1.6rem,3vw,2.5rem);line-height:1.25;max-width:22ch;
  color:var(--ink);border-left:4px solid var(--red);padding-left:1.6rem;margin:0;
}
.section-dark .pull-quote{color:var(--white);}

/* ---------- Faixa de valores (Disciplina / Respeito / Evolução...) ---------- */

.values-strip{
  display:flex;flex-wrap:wrap;gap:0.9rem 2rem;align-items:center;
  padding-top:1.6rem;margin-top:1.8rem;border-top:1px solid var(--surface-2);
}
.section-dark .values-strip{border-top-color:rgba(255,255,255,0.14);}
.values-strip span{
  font-family:var(--font-display);font-size:1.05rem;letter-spacing:0.05em;color:var(--red);
}
.values-strip span::after{content:"";}
.values-strip span:not(:last-child)::after{content:"·";color:var(--steel);margin-left:2rem;font-family:var(--font-body);}

/* ---------- Cards de benefícios / valores ---------- */

.value-card{background:var(--card-bg);padding:2rem 1.8rem;border-radius:var(--radius);border:1px solid var(--surface-2);transition:transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);}
.value-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-soft);border-color:var(--steel-light);}
.value-card h3{font-family:var(--font-body);font-weight:800;font-size:1.08rem;margin-bottom:0.6rem;}
.value-card p{font-size:0.94rem;color:var(--steel);margin-bottom:0;}
.value-num{font-family:var(--font-display);font-size:1rem;color:var(--red);margin-bottom:0.9rem;letter-spacing:0.05em;}
.value-card .btn{white-space:normal;width:100%;justify-content:center;text-align:center;}

/* ---------- Turmas ---------- */

.class-card{background:var(--card-bg);border:1px solid var(--surface-2);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:transform 0.3s var(--ease), box-shadow 0.3s var(--ease);}
.class-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-soft);}
.class-card .class-media{aspect-ratio:4/3;overflow:hidden;}
.class-card .class-media img{width:100%;height:100%;object-fit:cover;transition:transform 0.5s var(--ease);}
.class-card:hover .class-media img{transform:scale(1.05);}
.class-body{padding:1.6rem 1.7rem 1.9rem;flex:1;display:flex;flex-direction:column;}
.class-body h3{font-family:var(--font-body);font-weight:800;font-size:1.15rem;margin-bottom:0.3rem;}
.class-age{font-size:0.78rem;font-weight:700;color:var(--red);letter-spacing:0.03em;margin-bottom:0.7rem;display:block;}
.class-body p{font-size:0.94rem;color:var(--steel);flex:1;}
.class-tags{display:flex;flex-wrap:wrap;gap:0.5rem;margin-bottom:0.9rem;}
.class-tag{font-size:0.74rem;font-weight:700;letter-spacing:0.04em;padding:0.3rem 0.65rem;background:var(--surface);color:var(--ink);border-radius:2px;}

.table-scroll{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
.schedule-table{width:100%;border-collapse:collapse;margin-top:1rem;}
.schedule-table th,.schedule-table td{text-align:left;padding:0.95rem 1.1rem;border-bottom:1px solid var(--surface-2);font-size:0.94rem;}
.schedule-table th{font-family:var(--font-body);font-weight:800;font-size:0.78rem;letter-spacing:0.06em;color:var(--steel);text-transform:uppercase;}
.schedule-table tr:last-child td{border-bottom:none;}
.schedule-table td strong{display:block;font-size:0.78rem;color:var(--red);font-weight:800;margin-bottom:0.15rem;}

.promo-banner{
  background:var(--red);color:var(--white);border-radius:var(--radius);padding:2rem 2rem;
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.4rem;margin-top:3rem;
}
.promo-banner h3{font-family:var(--font-display);font-size:1.6rem;margin-bottom:0.3rem;}
.promo-banner p{color:rgba(255,255,255,0.9);margin-bottom:0;max-width:44ch;}

/* ---------- Galeria ---------- */

.gallery-filters{display:flex;flex-wrap:wrap;gap:0.6rem;margin-bottom:2.2rem;}
.gallery-filter{
  padding:0.55rem 1.1rem;border-radius:20px;border:1px solid var(--surface-2);background:var(--card-bg);
  font-size:0.85rem;font-weight:700;cursor:pointer;color:var(--ink);
  transition:background-color 0.2s ease,color 0.2s ease,border-color 0.2s ease;
}
.gallery-filter.is-active,.gallery-filter:hover{background:var(--ink);color:var(--white);border-color:var(--ink);}

.gallery-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0.8rem;}
@media(min-width:700px){.gallery-grid{grid-template-columns:repeat(3,1fr);}}
@media(min-width:1100px){.gallery-grid{grid-template-columns:repeat(4,1fr);}}

.gallery-item{position:relative;overflow:hidden;border-radius:var(--radius);cursor:pointer;background:var(--surface-2);transition:opacity 0.22s var(--ease), transform 0.22s var(--ease);}
.gallery-item.is-fading{opacity:0;transform:scale(0.96);}
.gallery-item.is-hidden{display:none;}
.gallery-item img{width:100%;height:100%;object-fit:cover;aspect-ratio:1/1;transition:transform 0.5s var(--ease);}
.gallery-item:hover img{transform:scale(1.06);}
.gallery-item .gallery-cap{
  position:absolute;left:0;right:0;bottom:0;padding:0.7rem 0.8rem;
  font-size:0.75rem;font-weight:700;letter-spacing:0.03em;color:var(--white);
  background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
}

.lightbox{
  position:fixed;inset:0;background:rgba(15,13,11,0.94);display:flex;align-items:center;justify-content:center;
  z-index:400;padding:2rem;opacity:0;pointer-events:none;transition:opacity 0.25s ease;
}
.lightbox.is-open{opacity:1;pointer-events:auto;}
.lightbox img{max-width:min(94vw,900px);max-height:82vh;object-fit:contain;border-radius:2px;transition:opacity 0.2s ease;}
.lightbox-close{
  position:absolute;top:1.5rem;right:1.5rem;width:44px;height:44px;border-radius:50%;
  border:1px solid rgba(255,255,255,0.4);background:transparent;color:var(--white);font-size:1.3rem;cursor:pointer;
  transition:background-color 0.2s ease, transform 0.2s ease;
}
.lightbox-close:hover{background:rgba(255,255,255,0.12);transform:scale(1.05);}
.lightbox-nav{
  position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;
  border:1px solid rgba(255,255,255,0.35);background:rgba(0,0,0,0.25);color:var(--white);font-size:1.4rem;cursor:pointer;
  display:flex;align-items:center;justify-content:center;transition:background-color 0.2s ease, transform 0.2s ease;
}
.lightbox-nav:hover{background:rgba(255,255,255,0.16);}
.lightbox-nav.prev{left:1.2rem;}
.lightbox-nav.next{right:1.2rem;}
.lightbox-counter{position:absolute;bottom:1.4rem;left:50%;transform:translateX(-50%);color:var(--steel-light);font-size:0.82rem;letter-spacing:0.05em;}

/* ---------- Parceiros ---------- */

.sponsor-highlight{
  display:flex;flex-wrap:wrap;align-items:center;gap:2.2rem;background:var(--card-bg);
  border:1px solid var(--surface-2);border-radius:var(--radius);padding:2.4rem;
}
.sponsor-highlight .sponsor-mark{font-family:var(--font-display);font-size:2.6rem;letter-spacing:0.03em;color:var(--ink);}
.sponsor-tier{font-size:0.78rem;font-weight:700;letter-spacing:0.14em;color:var(--red);margin-bottom:0.5rem;display:block;}

.sponsor-grid{display:grid;gap:1.2rem;grid-template-columns:repeat(2,1fr);}
@media(min-width:640px){.sponsor-grid{grid-template-columns:repeat(3,1fr);}}
@media(min-width:1024px){.sponsor-grid{grid-template-columns:repeat(6,1fr);}}

.sponsor-tile{
  background:var(--card-bg);border:1px solid var(--surface-2);border-radius:var(--radius);
  padding:1.3rem 1rem;display:flex;flex-direction:column;align-items:center;gap:0.8rem;text-align:center;
  transition:transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.sponsor-tile:hover{transform:translateY(-3px);box-shadow:var(--shadow-soft);border-color:var(--steel-light);}
.sponsor-tile .sponsor-logo-frame{
  width:84px;height:84px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;
  background:var(--surface);
}
.sponsor-tile .sponsor-logo-frame img{width:100%;height:100%;object-fit:contain;}
.sponsor-tile span{font-size:0.78rem;font-weight:700;color:var(--ink);line-height:1.3;}

.sponsor-slot{
  border:1px dashed var(--surface-2);border-radius:var(--radius);padding:2rem;text-align:center;color:var(--steel);
  font-size:0.88rem;display:flex;align-items:center;justify-content:center;min-height:120px;
}

/* ---------- Emblema alternativo ---------- */

.emblem-frame{
  display:inline-block;border-radius:50%;overflow:hidden;box-shadow:var(--shadow-soft);
  border:1px solid var(--surface-2);
}
.emblem-frame img{display:block;width:100%;height:100%;object-fit:cover;}

/* ---------- Área do aluno ---------- */

.step-list{counter-reset:step;display:flex;flex-direction:column;gap:1.4rem;}
.step-item{display:flex;gap:1.2rem;background:var(--card-bg);border:1px solid var(--surface-2);border-radius:var(--radius);padding:1.5rem 1.6rem;transition:transform 0.3s var(--ease), box-shadow 0.3s var(--ease);}
.step-item:hover{transform:translateY(-3px);box-shadow:var(--shadow-soft);}
.step-num{counter-increment:step;font-family:var(--font-display);font-size:1.6rem;color:var(--red);min-width:2.2rem;}
.step-num::before{content:counter(step, decimal-leading-zero);}
.step-item h3{font-family:var(--font-body);font-weight:800;font-size:1.02rem;margin-bottom:0.35rem;}
.step-item p{font-size:0.93rem;color:var(--steel);margin-bottom:0;}

/* ---------- FAQ ---------- */

.faq-item{border-bottom:1px solid var(--surface-2);}
.faq-question{
  width:100%;text-align:left;background:none;border:none;cursor:pointer;
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:1.4rem 0;font-family:var(--font-body);font-weight:700;font-size:1.02rem;color:var(--ink);
}
.faq-question .plus{font-family:var(--font-display);font-size:1.4rem;color:var(--red);transition:transform 0.25s ease;}
.faq-item.is-open .plus{transform:rotate(45deg);}
.faq-answer{max-height:0;overflow:hidden;transition:max-height 0.3s ease;}
.faq-answer p{padding-bottom:1.3rem;color:var(--steel);margin-bottom:0;}

/* ---------- Contato ---------- */

.contact-card{background:var(--card-bg);border:1px solid var(--surface-2);border-radius:var(--radius);padding:1.8rem;display:flex;flex-direction:column;gap:0.6rem;transition:transform 0.3s var(--ease), box-shadow 0.3s var(--ease);}
.contact-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-soft);}
.contact-card .eyebrow{margin-bottom:0.3rem;}
.contact-card a{font-weight:700;}
.map-frame{border:0;width:100%;height:380px;border-radius:var(--radius);filter:grayscale(0.25) contrast(1.05);}

/* ---------- CTA final ---------- */

.final-cta{position:relative;background:var(--charcoal);color:var(--white);overflow:hidden;text-align:left;}
.final-cta img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0.28;}
.final-cta::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg, rgba(15,13,11,0.96) 25%, rgba(15,13,11,0.55) 100%);}
.final-cta-inner{position:relative;z-index:2;max-width:640px;}
.final-cta h2{font-size:clamp(2rem,4.4vw,3.4rem);margin-bottom:1rem;}
.final-cta-actions{display:flex;flex-wrap:wrap;gap:0.9rem;margin-top:1.8rem;}

/* ---------- Rodapé ---------- */

.site-footer{background:var(--charcoal-2);color:var(--steel-light);padding:4.5rem 0 2rem;}
.footer-grid{display:grid;gap:2.6rem;grid-template-columns:1fr;}
@media(min-width:800px){.footer-grid{grid-template-columns:1.4fr 1fr 1fr 1fr;}}
.footer-brand{display:flex;align-items:center;gap:0.7rem;margin-bottom:1rem;}
.footer-brand img{width:40px;height:40px;border-radius:50%;}
.footer-brand span{font-family:var(--font-display);font-size:1.15rem;color:var(--white);letter-spacing:0.03em;}
.site-footer h4{font-family:var(--font-body);font-weight:800;font-size:0.82rem;letter-spacing:0.08em;color:var(--white);margin-bottom:1.1rem;text-transform:uppercase;}
.site-footer ul{display:flex;flex-direction:column;gap:0.7rem;}
.site-footer a{font-size:0.92rem;}
.site-footer a:hover{color:var(--white);}
.footer-bottom{margin-top:3.5rem;padding-top:1.8rem;border-top:1px solid rgba(255,255,255,0.1);display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;font-size:0.82rem;}

/* ---------- CTA fixo mobile ---------- */

.mobile-cta{
  position:fixed;left:0;right:0;bottom:0;z-index:150;background:var(--red);padding:0.85rem 1.2rem;
  display:flex;align-items:center;justify-content:center;gap:0.6rem;color:var(--white);font-weight:800;font-size:0.95rem;
  box-shadow:0 -8px 24px -12px rgba(0,0,0,0.4);
}
@media(min-width:980px){.mobile-cta{display:none;}}

/* ---------- Reveal ao rolar ---------- */

[data-reveal]{
  opacity:0;transform:translateY(16px);
  transition:opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay:var(--reveal-delay, 0ms);
}
[data-reveal].is-visible{opacity:1;transform:translateY(0);}

/* Sublinhado animado para links de texto corrido */
main a:not(.btn):not(.nav-desktop a):not(.gallery-filter):not(.faq-question){
  background-image:linear-gradient(currentColor,currentColor);background-position:0 100%;
  background-size:0% 1px;background-repeat:no-repeat;transition:background-size 0.3s var(--ease);
}
main a:not(.btn):not(.nav-desktop a):not(.gallery-filter):not(.faq-question):hover{background-size:100% 1px;}

a:focus-visible,button:focus-visible{outline:2px solid var(--red);outline-offset:2px;}

/* ---------- utilidades ---------- */

.text-center{text-align:center;margin-left:auto;margin-right:auto;}
.mt-lg{margin-top:3rem;}
.small-note{font-size:0.82rem;color:var(--steel);}
.badge-soft{display:inline-block;background:var(--surface);color:var(--ink);padding:0.3rem 0.7rem;font-size:0.76rem;font-weight:700;border-radius:20px;letter-spacing:0.03em;}
