/* ============================================================
   AquaTech Piscinas - identidade fluida e refrescante
   Paleta: #0096C7 (azul-piscina) | #90E0EF (ciano) | #023E8A
           (azul profundo) | #FFF3E0 (areia) | #FBFEFF (branco)
   ============================================================ */

:root {
  --azul: #0096C7;
  --ciano: #90E0EF;
  --profundo: #023E8A;
  --areia: #FFF3E0;
  --branco: #FBFEFF;
  --tinta: #123048;
  --tinta-suave: #47637c;
  --tint-bg: #EAF9FD;
  --raio: 14px;
  --sombra: 0 12px 32px rgba(2, 62, 138, 0.12);
  --fonte-titulo: "Poppins", sans-serif;
  --fonte-texto: "Open Sans", sans-serif;
  --transicao: 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--fonte-texto);
  color: var(--tinta);
  background: var(--branco);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--fonte-titulo); color: var(--profundo); line-height: 1.2; }
h1 { font-weight: 700; }
h2 { font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 0.6rem; }
h3 { font-weight: 600; }

a { color: var(--azul); }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { width: min(1160px, 92%); margin-inline: auto; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

/* ---------- Botoes ---------- */
.btn {
  display: inline-block;
  font-family: var(--fonte-titulo);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform var(--transicao), box-shadow var(--transicao),
              background var(--transicao), color var(--transicao);
}
.btn:hover { transform: translateY(-3px); }

.btn--primary {
  background: linear-gradient(135deg, var(--azul), var(--profundo));
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 150, 199, 0.35);
}
.btn--primary:hover { box-shadow: 0 12px 26px rgba(0, 150, 199, 0.5); }

.btn--warm {
  background: var(--areia);
  color: var(--profundo);
  box-shadow: 0 8px 20px rgba(2, 62, 138, 0.25);
}
.btn--warm:hover { background: #ffe8c7; box-shadow: 0 12px 26px rgba(2, 62, 138, 0.35); }

.btn--ghost {
  background: rgba(251, 254, 255, 0.14);
  color: #fff;
  border-color: rgba(251, 254, 255, 0.7);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(251, 254, 255, 0.28); }

.btn--full { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: rgba(251, 254, 255, 0.9);
  backdrop-filter: blur(10px);
  transition: box-shadow var(--transicao);
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(2, 62, 138, 0.12); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}
.header__logo img { width: 190px; height: auto; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav__list { display: flex; list-style: none; gap: 1.35rem; }

.nav__link {
  font-family: var(--fonte-titulo);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--tinta);
  text-decoration: none;
  position: relative;
  padding-block: 0.3rem;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--azul), var(--ciano));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transicao);
}
.nav__link:hover::after { transform: scaleX(1); }

.nav__cta { padding: 0.6rem 1.4rem; font-size: 0.92rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}
.hamburger span {
  width: 26px; height: 3px;
  border-radius: 3px;
  background: var(--profundo);
  transition: transform var(--transicao), opacity var(--transicao);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0 9rem;
}

.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(2, 62, 138, 0.72) 0%,
    rgba(0, 150, 199, 0.45) 55%,
    rgba(2, 62, 138, 0.55) 100%);
}

/* Efeito "caustics"/shimmer de agua */
.hero__caustics {
  position: absolute;
  inset: -60%;
  z-index: 1;
  background:
    radial-gradient(ellipse 42% 30% at 30% 40%, rgba(144, 224, 239, 0.35), transparent 60%),
    radial-gradient(ellipse 34% 26% at 70% 60%, rgba(251, 254, 255, 0.28), transparent 60%),
    radial-gradient(ellipse 30% 22% at 50% 25%, rgba(144, 224, 239, 0.25), transparent 60%);
  mix-blend-mode: soft-light;
  animation: caustics 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes caustics {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(4%, -3%) scale(1.06); }
  66%  { transform: translate(-4%, 3%) scale(0.97); }
  100% { transform: translate(3%, 2%) scale(1.05); }
}

.hero__content { position: relative; z-index: 3; max-width: 720px; }

.hero__tag {
  display: inline-block;
  font-family: var(--fonte-titulo);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--profundo);
  background: var(--areia);
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  margin-bottom: 1.1rem;
  text-shadow: 0 4px 24px rgba(2, 62, 138, 0.45);
}
.hero h1 em { font-style: normal; color: var(--ciano); }

.hero__sub {
  color: #eafaff;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Bolhas subindo */
.hero__bubbles, .login-visual__bubbles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}
.hero__bubbles span, .login-visual__bubbles span {
  position: absolute;
  bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(251,254,255,0.75), rgba(144,224,239,0.15) 70%);
  border: 1px solid rgba(251, 254, 255, 0.35);
  animation: subir linear infinite;
}
.hero__bubbles span:nth-child(1)  { left: 6%;  width: 18px; height: 18px; animation-duration: 11s; }
.hero__bubbles span:nth-child(2)  { left: 15%; width: 10px; height: 10px; animation-duration: 9s;  animation-delay: 2s; }
.hero__bubbles span:nth-child(3)  { left: 24%; width: 26px; height: 26px; animation-duration: 14s; animation-delay: 1s; }
.hero__bubbles span:nth-child(4)  { left: 36%; width: 12px; height: 12px; animation-duration: 8s;  animation-delay: 4s; }
.hero__bubbles span:nth-child(5)  { left: 48%; width: 20px; height: 20px; animation-duration: 12s; animation-delay: 3s; }
.hero__bubbles span:nth-child(6)  { left: 58%; width: 9px;  height: 9px;  animation-duration: 7.5s; animation-delay: 5s; }
.hero__bubbles span:nth-child(7)  { left: 68%; width: 24px; height: 24px; animation-duration: 13s; animation-delay: 0.5s; }
.hero__bubbles span:nth-child(8)  { left: 78%; width: 14px; height: 14px; animation-duration: 10s; animation-delay: 2.5s; }
.hero__bubbles span:nth-child(9)  { left: 87%; width: 19px; height: 19px; animation-duration: 12.5s; animation-delay: 4.5s; }
.hero__bubbles span:nth-child(10) { left: 94%; width: 11px; height: 11px; animation-duration: 8.5s; animation-delay: 1.5s; }

@keyframes subir {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  8%   { opacity: 1; }
  50%  { transform: translateY(-55vh) translateX(-14px) scale(1.05); }
  95%  { opacity: 0.9; }
  100% { transform: translateY(-108vh) translateX(12px) scale(1.15); opacity: 0; }
}

/* Ondas animadas em camadas (movimento horizontal continuo) */
.hero__waves, .login-visual__waves {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 110px;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  animation: ondular linear infinite;
}
.wave--back  { animation-duration: 18s; }
.wave--mid   { animation-duration: 11s; animation-direction: reverse; }
.wave--front { animation-duration: 8s; }

@keyframes ondular {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Secoes ---------- */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section--tint { background: var(--tint-bg); }

.section__tag {
  font-family: var(--fonte-titulo);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--azul);
  margin-bottom: 0.5rem;
}
.section__tag--light { color: var(--ciano); }

.section__lead {
  color: var(--tinta-suave);
  max-width: 640px;
  margin-bottom: 2.6rem;
  font-size: 1.06rem;
}
.section__lead--light { color: #cdeefb; }

/* Wave dividers entre secoes:
   o background e a cor da secao de cima; o path, a cor da secao de baixo */
.divider { line-height: 0; background: var(--branco); }
.divider svg { width: 100%; height: clamp(36px, 5vw, 70px); display: block; }
.divider--flip { background: var(--tint-bg); }
.divider--flip svg { transform: scaleX(-1); }
.divider--flip svg path { fill: var(--branco); }
.divider--deep { background: var(--tint-bg); }
.divider--deep.divider--flip { background: #023E8A; }
.divider--deep.divider--flip svg path { fill: var(--branco); }
.divider--footer { background: var(--tint-bg); }
.divider--innerdeep { position: absolute; top: 0; left: 0; right: 0; background: transparent; }

/* ---------- Sobre ---------- */
.sobre__media { position: relative; }
.sobre__media img {
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.sobre__badge {
  position: absolute;
  right: -14px;
  bottom: -20px;
  background: linear-gradient(135deg, var(--azul), var(--profundo));
  color: #fff;
  border-radius: 50%;
  width: 138px;
  height: 138px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.8rem;
  box-shadow: var(--sombra);
  border: 4px solid var(--branco);
}
.sobre__badge strong { font-family: var(--fonte-titulo); font-size: 1.5rem; line-height: 1; }
.sobre__badge span { font-size: 0.72rem; line-height: 1.25; margin-top: 0.3rem; }

.sobre__text h2 { margin-bottom: 1rem; }
.sobre__text > p { margin-bottom: 1.2rem; color: var(--tinta-suave); }

.sobre__list { list-style: none; margin-bottom: 1.8rem; }
.sobre__list li {
  padding-left: 1.9rem;
  margin-bottom: 0.55rem;
  position: relative;
}
.sobre__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.34em;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--ciano), var(--azul));
}

/* ---------- Servicos ---------- */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.card {
  background: var(--branco);
  border-radius: var(--raio);
  padding: 1.8rem 1.5rem;
  box-shadow: 0 6px 18px rgba(2, 62, 138, 0.08);
  border: 1px solid rgba(144, 224, 239, 0.4);
  transition: transform var(--transicao), box-shadow var(--transicao);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sombra);
}
.card__icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--areia);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  transition: transform var(--transicao);
}
.card:hover .card__icon { transform: scale(1.08) rotate(-4deg); }
.card h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.94rem; color: var(--tinta-suave); }

/* ---------- Antes e depois ---------- */
.ba-slider {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: var(--sombra);
  aspect-ratio: 3 / 2;
  touch-action: none;
}
.ba-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-slider__img--antes {
  filter: grayscale(0.7) sepia(0.35) brightness(0.78) contrast(0.9);
}
.ba-slider__depois {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 50%);
}
.ba-slider__depois .ba-slider__img {
  filter: saturate(1.25) brightness(1.05);
}
.ba-slider__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--branco);
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(2, 62, 138, 0.5);
  pointer-events: none;
}
.ba-slider__handle span {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--branco);
  color: var(--profundo);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(2, 62, 138, 0.4);
}
.ba-slider__label {
  position: absolute;
  top: 14px;
  font-family: var(--fonte-titulo);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(2, 62, 138, 0.65);
  backdrop-filter: blur(4px);
}
.ba-slider__label--antes { left: 14px; }
.ba-slider__label--depois { right: 14px; background: rgba(0, 150, 199, 0.75); }
.ba-slider__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}

/* ---------- Processo ---------- */
.etapas {
  list-style: none;
  counter-reset: etapa;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.3rem;
  margin-bottom: 3rem;
}
.etapa {
  background: var(--branco);
  border-radius: var(--raio);
  padding: 1.6rem 1.2rem;
  box-shadow: 0 6px 18px rgba(2, 62, 138, 0.08);
  position: relative;
  transition: transform var(--transicao), box-shadow var(--transicao);
}
.etapa:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.etapa__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  background: radial-gradient(circle at 32% 28%, var(--ciano), var(--azul) 60%, var(--profundo));
  margin-bottom: 1rem;
  box-shadow: 0 6px 14px rgba(0, 150, 199, 0.4);
}
.etapa h3 { font-size: 1.02rem; margin-bottom: 0.45rem; }
.etapa p { font-size: 0.88rem; color: var(--tinta-suave); }

.processo__foto {
  max-width: 860px;
  margin-inline: auto;
}
.processo__foto img {
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}
.processo__foto figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--tinta-suave);
  margin-top: 0.8rem;
  font-style: italic;
}

/* ---------- AquaTech OS ---------- */
.section--deep {
  background: linear-gradient(180deg, var(--profundo) 0%, #03509f 100%);
}
.section--deep h2 { color: #fff; }

/* textura de agua real por tras do conteudo */
.aquatech-os {
  background:
    linear-gradient(180deg, rgba(2, 62, 138, 0.92) 0%, rgba(3, 80, 159, 0.9) 100%),
    url("imagens/agua.jpg") center / cover no-repeat;
}

.modulos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-bottom: 2.6rem;
}
.modulo {
  background: rgba(251, 254, 255, 0.07);
  border: 1px solid rgba(144, 224, 239, 0.28);
  border-radius: var(--raio);
  padding: 1.6rem 1.4rem;
  transition: transform var(--transicao), background var(--transicao), border-color var(--transicao);
}
.modulo:hover {
  transform: translateY(-6px);
  background: rgba(251, 254, 255, 0.13);
  border-color: var(--ciano);
}
.modulo h3 { color: var(--ciano); font-size: 1.08rem; margin-bottom: 0.5rem; }
.modulo p { color: #d8f2fb; font-size: 0.93rem; }

.modulo--destaque {
  background: linear-gradient(135deg, rgba(255, 243, 224, 0.16), rgba(144, 224, 239, 0.12));
  border: 2px solid var(--areia);
  position: relative;
}
.modulo--destaque h3 { color: var(--areia); }
.modulo__tag {
  position: absolute;
  top: -13px;
  right: 16px;
  background: var(--areia);
  color: var(--profundo);
  font-family: var(--fonte-titulo);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
}

.aquatech-os__cta { text-align: center; }

/* ---------- Numeros ---------- */
.numeros {
  position: relative;
  padding-top: 5rem;
  background: linear-gradient(180deg, #03509f 0%, #023E8A 100%);
}
.numeros__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  text-align: center;
}
.numero__valor {
  display: block;
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--areia);
  line-height: 1.1;
}
.numero__label {
  display: block;
  color: #cdeefb;
  font-size: 0.95rem;
  margin-top: 0.4rem;
}

/* ---------- Depoimentos ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.2rem;
}
.depoimento {
  background: var(--areia);
  border-radius: var(--raio);
  padding: 1.9rem 1.6rem;
  position: relative;
  transition: transform var(--transicao), box-shadow var(--transicao);
}
.depoimento:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.depoimento::before {
  content: "\201C";
  position: absolute;
  top: -6px;
  left: 18px;
  font-family: var(--fonte-titulo);
  font-size: 4.6rem;
  color: var(--azul);
  opacity: 0.45;
  line-height: 1;
}
.depoimento p { font-style: italic; color: var(--tinta); margin-bottom: 1.2rem; position: relative; }
.depoimento footer strong { display: block; font-family: var(--fonte-titulo); color: var(--profundo); }
.depoimento footer span { font-size: 0.85rem; color: var(--tinta-suave); }

/* ---------- Contato / Formulario ---------- */
.contato .grid-2 { align-items: start; }
.contato__info h2 { margin-bottom: 1rem; }
.contato__info > p { color: var(--tinta-suave); margin-bottom: 1.5rem; }
.contato__lista { list-style: none; }
.contato__lista li { margin-bottom: 0.7rem; padding-left: 1.7rem; position: relative; }
.contato__lista li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.4em;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--azul);
}
.contato__lista strong { color: var(--profundo); }

.form {
  background: var(--branco);
  border-radius: var(--raio);
  padding: 2.1rem 1.9rem;
  box-shadow: var(--sombra);
  border-top: 6px solid var(--azul);
}
.form h3 { font-size: 1.3rem; margin-bottom: 1.3rem; }

.form__field { margin-bottom: 1.1rem; }
.form__field label {
  display: block;
  font-family: var(--fonte-titulo);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--profundo);
  margin-bottom: 0.35rem;
}
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  font-family: var(--fonte-texto);
  font-size: 0.97rem;
  color: var(--tinta);
  background: #f2fbfe;
  border: 1.5px solid rgba(0, 150, 199, 0.3);
  border-radius: 10px;
  padding: 0.75rem 0.95rem;
  transition: border-color var(--transicao), box-shadow var(--transicao);
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--azul);
  box-shadow: 0 0 0 4px rgba(0, 150, 199, 0.15);
}
.form__field textarea { resize: vertical; }

.form__feedback {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--azul);
  text-align: center;
  min-height: 1.4em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.form__feedback.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Footer ---------- */
.footer { background: var(--profundo); color: #cdeefb; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 0.9fr;
  gap: 2.2rem;
  padding: 3.2rem 0 2.2rem;
}
.footer__logo {
  background: var(--branco);
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
  width: fit-content;
  margin-bottom: 1rem;
}
.footer__brand p { font-size: 0.92rem; max-width: 300px; }
.footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.9rem;
  letter-spacing: 0.5px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.5rem; }
.footer a { color: #cdeefb; text-decoration: none; transition: color var(--transicao); }
.footer a:hover { color: var(--ciano); text-decoration: underline; }
.footer address { font-style: normal; line-height: 1.9; }

.footer__bottom {
  border-top: 1px solid rgba(144, 224, 239, 0.25);
  padding: 1.2rem 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Login / Portal do Cliente
   ============================================================ */
.login-page { min-height: 100vh; }

.login-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 100vh;
}

.login-visual {
  position: relative;
  background:
    radial-gradient(ellipse 90% 60% at 20% 10%, rgba(144, 224, 239, 0.5), transparent 60%),
    linear-gradient(160deg, var(--azul) 0%, var(--profundo) 78%);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 3rem clamp(2rem, 5vw, 4.5rem) 8rem;
}
.login-visual__content { position: relative; z-index: 3; max-width: 480px; }
.login-visual__logo {
  display: inline-block;
  background: var(--branco);
  border-radius: var(--raio);
  padding: 0.8rem 1.2rem;
  margin-bottom: 2.2rem;
  transition: transform var(--transicao);
}
.login-visual__logo:hover { transform: translateY(-3px); }
.login-visual h1 {
  color: #fff;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 0.9rem;
}
.login-visual__lead { color: #dff5fd; margin-bottom: 1.8rem; font-size: 1.04rem; }
.login-visual__list { list-style: none; }
.login-visual__list li {
  padding-left: 1.9rem;
  margin-bottom: 0.65rem;
  position: relative;
  color: #eafaff;
}
.login-visual__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.35em;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--areia), var(--ciano));
}

.login-visual__bubbles span:nth-child(1) { left: 10%; width: 16px; height: 16px; animation-duration: 10s; }
.login-visual__bubbles span:nth-child(2) { left: 28%; width: 24px; height: 24px; animation-duration: 13s; animation-delay: 2s; }
.login-visual__bubbles span:nth-child(3) { left: 46%; width: 10px; height: 10px; animation-duration: 8s;  animation-delay: 4s; }
.login-visual__bubbles span:nth-child(4) { left: 63%; width: 20px; height: 20px; animation-duration: 12s; animation-delay: 1s; }
.login-visual__bubbles span:nth-child(5) { left: 78%; width: 13px; height: 13px; animation-duration: 9s;  animation-delay: 3s; }
.login-visual__bubbles span:nth-child(6) { left: 90%; width: 22px; height: 22px; animation-duration: 14s; animation-delay: 5s; }

.login-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem clamp(1.5rem, 4vw, 4rem);
  background: var(--branco);
}
.login-panel__voltar {
  align-self: flex-start;
  font-family: var(--fonte-titulo);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--azul);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: transform var(--transicao);
}
.login-panel__voltar:hover { transform: translateX(-4px); text-decoration: underline; }

.login-card {
  width: min(440px, 100%);
  margin-inline: auto;
}

.login-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--tint-bg);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 2rem;
}
.login-tab {
  position: relative;
  z-index: 2;
  font-family: var(--fonte-titulo);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--tinta-suave);
  background: none;
  border: none;
  border-radius: 999px;
  padding: 0.7rem;
  cursor: pointer;
  transition: color var(--transicao);
}
.login-tab.is-active { color: #fff; }
.login-tabs__pill {
  position: absolute;
  z-index: 1;
  top: 5px; bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--azul), var(--profundo));
  box-shadow: 0 4px 12px rgba(0, 150, 199, 0.4);
  transition: transform 0.35s cubic-bezier(0.6, 0, 0.3, 1.4);
}
.login-tabs.registro-ativo .login-tabs__pill { transform: translateX(100%); }

.login-form { display: none; }
.login-form.is-active { display: block; animation: entrar 0.45s ease; }
@keyframes entrar {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.login-form h2 { font-size: 1.55rem; margin-bottom: 0.4rem; }
.login-form__sub { color: var(--tinta-suave); font-size: 0.95rem; margin-bottom: 1.5rem; }

.login-form__opcoes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
  font-size: 0.9rem;
}
.check { display: flex; align-items: center; gap: 0.45rem; color: var(--tinta-suave); cursor: pointer; }
.check input { accent-color: var(--azul); width: 16px; height: 16px; }
.login-form__link { font-size: 0.9rem; }

.login-panel__ajuda {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--tinta-suave);
}

/* ============================================================
   Responsividade
   ============================================================ */
@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .etapas { grid-template-columns: repeat(3, 1fr); }
  .modulos { grid-template-columns: repeat(2, 1fr); }
  .numeros__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 66px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--branco);
    box-shadow: 0 18px 30px rgba(2, 62, 138, 0.15);
    padding: 1rem 6% 1.5rem;
    transform: translateY(-130%);
    transition: transform 0.35s ease;
    z-index: 55;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { display: block; padding: 0.9rem 0.2rem; font-size: 1.05rem; border-bottom: 1px solid var(--tint-bg); }
  .nav__cta { margin-top: 1.2rem; }
  .hamburger { display: flex; }

  .grid-2 { grid-template-columns: 1fr; }
  .sobre__badge { right: 10px; width: 118px; height: 118px; }
  .etapas { grid-template-columns: 1fr 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
  .login-split { grid-template-columns: 1fr; }
  .login-visual { min-height: 340px; padding-bottom: 6.5rem; }
}

@media (max-width: 560px) {
  .cards-4, .etapas, .modulos, .numeros__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero { padding: 7rem 0 8rem; }
  .hero__ctas .btn { width: 100%; }
  .sobre__badge {
    position: static;
    margin: 1rem auto 0;
    display: flex;
  }
  .login-form__opcoes { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__bubbles, .login-visual__bubbles { display: none; }
}
