/* ============================================
   Penguin Embrace — folha de estilo principal
   Cores extraídas da imagem banner.png
   ============================================ */

:root {
  --blue:        #0172BC;
  --blue-dark:   #005A96;
  --blue-deep:   #03324F;
  --blue-light:  #96C5E3;
  --blue-pale:   #E8F2F9;
  --ink:         #12212E;
  --ink-soft:    #4A5C6B;
  --white:       #FFFFFF;
  --line:        #DDE7EE;

  --gradient: linear-gradient(115deg, #9CCBE6 0%, #56A5D6 45%, #0172BC 100%);
  --shadow-sm: 0 2px 8px rgba(3, 50, 79, .07);
  --shadow-md: 0 10px 30px rgba(3, 50, 79, .10);
  --shadow-lg: 0 24px 60px rgba(3, 50, 79, .16);

  --radius: 16px;
  --radius-lg: 24px;
  --container: 1180px;

  --font: "Segoe UI", "Helvetica Neue", Arial, system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  line-height: 1.18;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
  font-weight: 700;
}

p { margin: 0 0 1rem; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------------- Tipografia utilitária ---------------- */

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1rem;
}

.eyebrow--center { display: block; text-align: center; }

.section__title {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  max-width: 22ch;
}

.section__title--center {
  margin-inline: auto;
  text-align: center;
  max-width: 26ch;
}

.section__lead {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section--alt { background: #F5F9FC; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: .97rem;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(1, 114, 188, .28);
}

.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(1, 114, 188, .36);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, .6);
  color: var(--white);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, .14);
  transform: translateY(-2px);
}

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

/* ---------------- Topbar ---------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 74px;
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.topbar__logo {
  width: 38px;
  height: 44px;
  object-fit: contain;
}

/* Logotipo textual que acompanha o pinguim */
.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  letter-spacing: -.02em;
}

.wordmark__top {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--blue);
  text-transform: uppercase;
}

.wordmark__bottom {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--blue-deep);
  letter-spacing: -.03em;
}

.wordmark--light .wordmark__top { color: var(--blue-light); }
.wordmark--light .wordmark__bottom { color: var(--white); }

.nav {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.nav__link {
  padding: .55rem .95rem;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background .18s ease, color .18s ease;
}

.nav__link:hover {
  color: var(--blue);
  background: var(--blue-pale);
}

.nav__link--cta {
  background: var(--blue);
  color: var(--white);
  margin-left: .5rem;
  box-shadow: 0 6px 16px rgba(1, 114, 188, .26);
}

.nav__link--cta:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.burger {
  display: none;
  width: 44px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: space-between;
}

.burger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--blue-deep);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}

.burger.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--blue-deep);
  color: var(--white);
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(1, 114, 188, .55), transparent 62%),
    radial-gradient(700px 480px at 10% 90%, rgba(150, 197, 227, .28), transparent 60%),
    linear-gradient(160deg, #06395B 0%, #044C7C 45%, #0172BC 100%);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(56px, 8vw, 100px);
}

.hero__content { max-width: 34rem; }

.hero .eyebrow { color: var(--blue-light); }

.hero__title {
  font-size: clamp(2.05rem, 4.8vw, 3.35rem);
  color: var(--white);
}

.hl {
  background: linear-gradient(120deg, #FFFFFF 0%, #9CCBE6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__text {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  list-style: none;
  margin: 0;
  padding: 1.6rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.hero__stats li { display: flex; flex-direction: column; }

.hero__stats strong {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.hero__stats span {
  font-size: .84rem;
  color: rgba(255, 255, 255, .68);
  letter-spacing: .02em;
}

.hero__art {
  display: flex;
  justify-content: center;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.6rem 2.2rem 1.6rem 1.6rem;
  border-radius: 28px;
  background: linear-gradient(120deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, .04) 100%);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .3);
}

.hero__badge-mark {
  width: 78px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .35));
}

.hero__badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.hero__badge-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.hero__badge-sub {
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--white);
}

.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 90px;
  background: var(--white);
  -webkit-clip-path: ellipse(75% 100% at 50% 100%);
  clip-path: ellipse(75% 100% at 50% 100%);
}

/* ---------------- Grades e cards ---------------- */

.grid { display: grid; gap: 1.6rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  position: relative;
  padding: 2rem 1.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card--featured {
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F9FD 100%);
  border-color: rgba(1, 114, 188, .35);
}

.card__badge {
  position: absolute;
  top: -12px;
  left: 1.85rem;
  padding: .3rem .85rem;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(1, 114, 188, .3);
}

.card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--blue-pale);
  color: var(--blue);
  margin-bottom: 1.25rem;
}

.card__icon svg { width: 27px; height: 27px; }

.card__title {
  font-size: 1.22rem;
  margin-bottom: .6rem;
}

.card__text {
  color: var(--ink-soft);
  font-size: .97rem;
  margin-bottom: 1.2rem;
}

.card__list {
  list-style: none;
  margin: 0;
  padding: 1.1rem 0 0;
  border-top: 1px dashed var(--line);
  display: grid;
  gap: .5rem;
}

.card__list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: .92rem;
  color: var(--ink-soft);
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

/* ---------------- Sobre ---------------- */

.about {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}

.about__p { color: var(--ink-soft); font-size: 1.02rem; }

.about__points {
  display: grid;
  gap: 1.1rem;
  margin-top: 2rem;
}

.about__point { display: flex; gap: .9rem; align-items: flex-start; }

.about__check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.about__check svg { width: 15px; height: 15px; }

.about__point strong { display: block; font-size: 1rem; }
.about__point span { font-size: .93rem; color: var(--ink-soft); }

.about__panel {
  display: grid;
  gap: 1.1rem;
}

.about__card {
  padding: 1.7rem 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--gradient);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.about__card:nth-child(2) {
  background: linear-gradient(120deg, #06456F 0%, #0A6FA8 100%);
}

.about__card:nth-child(3) {
  background: linear-gradient(120deg, #E8F2F9 0%, #CBE4F3 100%);
  color: var(--blue-deep);
}

.about__card-num {
  display: block;
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.1;
}

.about__card-label { font-size: .93rem; opacity: .88; }

/* ---------------- Processo ---------------- */

.steps {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.9rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease;
}

.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 3.1rem;
  right: -.95rem;
  width: 1.3rem;
  height: 2px;
  background: var(--line);
}

.step__num {
  display: inline-block;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--blue);
  opacity: .22;
  line-height: 1;
  margin-bottom: .8rem;
}

.step__title { font-size: 1.1rem; margin-bottom: .45rem; }
.step__text { font-size: .93rem; color: var(--ink-soft); margin: 0; }

/* ---------------- Depoimentos ---------------- */

.quote {
  margin: 0;
  padding: 2rem 1.8rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.quote blockquote {
  margin: 0;
  font-size: 1.02rem;
  color: var(--ink);
  position: relative;
  padding-left: 1.4rem;
}

.quote blockquote::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  bottom: .15em;
  width: 4px;
  border-radius: 4px;
  background: var(--blue);
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.quote__avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gradient);
  color: var(--white);
  font-weight: 700;
  font-size: .92rem;
}

.quote figcaption strong { display: block; font-size: .98rem; }
.quote figcaption small { color: var(--ink-soft); font-size: .85rem; }

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

.section--contact {
  background:
    radial-gradient(760px 420px at 88% 8%, rgba(1, 114, 188, .16), transparent 65%),
    linear-gradient(180deg, #F5F9FC 0%, #EAF3FA 100%);
}

.contact {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}

.contact__text { color: var(--ink-soft); max-width: 44ch; }

.contact__list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.contact__list li { display: flex; gap: .95rem; align-items: flex-start; }

.contact__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--blue);
  border: 1px solid var(--line);
}

.contact__icon svg { width: 20px; height: 20px; }

.contact__list strong { display: block; font-size: .95rem; }
.contact__list small { color: var(--ink-soft); font-size: .92rem; }

.form {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 1.05rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.05rem;
}

.field { display: grid; gap: .4rem; }

.field > span {
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .02em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .78rem .95rem;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  font: inherit;
  font-size: .96rem;
  color: var(--ink);
  background: #FBFDFE;
  transition: border-color .18s ease, box-shadow .18s ease;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(1, 114, 188, .13);
}

.field input::placeholder,
.field textarea::placeholder { color: #9BAAB6; }

.form__note {
  margin: 0;
  font-size: .82rem;
  color: var(--ink-soft);
  text-align: center;
}

.form__note.is-success { color: #1B7F4C; font-weight: 600; }
.form__note.is-error { color: #C0392B; font-weight: 600; }

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

.footer {
  background: var(--blue-deep);
  color: rgba(255, 255, 255, .78);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.15fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
}

.footer__logo-wrap {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.1rem;
}

.footer__mark {
  width: 46px;
  height: 52px;
  object-fit: contain;
}

.footer__brand p {
  font-size: .93rem;
  max-width: 34ch;
  margin: 0;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer__nav strong {
  display: block;
  color: var(--white);
  font-size: .84rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}

.footer__nav a {
  display: block;
  font-size: .93rem;
  padding: .22rem 0;
  transition: color .18s ease;
}

.footer__nav a:hover { color: var(--blue-light); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .84rem;
  color: rgba(255, 255, 255, .55);
}

/* ---------------- Dialogo da conta ---------------- */

.dialog {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  place-items: center;
}
.dialog__overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 33, 46, 0.45);
  backdrop-filter: blur(4px);
}
.dialog__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: min(460px, 92vw);
  max-height: 85vh;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.dialog.is-open {
  display: grid;
}
.dialog.is-open .dialog__panel {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.dialog__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--ink-soft);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.dialog__close svg {
  width: 20px;
  height: 20px;
}
.dialog__header {
  padding: 2rem 2rem 1rem;
  margin-bottom: 1rem;
}
.dialog__title {
  font-size: 1.5rem;
}
.dialog__sub {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-top: 0.25rem;
}
.dialog__sub code {
  font-size: 0.82rem;
  background: var(--blue-pale);
  color: var(--blue-dark);
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
}
.dialog__form {
  padding: 0 2rem 2rem;
  display: grid;
  gap: 1.2rem;
}
.dialog__form .field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.dialog__form .field > span {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.dialog__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dialog__input-wrap input {
  flex: 1;
  padding-right: 44px;
}
.field__toggle,
.field__copy {
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  color: var(--ink-soft);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.field__toggle svg,
.field__copy svg {
  width: 18px;
  height: 18px;
}
.field__toggle:hover,
.field__copy:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-pale);
}
.dialog__note {
  margin: 0;
  font-size: 0.88rem;
  text-align: center;
  min-height: 1.2em;
}
.dialog__note.is-error {
  color: #C0392B;
  font-weight: 600;
}
.dialog__note.is-success {
  color: #1B7F4C;
  font-weight: 600;
}
.dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}
.dialog__actions .btn--ghost {
  width: auto;
  color: var(--ink-soft);
  border-color: var(--line);
}

.dialog__actions .btn--ghost:hover {
  background: rgba(18, 33, 46, .06);
  color: var(--ink);
  border-color: var(--ink-soft);
}

/* ---------------- Dialogo de gerenciamento de menus ---------------- */

.menus__toolbar {
  display: flex;
  gap: .5rem;
  margin-bottom: 1rem;
}

.menus__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: .92rem;
}

.menus__table th,
.menus__table td {
  padding: .6rem .8rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.menus__table th {
  background: #F5F9FC;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.menus__table td {
  color: var(--ink);
}

.menus__table tr:last-child td {
  border-bottom: none;
}

.menus__table tr:hover {
  background: rgba(1, 114, 188, .04);
}

.btn--small {
  padding: .45rem .85rem;
  font-size: .85rem;
}

.menu__editor .field {
  margin-bottom: .8rem;
}

.menu__editor .field > span {
  display: block;
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: .3rem;
}

/* Area do utilizador autenticado na topbar */
.topbar__user-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.topbar__user-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.topbar__logout {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.18s ease, color 0.18s ease;
  text-decoration: none;
}
.topbar__logout:hover {
  color: var(--blue-dark);
  background: var(--blue-pale);
}
.topbar__logout svg {
  width: 18px;
  height: 18px;
}

/* Botao de conta na topbar */
.topbar__user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.18s ease, color 0.18s ease;
}
.topbar__user:hover {
  color: var(--blue);
  background: var(--blue-pale);
}
.topbar__user svg {
  width: 20px;
  height: 20px;
}

/* ---------------- Responsivo ---------------- */

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .hero__content { max-width: none; }
  .hero__wave { clip-path: ellipse(90% 100% at 50% 100%); }
  .about, .contact { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
}

@media (max-width: 860px) {
  .burger { display: flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    padding: 1rem 24px 1.4rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }

  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }

  .nav__link { padding: .75rem .6rem; border-radius: 10px; }
  .nav__link--cta { margin: .5rem 0 0; text-align: center; }

  .grid--3 { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .hero__stats { gap: 1.5rem 2rem; }
  .hero__badge { padding: 1.2rem 1.5rem; gap: .8rem; }
  .hero__badge-mark { width: 56px; height: 64px; }
}

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