:root {
  --green-950: #153c2a;
  --green-900: #1d4e35;
  --green-800: #2e6f3f;
  --green-700: #2e7d32;
  --green-600: #3f9144;
  --brown: #5d4037;
  --orange: #ff8f00;
  --orange-dark: #e07d00;
  --whatsapp: #25d366;
  --cream: #fbf6ee;
  --cream-deep: #ece4d5;
  --paper: #fffdf8;
  --white: #fff;
  --ink: #29251f;
  --ink-soft: #665f56;
  --line: #e7e0d3;
  --red: #a14536;
  --shadow-soft: 0 16px 42px rgba(46, 39, 31, 0.1);
  --shadow: 0 26px 72px rgba(46, 39, 31, 0.16);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

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

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

button,
select {
  cursor: pointer;
}

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

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  line-height: 1.1;
}

h2 {
  font-size: clamp(2.2rem, 4.6vw, 4rem);
}

p {
  line-height: 1.75;
}

:focus-visible {
  outline: 3px solid rgba(255, 143, 0, 0.65);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

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

.eyebrow {
  margin-bottom: 10px;
  color: var(--green-700);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow--orange {
  color: var(--orange);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.78);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  background: var(--green-700);
  color: var(--white);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #256b2a;
  box-shadow: 0 14px 30px rgba(46, 125, 50, 0.22);
}

.button--large {
  min-height: 56px;
  padding: 15px 28px;
}

.button--primary {
  background: var(--green-700);
  box-shadow: 0 14px 30px rgba(46, 125, 50, 0.22);
}

.button--orange {
  background: var(--orange);
  box-shadow: 0 14px 30px rgba(255, 143, 0, 0.24);
}

.button--orange:hover {
  background: var(--orange-dark);
}

.button--glass {
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.button--glass:hover {
  background: var(--white);
  color: var(--green-700);
}

.button--outline {
  border: 1px solid var(--green-700);
  background: transparent;
  color: var(--green-700);
  box-shadow: none;
}

.button--outline:hover {
  background: #eff8eb;
  color: var(--green-800);
}

.button--whatsapp {
  min-height: 42px;
  background: var(--whatsapp);
  padding: 10px 18px;
  font-size: 0.88rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.text-link {
  color: var(--green-700);
  font-weight: 800;
}

/* Cabeçalho inspirado na versão publicada em /2026/ */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  background: rgba(29, 78, 53, 0.97);
  color: var(--white);
  transition: background 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.site-header--overlay {
  background: transparent;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 10px 34px rgba(31, 36, 29, 0.12);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  position: relative;
  display: inline-flex;
  width: 168px;
  align-items: center;
}

.brand img {
  width: 100%;
  max-height: 62px;
  border-radius: 999px;
  background: rgba(29, 78, 53, 0.88);
  padding: 4px 9px;
  object-fit: contain;
}

.brand__fallback {
  display: none;
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
}

.brand__fallback small {
  display: block;
  font-family: Poppins, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header.is-scrolled .brand__fallback {
  color: var(--green-900);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 32px);
}

.desktop-nav a {
  position: relative;
  color: inherit;
  font-size: 0.86rem;
  font-weight: 700;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
}

.button--header {
  min-height: 44px;
  padding: 11px 20px;
  font-size: 0.84rem;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  padding: 12px;
}

.site-header.is-scrolled .menu-toggle {
  border-color: var(--line);
  background: var(--cream);
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.menu-toggle span + span {
  margin-top: 5px;
}

.mobile-menu {
  display: none;
  width: min(480px, calc(100% - 32px));
  margin: 0 auto 16px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 12px;
}

.mobile-menu.is-open {
  display: grid;
}

.mobile-menu a {
  border-radius: 13px;
  padding: 13px 15px;
  font-weight: 700;
}

.mobile-menu a:hover {
  background: var(--cream);
  color: var(--green-800);
}

/* Página inicial */
.home-hero {
  display: grid;
  min-height: 100svh;
  place-items: center;
  background: linear-gradient(135deg, #0b2f22, #1e5638);
  color: var(--white);
  padding: 130px 20px 82px;
  text-align: center;
}

.home-hero__content {
  max-width: 990px;
}

.hero-kicker {
  display: inline-flex;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  padding: 9px 18px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.home-hero h1 {
  max-width: 970px;
  margin: 0 auto;
  font-size: clamp(3.1rem, 7vw, 6.35rem);
}

.home-hero__lead {
  max-width: 790px;
  margin: 26px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 2vw, 1.42rem);
}

.home-hero__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
}

.feature-section {
  padding: 80px 0;
}

.feature-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  border: 1px solid rgba(93, 64, 55, 0.06);
  border-radius: 32px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  padding: clamp(28px, 4vw, 38px);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.feature-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.feature-card__icon {
  font-size: 2.45rem;
}

.feature-card h2 {
  margin: 20px 0 12px;
  color: var(--brown);
  font-size: clamp(1.9rem, 3vw, 2.55rem);
}

.feature-card p {
  min-height: 84px;
  color: var(--ink-soft);
}

.feature-card a {
  color: var(--green-700);
  font-weight: 800;
}

.frozen-section {
  background: var(--white);
  padding: 100px 0;
}

.frozen-section__grid {
  display: grid;
  align-items: center;
  gap: clamp(42px, 7vw, 90px);
  grid-template-columns: 0.92fr 1.08fr;
}

.frozen-section__content h2 {
  margin-bottom: 24px;
  color: var(--brown);
}

.frozen-section__content > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.frozen-section__content .button-row {
  margin-top: 30px;
}

.frozen-gallery {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.frozen-gallery img {
  width: 100%;
  height: 300px;
  border-radius: 32px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.frozen-gallery img:nth-child(2) {
  margin-top: 42px;
}

.account-cta-section {
  padding: 95px 0;
}

.account-cta {
  border-radius: 40px;
  background: var(--brown);
  box-shadow: var(--shadow);
  color: var(--white);
  padding: clamp(40px, 7vw, 78px);
  text-align: center;
}

.account-cta h2 {
  max-width: 920px;
  margin-inline: auto;
}

.account-cta > p:not(.eyebrow) {
  max-width: 800px;
  margin: 22px auto 30px;
  color: rgba(255, 255, 255, 0.78);
}

/* Páginas internas */
.page-main {
  min-height: 72vh;
  background: var(--cream);
  padding-bottom: 80px;
}

.page-hero {
  background: linear-gradient(120deg, #123d2b, #1e5638);
  color: var(--white);
  padding: 142px 0 105px;
}

.page-hero__inner {
  display: grid;
  align-items: center;
  gap: 52px;
  grid-template-columns: 1fr 340px;
}

.page-hero h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: clamp(2.9rem, 6vw, 5.25rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
}

.page-hero--center {
  padding-bottom: 120px;
  text-align: center;
}

.page-hero--center h1,
.page-hero--center p:not(.eyebrow) {
  margin-right: auto;
  margin-left: auto;
}

.page-hero__aside {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  padding: 25px;
  backdrop-filter: blur(14px);
}

.page-hero__aside > strong {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-hero__aside ul {
  display: grid;
  margin: 17px 0 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.page-hero__aside li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
}

.page-hero__aside li::before {
  position: absolute;
  top: 0.54em;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.account-choice-shell,
.product-shell,
.pix-shell {
  position: relative;
  z-index: 2;
  margin-top: -54px;
}

.account-choice-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-choice-card {
  min-height: 390px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: clamp(30px, 5vw, 50px);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.account-choice-card:hover {
  transform: translateY(-7px);
}

.account-choice-card__icon {
  display: grid;
  width: 66px;
  height: 66px;
  margin-bottom: 32px;
  place-items: center;
  border-radius: 20px;
  background: #eff8eb;
  font-size: 2rem;
}

.account-choice-card__icon--orange {
  background: #fff2df;
}

.account-choice-card h2 {
  margin-bottom: 18px;
  color: var(--brown);
  font-size: clamp(2rem, 4vw, 3rem);
}

.account-choice-card > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.account-choice-card > strong {
  display: inline-flex;
  margin-top: 22px;
  color: var(--green-700);
}

/* Formulários — padrão visual da v1.0.1 */
.form-shell {
  position: relative;
  z-index: 2;
  margin-top: -44px;
  padding-bottom: 30px;
}

.account-form {
  display: grid;
  gap: 20px;
}

.account-form--compact {
  align-content: start;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-section {
  border: 1px solid rgba(29, 78, 53, 0.1);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 4.2vw, 38px);
}

.form-section__heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 30px;
}

.form-section__heading > span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 900;
}

.form-section__heading h2,
.form-section__title {
  margin: 0;
  color: var(--brown);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.form-section__heading p,
.form-section__description {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid--spaced {
  margin-top: 24px;
}

.field {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.field--wide {
  grid-column: span 2;
}

.field > span:first-child,
.admin-filters label > span {
  color: #425548;
  font-size: 0.82rem;
  font-weight: 800;
}

.field small {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.input,
.field > input,
.field > select,
.field > textarea,
.filters input,
.filters select {
  width: 100%;
  min-height: 50px;
  border: 1px solid #cfc8ba;
  border-radius: 11px;
  background: #fffefa;
  color: var(--ink);
  padding: 12px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field > textarea,
textarea.input {
  min-height: 102px;
  resize: vertical;
}

.input::placeholder,
.field input::placeholder,
.field textarea::placeholder {
  color: #969b94;
}

.input:focus,
.field input:focus,
.field select:focus,
.field textarea:focus,
.filters input:focus,
.filters select:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(51, 123, 80, 0.12);
  outline: none;
}

.input--file {
  min-height: 56px;
}

.student-list {
  display: grid;
  margin-bottom: 20px;
  gap: 18px;
}

.student-card {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius-md);
  background: #fcfaf5;
  padding: 24px;
}

.student-card__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.student-card legend {
  float: left;
  font-weight: 900;
}

.text-button {
  border: 0;
  background: none;
  color: var(--green-800);
  font-size: 0.82rem;
  font-weight: 800;
}

.text-button--danger {
  color: var(--red);
}

.choice-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-option {
  display: flex;
  min-height: 120px;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fffefa;
  padding: 22px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.choice-option:has(input:checked) {
  border-color: var(--green-700);
  background: #f3f8ef;
}

.choice-option input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 3px 0 0;
  accent-color: var(--green-800);
}

.choice-option > span {
  display: grid;
  gap: 5px;
}

.choice-option strong {
  color: var(--green-900);
}

.choice-option small {
  color: var(--ink-soft);
  line-height: 1.55;
}

.money-field {
  display: flex;
  min-height: 50px;
  align-items: center;
  border: 1px solid #cfc8ba;
  border-radius: 11px;
  background: #fffefa;
}

.money-field:focus-within {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(51, 123, 80, 0.12);
}

.money-field > b {
  padding-left: 14px;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.money-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 12px 14px 12px 8px;
  outline: 0;
}

.form-consent {
  display: grid;
  border: 1px solid rgba(29, 78, 53, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.9);
  padding: 24px 28px;
  gap: 14px;
}

.form-consent label,
.check-line {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  cursor: pointer;
}

.form-consent input,
.check-line input {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin-top: 3px;
  accent-color: var(--green-800);
}

.form-consent span,
.check-line span {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.65;
}

.form-submit,
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 8px;
}

.form-submit p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.form-alert {
  border: 1px solid #e0a79b;
  border-radius: 13px;
  background: #fff1ee;
  color: #7a2e22;
  padding: 15px 18px;
  font-weight: 700;
}

.form-alert--success {
  border-color: #add49b;
  background: #edf8e8;
  color: #205b3b;
}

/* Congelados */
.product-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  overflow: hidden;
  border-radius: 32px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-card__image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.045);
}

.product-card__image > span {
  position: absolute;
  top: 18px;
  left: 18px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  padding: 7px 12px;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__content {
  padding: 26px;
}

.product-card__content h2 {
  min-height: 58px;
  margin-bottom: 12px;
  color: var(--brown);
  font-size: 1.65rem;
}

.product-card__content > p {
  min-height: 72px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.product-card__content > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.product-card__content > div > strong {
  color: var(--green-700);
  font-size: 1.3rem;
}

.catalog-note {
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  text-align: center;
}

/* Pix */
.pix-grid {
  display: grid;
  align-items: start;
  gap: 28px;
  grid-template-columns: 0.85fr 1.15fr;
}

.pix-card {
  position: sticky;
  top: 104px;
  border-radius: 32px;
  background: var(--green-950);
  box-shadow: var(--shadow);
  color: var(--white);
  padding: clamp(30px, 5vw, 48px);
}

.pix-card h2 {
  font-size: 2.7rem;
}

.pix-card p {
  color: rgba(255, 255, 255, 0.8);
}

.pix-card code {
  display: block;
  margin: 10px 0 24px;
  overflow-wrap: anywhere;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  padding: 15px;
  font-size: 1rem;
}

/* Administração */
.admin-body {
  min-height: 100vh;
  background: #eef1ec;
}

.admin-topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  background: var(--green-950);
  color: var(--white);
}

.admin-topbar__inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admin-topbar nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.admin-topbar a {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
  font-weight: 750;
}

.admin-main {
  padding: 35px 0 70px;
}

.admin-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
}

.admin-heading h1 {
  margin-bottom: 0;
  color: var(--green-900);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.metrics-grid {
  display: grid;
  gap: 17px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-card {
  border: 1px solid #dce3da;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.metric-card span {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin-top: 7px;
  color: var(--green-800);
  font-family: Georgia, serif;
  font-size: 2.5rem;
}

.admin-panel {
  margin-top: 24px;
  border: 1px solid #dce3da;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  padding: clamp(20px, 4vw, 32px);
}

.admin-panel h2 {
  margin-bottom: 20px;
  color: var(--green-900);
  font-size: 2rem;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid #e8ebe6;
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  background: #eaf3e4;
  color: var(--green-800);
  padding: 5px 9px;
  font-size: 0.74rem;
  font-weight: 850;
  white-space: nowrap;
}

.badge--warning {
  background: #fff4d5;
  color: #745611;
}

.filters {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
  grid-template-columns: 1fr 190px 160px auto;
}

.admin-details {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid #ccd8ce;
  border-radius: 22px;
  background: #f8fbf7;
}

.admin-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
  list-style: none;
  cursor: pointer;
}

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

.admin-details > summary strong {
  display: block;
  color: var(--green-900);
  font-family: Georgia, serif;
  font-size: 1.65rem;
}

.admin-details > summary span {
  color: var(--ink-soft);
}

.admin-details > summary::after {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--white);
  content: "+";
  font-size: 1.35rem;
}

.admin-details[open] > summary::after {
  content: "−";
}

.admin-details__content {
  border-top: 1px solid #dce3da;
  padding: 28px;
}

.settings-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-card {
  min-width: 0;
  border: 1px solid #dce3da;
  border-radius: 18px;
  background: var(--white);
  padding: 22px;
}

.settings-card h3 {
  margin-bottom: 18px;
  color: var(--green-900);
  font-size: 1.45rem;
}

.settings-card form + form {
  margin-top: 22px;
}

.server-facts {
  display: grid;
  margin: 0;
  gap: 10px;
}

.server-facts div {
  display: grid;
  border-bottom: 1px solid #edf0eb;
  padding-bottom: 9px;
  gap: 2px;
}

.server-facts dt {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.server-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.admin-login {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background: linear-gradient(145deg, var(--green-950), var(--green-800));
  padding: 24px;
}

.login-card {
  width: min(450px, 100%);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(5, 27, 17, 0.4);
  padding: clamp(28px, 6vw, 48px);
}

.login-card h1 {
  margin-bottom: 12px;
  color: var(--green-900);
  font-size: 3rem;
}

.login-card .field {
  margin-top: 16px;
}

.login-card .button {
  width: 100%;
  margin-top: 22px;
}

.password-field { position: relative; display: block; }
.password-field .input { padding-right: 78px; }
.password-field button { position: absolute; right: 7px; top: 50%; border: 0; border-radius: 999px; background: #e8efe5; color: var(--green-900); padding: 7px 12px; font: inherit; font-size: .75rem; font-weight: 800; line-height: 1; transform: translateY(-50%); cursor: pointer; }
.login-links { display: flex; justify-content: space-between; gap: 20px; margin-top: 20px; text-align: center; }
.login-card--wide { width: min(560px,100%); }
.recovery-emergency { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid #dce3da; text-align: center; }
.admin-heading__actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.metric-card--attention { border-color: #efc486; background: #fff8e8; }
.badge--success { background: #dff2df; color: #15502d; }
.badge--danger { background: #f9dfda; color: #8d3028; }
.table-action { display: inline-flex; border-radius: 999px; background: var(--green-900); color: #fff; padding: 8px 12px; font-size: .78rem; font-weight: 850; white-space: nowrap; }
.table-action:hover { color: #fff; background: var(--green-700); }
.account-admin-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(320px,.65fr); gap: 24px; align-items: start; }
.account-admin-layout > aside { position: sticky; top: 92px; }
.admin-panel--first { margin-top: 0; }
.panel-heading-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.detail-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; overflow: hidden; margin: 0; border: 1px solid #e1e6df; border-radius: 16px; background: #e1e6df; }
.detail-list > div { min-width: 0; background: #fff; padding: 14px 16px; }
.detail-list__wide { grid-column: 1/-1; }
.detail-list dt,.student-admin-card dt { color: var(--ink-soft); font-size: .68rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.detail-list dd,.student-admin-card dd { margin: 4px 0 0; overflow-wrap: anywhere; font-weight: 700; }
.student-admin-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.student-admin-card { border: 1px solid #dfe5dc; border-radius: 18px; background: #f9fbf7; padding: 20px; }
.student-admin-card > span { color: var(--orange-600); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.student-admin-card h3 { margin: 5px 0 16px; color: var(--green-900); font-size: 1.35rem; }
.student-admin-card dl { display: grid; gap: 10px; margin: 0; }
.student-admin-card dl > div { border-top: 1px solid #e1e6df; padding-top: 9px; }
.account-workflow-card form { display: grid; gap: 16px; }
.check-line { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-soft); font-size: .85rem; line-height: 1.45; }
.check-line input { margin-top: 3px; }
.account-summary-card form { margin-top: 20px; }
.account-timeline { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.account-timeline li { position: relative; border-left: 2px solid #dce5da; padding: 0 0 24px 22px; }
.account-timeline li::before { position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border: 3px solid #fff; border-radius: 50%; background: var(--green-700); box-shadow: 0 0 0 1px #b9cabd; content: ""; }
.account-timeline time { display: block; color: var(--ink-soft); font-size: .72rem; }
.account-timeline strong { display: block; margin-top: 3px; color: var(--green-900); }
.account-timeline p { margin: 3px 0; }
.account-timeline small { color: var(--ink-soft); }

@media (max-width: 980px) { .account-admin-layout { grid-template-columns: 1fr; } .account-admin-layout > aside { position: static; } }
@media (max-width: 640px) { .login-links,.admin-heading__actions { align-items: stretch; flex-direction: column; } .detail-list,.student-admin-grid { grid-template-columns: 1fr; } .detail-list__wide { grid-column: auto; } }

/* Rodapé e movimento */
.site-footer {
  background: #0f1712;
  color: rgba(255, 255, 255, 0.72);
  padding: 66px 0 20px;
}

.site-footer__grid {
  display: grid;
  gap: 50px;
  grid-template-columns: 1.5fr 0.75fr 0.75fr;
}

.site-footer__grid > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer__grid p {
  max-width: 560px;
  font-size: 0.9rem;
}

.site-footer__grid strong {
  margin-bottom: 6px;
  color: var(--white);
}

.brand--footer {
  margin-bottom: 10px;
}

.site-footer a:hover {
  color: var(--orange);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.78rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1040px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .button--header {
    margin-left: auto;
  }

  .frozen-section__grid,
  .page-hero__inner,
  .pix-grid {
    grid-template-columns: 1fr;
  }

  .page-hero__aside {
    max-width: 620px;
  }

  .product-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card:last-child {
    grid-column: 1 / -1;
  }

  .pix-card {
    position: static;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }

  .filters {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-container,
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header__inner {
    min-height: 72px;
  }

  .brand {
    width: 150px;
  }

  .button--header {
    display: none;
  }

  .home-hero {
    min-height: 88svh;
    padding-top: 112px;
  }

  .home-hero h1 {
    font-size: clamp(2.75rem, 13vw, 4.4rem);
  }

  .hero-kicker {
    letter-spacing: 0.14em;
  }

  .home-hero__actions,
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .feature-section,
  .frozen-section,
  .account-cta-section {
    padding: 62px 0;
  }

  .feature-grid,
  .product-grid,
  .account-choice-grid,
  .form-grid,
  .choice-grid,
  .metrics-grid,
  .filters {
    grid-template-columns: 1fr;
  }

  .feature-card:last-child,
  .field--wide {
    grid-column: auto;
  }

  .feature-card p {
    min-height: 0;
  }

  .frozen-gallery {
    gap: 14px;
  }

  .frozen-gallery img {
    height: 220px;
    border-radius: 24px;
  }

  .frozen-gallery img:nth-child(2) {
    margin-top: 26px;
  }

  .account-cta {
    border-radius: 30px;
  }

  .page-hero {
    padding: 118px 0 84px;
  }

  .page-hero--center {
    padding-bottom: 100px;
  }

  .page-hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
  }

  .page-hero__inner {
    gap: 30px;
  }

  .account-choice-card {
    min-height: 340px;
    padding: 30px 25px;
  }

  .form-shell {
    margin-top: -34px;
  }

  .form-section {
    padding: 25px 20px;
  }

  .form-section__heading {
    gap: 13px;
  }

  .student-card {
    padding: 19px 15px;
  }

  .choice-option {
    min-height: 108px;
  }

  .form-submit,
  .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .form-submit .button,
  .form-actions .button {
    width: 100%;
  }

  .product-card__content h2,
  .product-card__content > p {
    min-height: 0;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 5px;
  }

  .admin-topbar__inner {
    min-height: 94px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
  }

  .admin-topbar nav {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  .admin-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-details > summary,
  .admin-details__content {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
