:root {
  --blue-950: #071f35;
  --blue-900: #0a2f4f;
  --blue-800: #0b3b63;
  --blue-700: #0f4f82;
  --blue-600: #1769a8;
  --blue-500: #2488c7;
  --cyan-500: #00a8c8;
  --cyan-400: #25bddd;
  --sky-100: #eaf5fb;
  --sky-50: #f5fbfe;
  --white: #ffffff;
  --ink: #152435;
  --muted: #66778b;
  --line: rgba(14, 69, 111, 0.12);
  --shadow-sm: 0 12px 35px rgba(6, 43, 73, 0.08);
  --shadow-md: 0 22px 60px rgba(6, 43, 73, 0.13);
  --shadow-lg: 0 35px 90px rgba(5, 35, 60, 0.2);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 34px;

  --nav-height: 102px;
  --nav-height-scrolled: 76px;
  --logo-width: 202px;
  --logo-width-scrolled: 150px;
  --logo-drop: 64px;
  --logo-drop-scrolled: 12px;

  --ease: cubic-bezier(.22, 1, .36, 1);

  /* Imagens dos slides */
  --slide-1-image: url('img/slide-1.jpg');
  --slide-2-image: url('img/slide-2.jpg');
  --slide-3-image: url('img/slide-3.jpg');
  --slide-4-image: url('img/slide-4.jpg');
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
margin: 0;
font-family: "Manrope", sans-serif;
color: var(--ink);
background: var(--white);
line-height: 1.7;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
section { position: relative; padding: 112px 0; }

.container {
width: min(1180px, calc(100% - 40px));
margin-inline: auto;
}

.eyebrow {
display: inline-flex;
align-items: center;
gap: 10px;
margin-bottom: 16px;
color: var(--blue-600);
font-size: .78rem;
font-weight: 800;
letter-spacing: .16em;
text-transform: uppercase;
}

.eyebrow::before {
content: "";
width: 28px;
height: 2px;
background: linear-gradient(90deg, var(--cyan-500), var(--blue-600));
border-radius: 99px;
}

.section-heading {
max-width: 760px;
margin: 0 auto 58px;
text-align: center;
}

.section-heading .eyebrow { justify-content: center; }
.section-heading .eyebrow::before { display: none; }

h1, h2, h3, h4, p { margin-top: 0; }

h1, h2 {
font-family: "DM Serif Display", serif;
font-weight: 400;
letter-spacing: -.025em;
}

h2 {
margin-bottom: 18px;
color: var(--blue-950);
font-size: clamp(2.25rem, 5vw, 3.65rem);
line-height: 1.08;
}

.section-heading p {
max-width: 680px;
margin: 0 auto;
color: var(--muted);
font-size: 1.04rem;
}

.btn {
min-height: 52px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
padding: 14px 24px;
border: 1px solid transparent;
border-radius: 999px;
text-decoration: none;
font-size: .9rem;
font-weight: 800;
letter-spacing: .02em;
transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s ease, color .35s ease, border-color .35s ease;
}

.btn:hover { transform: translateY(-3px); }
.btn:focus-visible { outline: 3px solid rgba(37, 189, 221, .35); outline-offset: 3px; }

.btn-primary {
color: var(--white);
background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
box-shadow: 0 14px 30px rgba(17, 102, 157, .25);
}

.btn-primary:hover { box-shadow: 0 18px 40px rgba(17, 102, 157, .34); }

.btn-secondary {
color: var(--white);
border-color: rgba(255,255,255,.4);
background: rgba(255,255,255,.09);
backdrop-filter: blur(10px);
}

.btn-secondary:hover {
color: var(--blue-900);
border-color: var(--white);
background: var(--white);
}

.btn-light {
color: var(--blue-800);
background: var(--white);
box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

/* NAVBAR */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--nav-height);
  overflow: visible;
  border-bottom: 1px solid transparent;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px) saturate(150%);
  transition: height .4s var(--ease), box-shadow .4s ease, border-color .4s ease, background .4s ease;
}

.site-header.scrolled {
  height: var(--nav-height-scrolled);
  border-color: var(--line);
  background: rgba(255,255,255,.95);
  box-shadow: 0 12px 35px rgba(5, 44, 75, .08);
}

.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: visible;
}

.brand {
  width: 230px;
  height: calc(var(--nav-height) + var(--logo-drop));
  flex: 0 0 auto;
  align-self: flex-start;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px 12px;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(5, 44, 75, .12);
  text-decoration: none;
  transition:
    width .4s var(--ease),
    height .4s var(--ease),
    padding .4s var(--ease),
    box-shadow .4s ease,
    border-radius .4s ease;
}

.brand img {
  width: var(--logo-width);
  height: 142px;
  max-height: 142px;
  margin: 0;
  object-fit: contain;
  object-position: center;
  transition: width .4s var(--ease), height .4s var(--ease);
}

.site-header.scrolled .brand {
  width: 184px;
  height: calc(var(--nav-height-scrolled) + var(--logo-drop-scrolled));
  padding: 5px 12px 7px;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 8px 24px rgba(5, 44, 75, .10);
}

.site-header.scrolled .brand img {
  width: var(--logo-width-scrolled);
  height: 72px;
  max-height: 72px;
}

.desktop-nav {
display: flex;
align-items: center;
gap: 40px;
margin-left: auto;
}

.desktop-nav ul {
display: flex;
align-items: center;
gap: 37px;
margin: 0;
padding: 0;
list-style: none;
}

.desktop-nav a:not(.btn) {
position: relative;
padding: 8px 0;
color: #31465a;
text-decoration: none;
font-size: .82rem;
font-weight: 800;
letter-spacing: .06em;
text-transform: uppercase;
transition: color .3s ease;
}

.desktop-nav a:not(.btn)::after {
content: "";
position: absolute;
left: 50%;
bottom: 1px;
width: 0;
height: 2px;
border-radius: 99px;
background: linear-gradient(90deg, var(--blue-600), var(--cyan-500));
transform: translateX(-50%);
transition: width .35s var(--ease);
}

.desktop-nav a:not(.btn):hover,
.desktop-nav a:not(.btn).active { color: var(--blue-700); }

.desktop-nav a:not(.btn):hover::after,
.desktop-nav a:not(.btn).active::after { width: 100%; }

.menu-toggle {
width: 46px;
height: 46px;
display: none;
place-items: center;
border: 1px solid var(--line);
border-radius: 50%;
color: var(--blue-900);
background: var(--white);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
width: 20px;
height: 2px;
display: block;
position: relative;
border-radius: 99px;
background: currentColor;
transition: transform .35s var(--ease), opacity .25s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
content: "";
position: absolute;
left: 0;
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.mobile-panel {
position: fixed;
inset: var(--nav-height) 0 auto;
z-index: 999;
max-height: 0;
overflow: hidden;
background: rgba(255,255,255,.98);
box-shadow: 0 22px 50px rgba(6, 42, 70, .12);
transition: max-height .5s var(--ease);
}

.site-header.scrolled + .mobile-panel {
  inset-block-start: var(--nav-height-scrolled);
}
.mobile-panel.open { max-height: 520px; }

.mobile-panel nav {
width: min(100% - 40px, 1180px);
margin: 0 auto;
padding: 22px 0 28px;
}

.mobile-panel ul { margin: 0; padding: 0; list-style: none; }
.mobile-panel li + li { border-top: 1px solid var(--line); }

.mobile-panel a {
display: flex;
align-items: center;
justify-content: space-between;
padding: 15px 2px;
color: var(--blue-950);
text-decoration: none;
font-weight: 700;
}

.mobile-panel .btn { margin-top: 18px; color: var(--white); }

/* HERO */
.hero {
min-height: 760px;
height: min(920px, 100svh);
padding: 0;
margin-top: var(--nav-height);
overflow: hidden;
background: var(--blue-950);
}

.hero-slider, .hero-slide { position: absolute; inset: 0; }

.hero-slide {
display: grid;
align-items: center;
opacity: 0;
visibility: hidden;
transition: opacity 1.2s ease, visibility 1.2s ease;
}

.hero-slide.active { opacity: 1; visibility: visible; }

.hero-media {
position: absolute;
inset: 0;
background-image: var(--bg);
background-size: cover;
background-position: center;
transform: scale(1.07);
transition: transform 8s linear;
}

.hero-slide.active .hero-media { transform: scale(1.01); }

.hero-slide::after {
content: "";
position: absolute;
inset: 0;
background:
linear-gradient(90deg, rgba(3, 26, 45, .88) 0%, rgba(7, 50, 82, .76) 44%, rgba(8, 58, 94, .3) 72%, rgba(8, 58, 94, .16) 100%),
linear-gradient(180deg, rgba(0,0,0,.08), rgba(1,18,31,.34));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 680px) 1fr;
  align-items: center;
  min-height: 100%;
  padding-block: 210px 78px;
}

.hero-copy {
  width: 100%;
  max-width: 680px;
  margin: 0;
  padding: 0;
  color: var(--white);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s .2s ease, transform .9s .2s var(--ease);
}

.hero-slide.active .hero-copy { opacity: 1; transform: translateY(0); }

.hero-kicker {
display: inline-flex;
align-items: center;
gap: 10px;
margin-bottom: 20px;
padding: 8px 14px;
border: 1px solid rgba(255,255,255,.28);
border-radius: 999px;
background: rgba(255,255,255,.08);
backdrop-filter: blur(10px);
font-size: .74rem;
font-weight: 800;
letter-spacing: .14em;
text-transform: uppercase;
}

.hero-kicker i { color: var(--cyan-400); }

.hero h1 {
  width: 100%;
  max-width: 660px;
  margin: 0 0 26px;
  color: var(--white);
  font-family: "DM Serif Display", serif;
  font-size: clamp(3rem, 3.25vw, 3.45rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-align: left;
  text-wrap: normal;
  text-shadow: 0 14px 38px rgba(0,0,0,.2);
}

.hero h1 span {
color: var(--white);          /* remove o degradê ciano, fica branco puro */
background: none;
-webkit-background-clip: unset;
background-clip: unset;
}

.hero-copy > p {
  width: 100%;
  max-width: 650px;
  margin: 0 0 32px;
  color: rgba(255,255,255,.92);
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-controls {
position: absolute;
z-index: 5;
left: 50%;
bottom: 38px;
width: min(1180px, calc(100% - 40px));
display: flex;
align-items: center;
justify-content: space-between;
transform: translateX(-50%);
}

.hero-arrows { display: flex; gap: 10px; }

.hero-arrow {
width: 48px;
height: 48px;
display: grid;
place-items: center;
border: 1px solid rgba(255,255,255,.28);
border-radius: 50%;
color: var(--white);
background: rgba(255,255,255,.08);
backdrop-filter: blur(10px);
transition: transform .3s var(--ease), background .3s ease;
}

.hero-arrow:hover { transform: translateY(-2px); background: rgba(255,255,255,.18); }

.hero-dots { display: flex; align-items: center; gap: 9px; }

.hero-dot {
width: 9px;
height: 9px;
padding: 0;
border: 0;
border-radius: 50%;
background: rgba(255,255,255,.45);
transition: width .35s var(--ease), border-radius .35s ease, background .35s ease;
}

.hero-dot.active { width: 34px; border-radius: 999px; background: var(--cyan-400); }

.hero-progress {
position: absolute;
z-index: 6;
right: 0;
bottom: 0;
left: 0;
height: 3px;
background: rgba(255,255,255,.18);
}

.hero-progress span {
display: block;
width: 0;
height: 100%;
background: linear-gradient(90deg, var(--cyan-400), var(--white));
}

.hero-progress span.running { animation: progress 7s linear forwards; }
@keyframes progress { to { width: 100%; } }

/* TRUST STRIP */
.trust-strip {
  position: relative;
  z-index: 3;
  padding: 0;
  margin-top: 0;
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: linear-gradient(
    135deg,
    var(--blue-950) 0%,
    var(--blue-800) 100%
  );
  box-shadow: 0 20px 50px rgba(5,35,60,.18);
  overflow: hidden;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 30px;
}

.trust-item + .trust-item {
  border-left: 1px solid rgba(255,255,255,.12);
}

.trust-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: rgba(255,255,255,.10);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
  font-size: 1.22rem;
}

.trust-item strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
}

.trust-item span {
  color: rgba(255,255,255,.72);
  font-size: .88rem;
}

/* =========================================================
   AJUSTE — SEÇÃO SOBRE A ULTRA-X
   ========================================================= */

#sobre {
  padding: 105px 0 115px;
}

/* organização das duas colunas */
#sobre .about-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 82px;
}

/* área da fotografia */
#sobre .about-visual {
  position: relative;
  min-height: 560px;
}

/* detalhe azul atrás da foto */
#sobre .about-visual::before {
  content: "";
  position: absolute;
  right: 25px;
  bottom: 25px;
  width: 92%;
  height: 90%;
  border-radius: 34px;
  background: linear-gradient(
    135deg,
    var(--cyan-500),
    var(--blue-700)
  );
}

/* foto principal */
#sobre .about-main-image {
  position: absolute;
  inset: 0 42px 48px 0;
  width: calc(100% - 42px);
  height: calc(100% - 48px);
  object-fit: cover;
  border-radius: 34px;
  box-shadow: 0 30px 70px rgba(5, 35, 60, .16);
}

/* card sobreposto à imagem */
#sobre .about-float-card {
  position: absolute;
  right: -10px;
  bottom: 0;
  width: min(305px, 72%);
  padding: 25px 24px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 24px;
  background: rgba(245,250,253,.96);
  box-shadow: 0 22px 55px rgba(5,35,60,.13);
  backdrop-filter: blur(12px);
}

/* título um pouco menor */
#sobre .about-copy h2 {
  max-width: 650px;
  margin-bottom: 22px;

  font-size: clamp(2.35rem, 3.1vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -.025em;
}

/* textos justificados */
#sobre .about-copy > p {
  max-width: 670px;
  margin-bottom: 20px;

  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;

  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
}

/* lista */
#sobre .about-list {
  margin: 30px 0 34px;
}

#sobre .about-list li {
  line-height: 1.65;
}


/* ==============================
   TABLET
   ============================== */

@media (max-width: 860px) {

  #sobre {
    padding: 85px 0;
  }

  #sobre .about-grid {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  #sobre .about-visual {
    min-height: 510px;
  }

  #sobre .about-copy {
    max-width: 720px;
  }

  #sobre .about-copy h2 {
    font-size: clamp(2.2rem, 6vw, 2.8rem);
  }
}


/* ==============================
   CELULAR
   ============================== */

@media (max-width: 640px) {

  #sobre {
    padding: 70px 0;
  }

  #sobre .about-grid {
    gap: 50px;
  }

  #sobre .about-visual {
    min-height: 430px;
  }

  #sobre .about-main-image {
    inset: 0 24px 42px 0;
    width: calc(100% - 24px);
    height: calc(100% - 42px);
    border-radius: 26px;
  }

  #sobre .about-visual::before {
    border-radius: 26px;
  }

  #sobre .about-float-card {
    right: 0;
    width: 80%;
    padding: 20px;
  }

  #sobre .about-copy h2 {
    font-size: 2.15rem;
    line-height: 1.1;
  }

  /* No celular é melhor não justificar */
  #sobre .about-copy > p {
    font-size: .96rem;
    line-height: 1.75;
    text-align: left;
    text-align-last: auto;
    hyphens: none;
  }
}

/* COURSES */
/* =========================================================
   CURSOS — FUNDO AZUL ESCURO
   ========================================================= */

#cursos {
  overflow: hidden;

  background:
    radial-gradient(
      circle at 10% 12%,
      rgba(37,189,221,.22),
      transparent 28%
    ),
    radial-gradient(
      circle at 91% 82%,
      rgba(23,105,168,.28),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      var(--blue-950) 0%,
      var(--blue-800) 100%
    );
}
/* Cabeçalho da seção Cursos */

#cursos .section-heading .eyebrow {
  color: #ffffff;
}

#cursos .section-heading h2 {
  color: #ffffff;
}

#cursos .section-heading p {
  color: rgba(255,255,255,.78);
}

.courses-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}

.course-card {
position: relative;
min-height: 365px;
display: flex;
flex-direction: column;
padding: 34px;
border: 1px solid rgba(12, 75, 122, .1);
border-radius: var(--radius-md);
background: rgba(255,255,255,.92);
box-shadow: var(--shadow-sm);
overflow: hidden;
transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s ease;
}

.course-card::before {
content: "";
position: absolute;
inset: 0 0 auto;
height: 4px;
background: linear-gradient(90deg, var(--blue-600), var(--cyan-500));
transform: scaleX(.28);
transform-origin: left;
transition: transform .45s var(--ease);
}

.course-card::after {
content: "";
position: absolute;
right: -65px;
bottom: -72px;
width: 180px;
height: 180px;
border-radius: 50%;
background: radial-gradient(circle, rgba(37,189,221,.14), transparent 68%);
transition: transform .45s var(--ease);
}

.course-card:hover {
transform: translateY(-10px);
border-color: rgba(0,168,200,.28);
box-shadow: var(--shadow-md);
}

.course-card:hover::before { transform: scaleX(1); }
.course-card:hover::after { transform: scale(1.18); }

.course-icon {
width: 66px;
height: 66px;
display: grid;
place-items: center;
margin-bottom: 26px;
border-radius: 20px;
color: var(--white);
background: linear-gradient(135deg, var(--blue-700), var(--cyan-500));
box-shadow: 0 14px 30px rgba(20, 108, 166, .2);
font-size: 1.65rem;
transition: transform .4s var(--ease);
}

.course-card:hover .course-icon { transform: rotate(-4deg) scale(1.05); }

.course-card h3 { margin-bottom: 13px; color: var(--blue-950); font-size: 1.28rem; line-height: 1.35; }
.course-card p { margin-bottom: 24px; color: var(--muted); }

.course-link {
position: relative;
z-index: 2;
display: inline-flex;
align-items: center;
gap: 9px;
margin-top: auto;
color: var(--blue-700);
text-decoration: none;
font-size: .88rem;
font-weight: 800;
}

.course-link i { transition: transform .3s var(--ease); }
.course-link:hover i { transform: translateX(5px); }

/* METHODOLOGY */
/* =========================================================
   METODOLOGIA — BACKGROUND FIXO COM IMAGEM
   ========================================================= */

#metodologia {
  position: relative;
  overflow: hidden;
  color: var(--white);

  background:
    linear-gradient(
      rgba(7,31,53,.82),
      rgba(11,59,99,.86)
    ),
    url("img/bg-metodologia.webp");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
#metodologia .eyebrow {
  color: #ffffff;
}
#metodologia .section-heading p {
  color: rgba(255,255,255,.78);
}
/* METHODOLOGY celular*/
@media (max-width: 860px) {
  #metodologia {
    background-attachment: scroll;
    background-position: center;
  }
}

#metodologia::before,
#metodologia::after {
content: "";
position: absolute;
border-radius: 50%;
filter: blur(2px);
pointer-events: none;
}

#metodologia::before {
width: 470px;
height: 470px;
top: -210px;
right: -120px;
background: rgba(37,189,221,.12);
}

#metodologia::after {
width: 360px;
height: 360px;
bottom: -190px;
left: -100px;
background: rgba(255,255,255,.06);
}

#metodologia h2, #metodologia .section-heading p { color: var(--white); }
#metodologia .section-heading p { opacity: .72; }
#metodologia .eyebrow { color: var(--cyan-400); }

.steps-grid {
position: relative;
z-index: 2;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 18px;
}

.step-card {
position: relative;
min-height: 275px;
padding: 30px;
border: 1px solid rgba(255,255,255,.14);
border-radius: 22px;
background: rgba(255,255,255,.075);
backdrop-filter: blur(12px);
transition: transform .4s var(--ease), background .4s ease, border-color .4s ease;
}

.step-card:hover {
transform: translateY(-8px);
border-color: rgba(142,231,246,.4);
background: rgba(255,255,255,.12);
}

.step-number {
display: inline-block;
margin-bottom: 48px;
color: rgba(255,255,255,.22);
font-family: "DM Serif Display", serif;
font-size: 3.2rem;
line-height: 1;
}

.step-card i {
position: absolute;
top: 30px;
right: 30px;
color: var(--cyan-400);
font-size: 1.45rem;
}

.step-card h3 { margin-bottom: 10px; color: var(--white); font-size: 1.12rem; }
.step-card p { margin: 0; color: rgba(255,255,255,.68); font-size: .91rem; }

/* CTA */
.cta-section { padding: 82px 0; background: var(--white); }

.cta-box {
position: relative;
display: grid;
grid-template-columns: 1.2fr auto;
align-items: center;
gap: 36px;
padding: 54px 58px;
border-radius: var(--radius-lg);
color: var(--white);
background:
linear-gradient(120deg, rgba(5,39,65,.98), rgba(15,101,159,.92)),
url('https://images.unsplash.com/photo-1538108149393-fbbd81895907?auto=format&fit=crop&w=1600&q=85') center/cover;
box-shadow: var(--shadow-lg);
overflow: hidden;
}

.cta-box::after {
content: "";
position: absolute;
width: 300px;
height: 300px;
right: -100px;
bottom: -180px;
border: 1px solid rgba(255,255,255,.22);
border-radius: 50%;
box-shadow: 0 0 0 35px rgba(255,255,255,.045), 0 0 0 70px rgba(255,255,255,.025);
}

.cta-copy { position: relative; z-index: 2; }
.cta-copy h2 { margin-bottom: 12px; color: var(--white); font-size: clamp(2rem, 4vw, 3.15rem); }
.cta-copy p { max-width: 650px; margin: 0; color: rgba(255,255,255,.75); }
.cta-box .btn { position: relative; z-index: 2; white-space: nowrap; }

/* CONTACT */
#contato { padding-top: 108px; background: linear-gradient(180deg, var(--white), var(--sky-50)); }

.contact-grid {
display: grid;
grid-template-columns: .9fr 1.1fr;
gap: 70px;
align-items: start;
}

.contact-copy h2 { margin-bottom: 18px; }
.contact-copy > p { color: var(--muted); }

.contact-list {
display: grid;
gap: 18px;
margin: 34px 0 0;
}

.contact-item {
display: flex;
gap: 17px;
padding: 20px;
border: 1px solid var(--line);
border-radius: 18px;
background: rgba(255,255,255,.72);
transition: transform .35s var(--ease), box-shadow .35s ease;
}

.contact-item:hover { transform: translateX(5px); box-shadow: var(--shadow-sm); }

.contact-item i {
width: 46px;
height: 46px;
flex: 0 0 46px;
display: grid;
place-items: center;
border-radius: 14px;
color: var(--white);
background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
}

.contact-item strong { display: block; margin-bottom: 3px; color: var(--blue-950); }
.contact-item span, .contact-item a { color: var(--muted); text-decoration: none; font-size: .92rem; }

.contact-form {
padding: 36px;
border: 1px solid var(--line);
border-radius: var(--radius-md);
background: var(--white);
box-shadow: var(--shadow-md);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }

.field label {
display: block;
margin-bottom: 8px;
color: var(--blue-950);
font-size: .82rem;
font-weight: 800;
}

.field input, .field textarea {
width: 100%;
border: 1px solid #d9e4ec;
border-radius: 14px;
color: var(--ink);
background: #fbfdfe;
outline: none;
transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.field input { min-height: 54px; padding: 0 16px; }
.field textarea { min-height: 145px; padding: 15px 16px; resize: vertical; }

.field input:focus, .field textarea:focus {
border-color: var(--cyan-500);
background: var(--white);
box-shadow: 0 0 0 4px rgba(0,168,200,.1);
}

.form-note { margin: 14px 0 0; color: var(--muted); font-size: .78rem; }

/* FOOTER */
footer {
padding: 72px 0 28px;
color: rgba(255,255,255,.66);
background: var(--blue-950);
}

.footer-grid {
display: grid;
grid-template-columns: 1.35fr .7fr .9fr;
gap: 58px;
padding-bottom: 48px;
}

.footer-brand img {
  width: 180px;
  height: auto;
  object-fit: contain;
  padding: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.18));
  margin-bottom: 18px;
}

.footer-brand p { max-width: 430px; margin: 18px 0 0; }
footer h3 { margin-bottom: 18px; color: var(--white); font-size: 1rem; }
footer ul { margin: 0; padding: 0; list-style: none; }
footer li + li { margin-top: 10px; }
footer a { color: rgba(255,255,255,.66); text-decoration: none; transition: color .3s ease; }
footer a:hover { color: var(--cyan-400); }

.socials { display: flex; flex-wrap: wrap; gap: 10px; }

.socials a {
width: 42px;
height: 42px;
display: grid;
place-items: center;
border: 1px solid rgba(255,255,255,.13);
border-radius: 50%;
transition: transform .3s var(--ease), background .3s ease, border-color .3s ease;
}

.socials a:hover {
transform: translateY(-4px);
border-color: var(--cyan-500);
color: var(--white);
background: var(--cyan-500);
}

.footer-bottom {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
padding-top: 25px;
border-top: 1px solid rgba(255,255,255,.1);
font-size: .82rem;
}
/* =========================================================
   RODAPÉ COM BACKGROUND DE ULTRASSONOGRAFIA
   ========================================================= */

footer {
  position: relative;
  overflow: hidden;

  padding: 72px 0 28px;

  color: rgba(255,255,255,.72);

  background:
  linear-gradient(
    rgba(7,31,53,.76),
    rgba(7,31,53,.82)
  ),
    url("img/bg-footer.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Mantém o conteúdo acima do background */
footer .container {
  position: relative;
  z-index: 2;
}

/* FLOATING WHATSAPP */
.whatsapp-float {
position: fixed;
z-index: 950;
right: 24px;
bottom: 24px;
width: 58px;
height: 58px;
display: grid;
place-items: center;
border-radius: 50%;
color: var(--white);
background: #25d366;
box-shadow: 0 16px 34px rgba(37, 211, 102, .32);
text-decoration: none;
font-size: 1.55rem;
transition: transform .35s var(--ease), box-shadow .35s ease;
}

.whatsapp-float:hover { transform: translateY(-5px) scale(1.03); box-shadow: 0 22px 42px rgba(37,211,102,.4); }

/* REVEAL */
.reveal {
opacity: 0;
transform: translateY(30px);
transition: opacity .8s ease, transform .9s var(--ease);
will-change: opacity, transform;
}

.reveal.from-left { transform: translateX(-38px); }
.reveal.from-right { transform: translateX(38px); }
.reveal.visible { opacity: 1; transform: translate(0, 0); }

.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }

/* RESPONSIVE */
@media (max-width: 1060px) {
.desktop-nav ul { gap: 18px; }
.desktop-nav .btn { display: none; }
.courses-grid { grid-template-columns: repeat(2, 1fr); }
.steps-grid { grid-template-columns: repeat(2, 1fr); }
.about-grid, .contact-grid { gap: 48px; }
}

@media (max-width: 860px) {
  :root {
    --nav-height: 98px;
    --nav-height-scrolled: 82px;
    --logo-width: 160px;
    --logo-width-scrolled: 142px;
  }

  section { padding: 88px 0; }

  .site-header.scrolled {
    height: var(--nav-height-scrolled);
  }

  .nav-shell {
    align-items: center;
    padding-block: 5px;
  }

  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }

  .brand,
  .site-header.scrolled .brand {
    width: auto;
    height: auto;
    align-self: center;
    padding: 0;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .brand img {
    width: var(--logo-width);
    height: 78px;
    max-height: calc(var(--nav-height) - 12px);
    margin: 0;
    object-position: center;
  }

  .site-header.scrolled .brand img {
    width: var(--logo-width-scrolled);
    height: 66px;
    max-height: calc(var(--nav-height-scrolled) - 8px);
  }

  .hero {
    min-height: 690px;
    height: min(820px, 100svh);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 70px 130px;
  }

  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { min-height: 520px; }
  .about-copy { max-width: 720px; }
  .cta-box { grid-template-columns: 1fr; padding: 46px 38px; }
  .cta-box .btn { justify-self: start; }
  .footer-grid { grid-template-columns: 1.3fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root {
    --nav-height: 94px;
    --nav-height-scrolled: 78px;
    --logo-width: 150px;
    --logo-width-scrolled: 134px;
  }

  .container { width: min(100% - 28px, 1180px); }
  section { padding: 76px 0; }
  h2 { font-size: 2.25rem; }
  .section-heading { margin-bottom: 42px; }

  .brand img {
    width: var(--logo-width);
    height: 74px;
  }

  .site-header.scrolled .brand img {
    width: var(--logo-width-scrolled);
    height: 62px;
  }

  .hero { min-height: 680px; }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 10vw, 3.15rem);
    line-height: 1.08;
  }

  .hero-copy > p {
    font-size: .98rem;
    text-align: left;
    text-align-last: auto;
    hyphens: none;
  }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 310px; }
  .hero-controls { bottom: 26px; }
  .hero-arrows { display: none; }

  .trust-strip { margin-top: -18px; }
  .trust-item { padding: 22px; }

  .about-visual { min-height: 430px; }
  .about-main-image { inset: 0 25px 48px 0; width: calc(100% - 25px); height: calc(100% - 48px); }
  .about-float-card { right: 0; bottom: 0; width: 78%; padding: 18px; }

  .courses-grid, .steps-grid { grid-template-columns: 1fr; }
  .course-card { min-height: 0; padding: 28px; }
  .step-card { min-height: 235px; }

  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .contact-form { padding: 24px; }

  .cta-box { padding: 38px 26px; }

  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
}

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

/* FINAL CONTENT — ULTRA-X */
/* DIFERENCIAIS - BACKGROUND FIXO */
.features-section {
  position: relative;
  overflow: hidden;

  background-image:
    linear-gradient(
      rgba(198, 209, 220, 0.88),
      rgba(245, 251, 254, 0.92)
    ),
    url("img/bg-diferencial.webp");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.feature-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
}

.feature-card {
position: relative;
min-height: 230px;
padding: 28px;
border: 1px solid var(--line);
border-radius: 22px;
background: rgba(255,255,255,.9);
box-shadow: var(--shadow-sm);
overflow: hidden;
transition: transform .42s var(--ease), box-shadow .42s var(--ease), border-color .42s ease;
}

.feature-card::after {
content: "";
position: absolute;
width: 130px;
height: 130px;
right: -52px;
bottom: -58px;
border-radius: 50%;
background: radial-gradient(circle, rgba(37,189,221,.16), transparent 69%);
transition: transform .42s var(--ease);
}

.feature-card:hover {
transform: translateY(-8px);
border-color: rgba(0,168,200,.26);
box-shadow: var(--shadow-md);
}

.feature-card:hover::after { transform: scale(1.18); }

.feature-card i {
width: 54px;
height: 54px;
display: grid;
place-items: center;
margin-bottom: 22px;
border-radius: 17px;
color: var(--white);
background: linear-gradient(135deg, var(--blue-700), var(--cyan-500));
box-shadow: 0 12px 26px rgba(20,108,166,.2);
font-size: 1.28rem;
}

.feature-card h3 {
position: relative;
z-index: 2;
margin-bottom: 8px;
color: var(--blue-950);
font-size: 1.04rem;
line-height: 1.4;
}

.feature-card p {
position: relative;
z-index: 2;
margin: 0;
color: var(--muted);
font-size: .9rem;
}

.benefits-section {
padding-top: 36px;
background: var(--sky-50);
}

.benefits-shell {
display: grid;
grid-template-columns: 1.08fr .92fr;
align-items: center;
gap: 72px;
padding: 58px;
border: 1px solid rgba(14,69,111,.11);
border-radius: var(--radius-lg);
background: var(--white);
box-shadow: var(--shadow-md);
}

.benefits-copy h2 { max-width: 700px; }
.benefits-copy > p { color: var(--muted); font-size: 1.01rem; }

.benefits-list {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 14px;
margin-top: 28px;
}

.benefit-item {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 17px;
border: 1px solid var(--line);
border-radius: 16px;
background: #fbfdfe;
color: #40566b;
font-size: .9rem;
transition: transform .35s var(--ease), background .35s ease, border-color .35s ease;
}

.benefit-item:hover {
transform: translateY(-4px);
border-color: rgba(0,168,200,.24);
background: var(--white);
}

.benefit-item i {
width: 26px;
height: 26px;
flex: 0 0 26px;
display: grid;
place-items: center;
margin-top: 1px;
border-radius: 50%;
color: var(--white);
background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
font-size: .66rem;
}

.benefits-visual {
position: relative;
min-height: 520px;
}

.benefits-visual::before {
content: "";
position: absolute;
inset: 28px 0 0 28px;
border-radius: var(--radius-lg);
background: linear-gradient(135deg, var(--cyan-500), var(--blue-700));
}

.benefits-visual img {
position: absolute;
inset: 0 28px 28px 0;
width: calc(100% - 28px);
height: calc(100% - 28px);
object-fit: cover;
border-radius: var(--radius-lg);
box-shadow: var(--shadow-lg);
}

.benefits-badge {
position: absolute;
left: -22px;
bottom: 4px;
max-width: 260px;
padding: 20px;
border: 1px solid rgba(255,255,255,.72);
border-radius: 20px;
color: var(--blue-950);
background: rgba(255,255,255,.93);
box-shadow: var(--shadow-md);
backdrop-filter: blur(12px);
}

.benefits-badge strong { display: block; margin-bottom: 5px; }
.benefits-badge span { color: var(--muted); font-size: .85rem; }

.course-grid-final {
grid-template-columns: repeat(2, 1fr);
align-items: start;
}

.course-grid-final .course-card {
min-height: 0;
}

.course-card .course-lead {
margin-bottom: 16px;
color: var(--muted);
}

.course-details {
position: relative;
z-index: 2;
margin: 2px 0 24px;
border: 1px solid var(--line);
border-radius: 16px;
background: #f9fcfe;
overflow: hidden;
}

.course-details summary {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
padding: 15px 17px;
color: var(--blue-800);
font-size: .86rem;
font-weight: 800;
cursor: pointer;
list-style: none;
}

.course-details summary::-webkit-details-marker { display: none; }

.course-details summary::after {
content: "+";
width: 28px;
height: 28px;
flex: 0 0 28px;
display: grid;
place-items: center;
border-radius: 50%;
color: var(--white);
background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
transition: transform .3s var(--ease);
}

.course-details[open] summary::after { transform: rotate(45deg); }

.course-details ul {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 9px 18px;
margin: 0;
padding: 0 18px 18px;
list-style: none;
}

.course-details li {
position: relative;
padding-left: 17px;
color: var(--muted);
font-size: .84rem;
line-height: 1.55;
}

.course-details li::before {
content: "";
position: absolute;
left: 0;
top: .62em;
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--cyan-500);
}

.method-grid { grid-template-columns: repeat(3, 1fr); }

.method-note {
position: relative;
z-index: 2;
max-width: 900px;
margin: 28px auto 0;
padding: 22px 26px;
border: 1px solid rgba(255,255,255,.16);
border-radius: 18px;
color: rgba(255,255,255,.78);
background: rgba(255,255,255,.07);
text-align: center;
}

.method-note strong { color: var(--white); }

.contact-item address {
margin: 0;
color: var(--muted);
font-size: .92rem;
font-style: normal;
}

.contact-form h3 {
margin-bottom: 8px;
color: var(--blue-950);
font-size: 1.42rem;
}

.contact-form > p {
margin-bottom: 24px;
color: var(--muted);
font-size: .92rem;
}

.field select {
width: 100%;
min-height: 54px;
padding: 0 44px 0 16px;
border: 1px solid #d9e4ec;
border-radius: 14px;
color: var(--ink);
background:
linear-gradient(45deg, transparent 50%, var(--blue-700) 50%) calc(100% - 20px) 23px/6px 6px no-repeat,
linear-gradient(135deg, var(--blue-700) 50%, transparent 50%) calc(100% - 14px) 23px/6px 6px no-repeat,
#fbfdfe;
appearance: none;
outline: none;
transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}

.field select:focus {
border-color: var(--cyan-500);
background-color: var(--white);
box-shadow: 0 0 0 4px rgba(0,168,200,.1);
}

.footer-contact-list {
display: grid;
gap: 10px;
color: rgba(255,255,255,.66);
font-size: .88rem;
}

.footer-contact-list span,
.footer-contact-list a {
display: flex;
align-items: flex-start;
gap: 10px;
}

.footer-contact-list i {
width: 18px;
margin-top: 4px;
color: var(--cyan-400);
}

@media (max-width: 1060px) {
.feature-grid { grid-template-columns: repeat(2, 1fr); }
.benefits-shell { gap: 44px; padding: 44px; }
.method-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
.benefits-shell { grid-template-columns: 1fr; }
.benefits-visual { min-height: 460px; }
.benefits-badge { left: 0; }
.course-grid-final { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
.feature-grid { grid-template-columns: 1fr; }
.feature-card { min-height: 0; }
.benefits-section { padding-top: 12px; }
.benefits-shell { padding: 26px; }
.benefits-list { grid-template-columns: 1fr; }
.benefits-visual { min-height: 390px; }
.benefits-badge { max-width: 230px; padding: 16px; }
.course-details ul { grid-template-columns: 1fr; }
.method-grid { grid-template-columns: 1fr; }
}
/* ===== CONFIGURAÇÕES DO CARROSSEL ===== */
.ig-section {
max-width: 1200px;
margin: 2rem auto;
padding: 0 1rem;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.ig-header {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 1.5rem;
}

.ig-avatar {
width: 44px;
height: 44px;
border-radius: 50%;
background: linear-gradient(135deg, #f09819, #e040fb);
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: 600;
font-size: 15px;
overflow: hidden;
}

.ig-avatar img {
width: 100%;
height: 100%;
object-fit: cover;
}

.ig-username {
font-weight: 600;
font-size: 15px;
color: #1a1a1a;
}

.ig-subtitle {
font-size: 12px;
color: #888;
}

/* Wrapper com botões de navegação */
.ig-carousel-wrapper {
position: relative;
}

/* Trilha do carrossel */
.ig-carousel {
display: flex;
gap: 12px;
overflow-x: auto;
scroll-behavior: smooth;
scrollbar-width: none;
padding-bottom: 4px;
}

.ig-carousel::-webkit-scrollbar {
display: none;
}

/* Card individual */
.ig-card {
flex: 0 0 220px;
border-radius: 12px;
overflow: hidden;
border: 1px solid #e0e0e0;
background: #fff;
text-decoration: none;
color: inherit;
display: block;
transition: transform 0.2s;
}

.ig-card:hover {
transform: translateY(-3px);
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Imagem do post */
.ig-thumb {
width: 220px;
height: 220px;
object-fit: cover;
display: block;
background: #f5f5f5;
}

/* Corpo do card */
.ig-card-body {
padding: 10px 12px 12px;
}

.ig-likes {
font-size: 12px;
color: #888;
display: flex;
align-items: center;
gap: 4px;
margin-bottom: 5px;
}

.ig-caption {
font-size: 13px;
color: #333;
line-height: 1.4;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}

/* Botões de navegação */
.ig-nav-btn {
position: absolute;
top: 50%;
transform: translateY(-60%);
width: 36px;
height: 36px;
border-radius: 50%;
background: #fff;
border: 1px solid #e0e0e0;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 2;
font-size: 18px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
transition: background 0.2s;
}

.ig-nav-btn:hover {
background: #f5f5f5;
}

.ig-nav-btn.left { left: -18px; }
.ig-nav-btn.right { right: -18px; }

/* Indicadores (dots) */
.ig-dots {
display: flex;
gap: 6px;
justify-content: center;
margin-top: 1rem;
}

.ig-dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: #ccc;
cursor: pointer;
transition: background 0.2s;
border: none;
padding: 0;
}

.ig-dot.active {
background: #333;
}

/* Estado de carregamento */
.ig-loading {
text-align: center;
padding: 2rem;
color: #888;
font-size: 14px;
}

/* Estado de erro */
.ig-error {
text-align: center;
padding: 1.5rem;
color: #c0392b;
background: #fdf0ed;
border-radius: 8px;
font-size: 14px;
}

/* Responsivo */
@media (max-width: 600px) {
.ig-card { flex: 0 0 180px; }
.ig-thumb { width: 180px; height: 180px; }
}
/* =========================================================
   DIFERENCIAIS — CARDS AZUL ESCURO
   ========================================================= */

.features-section .feature-card {
  border: 1px solid rgba(255,255,255,.12);

  background: linear-gradient(
    145deg,
    var(--blue-950) 0%,
    var(--blue-800) 100%
  );

  box-shadow: 0 18px 45px rgba(5,35,60,.18);
}

/* Ícone: branco no lugar do azul */
.features-section .feature-card i {
  color: var(--blue-700);

  background: #ffffff;

  box-shadow:
    0 10px 25px rgba(0,0,0,.16),
    inset 0 0 0 1px rgba(255,255,255,.3);
}

/* Títulos brancos */
.features-section .feature-card h3 {
  color: #ffffff;
}

/* Textos claros */
.features-section .feature-card p {
  color: rgba(255,255,255,.76);
}

/* Efeito decorativo no canto */
.features-section .feature-card::after {
  background: radial-gradient(
    circle,
    rgba(37,189,221,.18),
    transparent 69%
  );
}

/* Hover */
.features-section .feature-card:hover {
  transform: translateY(-8px);

  border-color: rgba(37,189,221,.45);

  background: linear-gradient(
    145deg,
    var(--blue-900) 0%,
    var(--blue-700) 100%
  );

  box-shadow: 0 24px 55px rgba(5,35,60,.28);
}

/* Ícone ganha leve destaque ao passar o mouse */
.features-section .feature-card:hover i {
  color: var(--cyan-500);
}
/* =========================================================
   GALERIA ULTRA-X
   ========================================================= */

.ux-gallery-section {
  --gallery-gap: 0px;

  position: relative;

  width: 100%;
  max-width: none;

  padding: 0;

  overflow: hidden;

  background: var(--blue-950);
}

/* Área visível */

.ux-gallery-viewport {
  width: 100%;
  overflow: hidden;
}

/* Trilho */

.ux-gallery-track {
  display: flex;
  gap: 0;
  width: max-content;
}

/* FOTO
   5 imagens exatas na largura */

.ux-gallery-item {
  flex: 0 0 20vw;
  width: 20vw;
  aspect-ratio: 1 / 1;
}

/* Imagem */

.ux-gallery-item img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition:
    transform .8s cubic-bezier(.22,1,.36,1),
    filter .5s ease;
}

/* Camada azul muito discreta */

.ux-gallery-item::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(7,31,53,.02),
      rgba(7,31,53,.16)
    );

  opacity: .5;

  transition: opacity .45s ease;

  pointer-events: none;
}

/* Hover */

.ux-gallery-item:hover img {
  transform: scale(1.065);
}

.ux-gallery-item:hover::after {
  opacity: 0;
}


/* =========================================================
   SETAS DA GALERIA
   ========================================================= */

.ux-gallery-arrow {
  position: absolute;

  top: 50%;

  z-index: 10;

  width: 52px;
  height: 52px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255,255,255,.26);
  border-radius: 50%;

  color: #fff;

  background: rgba(7,31,53,.72);

  backdrop-filter: blur(12px);

  box-shadow: 0 10px 30px rgba(0,0,0,.22);

  transform: translateY(-50%);

  transition:
    background .3s ease,
    transform .3s ease;
}

.ux-gallery-arrow:hover {
  background: var(--cyan-500);
  transform: translateY(-50%) scale(1.08);
}

.ux-gallery-prev {
  left: 24px;
}

.ux-gallery-next {
  right: 24px;
}


/* =========================================================
   LIGHTBOX
   ========================================================= */

.ux-lightbox {
  position: fixed;

  inset: 0;

  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 55px 90px;

  visibility: hidden;
  opacity: 0;

  background:
    radial-gradient(
      circle at center,
      rgba(23,105,168,.28),
      transparent 50%
    ),
    rgba(7,31,53,.96);

  backdrop-filter: blur(18px);

  transition:
    opacity .4s ease,
    visibility .4s ease;
}

.ux-lightbox.open {
  visibility: visible;
  opacity: 1;
}


/* Imagem grande */

.ux-lightbox-image-wrap {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  max-width: 1200px;
  max-height: 86vh;
}

.ux-lightbox-image-wrap img {
  max-width: 100%;
  max-height: 82vh;

  display: block;

  border-radius: 18px;

  object-fit: contain;

  box-shadow:
    0 35px 90px rgba(0,0,0,.42);

  transform: scale(.96);

  transition: transform .45s cubic-bezier(.22,1,.36,1);
}

.ux-lightbox.open .ux-lightbox-image-wrap img {
  transform: scale(1);
}


/* Contador */

#uxLightboxCounter {
  position: absolute;

  right: 15px;
  bottom: 14px;

  padding: 6px 12px;

  border-radius: 999px;

  color: rgba(255,255,255,.9);

  background: rgba(7,31,53,.72);

  font-size: .8rem;

  backdrop-filter: blur(10px);
}


/* Fechar */

.ux-lightbox-close {
  position: absolute;

  top: 28px;
  right: 32px;

  z-index: 10;

  width: 50px;
  height: 50px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;

  color: #fff;

  background: rgba(255,255,255,.08);

  font-size: 1.2rem;

  transition:
    background .3s ease,
    transform .3s ease;
}

.ux-lightbox-close:hover {
  background: var(--cyan-500);
  transform: rotate(90deg);
}


/* Navegação dentro do lightbox */

.ux-lightbox-nav {
  position: absolute;

  top: 50%;

  width: 58px;
  height: 58px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;

  color: #fff;

  background: rgba(255,255,255,.08);

  transform: translateY(-50%);

  transition: background .3s ease;
}

.ux-lightbox-nav:hover {
  background: var(--cyan-500);
}

.ux-lightbox-prev {
  left: 28px;
}

.ux-lightbox-next {
  right: 28px;
}


/* =========================================================
   RESPONSIVO
   ========================================================= */

/* Tablet: 3 imagens */


@media (max-width: 860px) {
  .ux-gallery-item {
    flex: 0 0 33.333333vw;
    width: 33.333333vw;
  }
}

@media (max-width: 640px) {
  .ux-gallery-item {
    flex: 0 0 50vw;
    width: 50vw;
  }
}

  .ux-gallery-arrow {
    width: 42px;
    height: 42px;
  }

  .ux-gallery-prev {
    left: 10px;
  }

  .ux-gallery-next {
    right: 10px;
  }

  .ux-lightbox {
    padding: 60px 18px;
  }

  .ux-lightbox-nav {
    width: 44px;
    height: 44px;
  }

  .ux-lightbox-prev {
    left: 8px;
  }

  .ux-lightbox-next {
    right: 8px;
  }

}
/* =========================================================
   GALERIA — REMOVER 100% DOS ESPAÇOS ENTRE AS FOTOS
   ========================================================= */

.ux-gallery-section {
  --gallery-gap: 0px !important;
}

.ux-gallery-viewport {
  margin: 0;
  padding: 0;
}

.ux-gallery-track {
  display: flex;
  gap: 0 !important;
  column-gap: 0 !important;
  row-gap: 0 !important;

  margin: 0;
  padding: 0;

  width: max-content;
}

.ux-gallery-item {
  flex: 0 0 20vw !important;
  width: 20vw !important;

  aspect-ratio: 1 / 1;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  outline: 0;

  display: block;

  overflow: hidden;
}

.ux-gallery-item img {
  display: block;

  width: 100%;
  height: 100%;

  margin: 0;
  padding: 0;

  object-fit: cover;
}

/* TABLET — 3 fotos */
@media (max-width: 860px) {

  .ux-gallery-item {
    flex: 0 0 33.333333vw !important;
    width: 33.333333vw !important;
  }

}

/* CELULAR — 2 fotos */
@media (max-width: 640px) {

  .ux-gallery-item {
    flex: 0 0 50vw !important;
    width: 50vw !important;
  }

}
/* =========================================================
   AJUSTES CONSOLIDADOS
   - Logo maior e mais destacada no desktop, mantendo versão compacta no mobile.
   - Texto descritivo dos slides justificado no desktop e alinhado à esquerda no mobile.
   As regras estão integradas acima para evitar sobrescritas duplicadas.
   ========================================================= */
