/* ================================================================
   HERICK MARTINS — HOMEPAGE ACADÊMICA
   Design mobile-first, acessível e sem dependências de framework.
   ================================================================ */

/* ---------- Tokens e reset ---------- */
:root {
  --ink: #14383b;
  --ink-deep: #0b292c;
  --teal: #176f70;
  --teal-dark: #10585b;
  --mint: #b9e0d7;
  --mint-soft: #e5f3ef;
  --aqua: #d5ebe6;
  --lime: #d5e77f;
  --cream: #f5f1e8;
  --paper: #fbfaf6;
  --white: #ffffff;
  --orange: #ec714e;
  --muted: #637575;
  --line: rgba(20, 56, 59, 0.14);
  --shadow-sm: 0 12px 35px rgba(14, 56, 58, 0.09);
  --shadow-lg: 0 28px 70px rgba(8, 42, 44, 0.16);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 36px;
  --container: 1180px;
  --header-height: 74px;
  --font-heading: "Manrope", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

svg {
  display: block;
}

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

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

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

::selection {
  color: var(--ink-deep);
  background: var(--lime);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink-deep);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.section {
  position: relative;
  padding: 88px 0;
}

.section h2,
.hero h1 {
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.section h2 {
  max-width: 760px;
  font-size: clamp(2.25rem, 8vw, 4.8rem);
}

.section h2 em,
.hero h1 em {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--teal);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 26px;
  height: 2px;
  background: currentColor;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px 22px;
  color: var(--white);
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button svg,
.text-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.button:hover {
  background: var(--ink-deep);
  border-color: var(--ink-deep);
  transform: translateY(-2px);
}

.button:hover svg,
.text-link:hover svg {
  transform: translateX(4px);
}

/* ---------- Cabeçalho e navegação ---------- */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  background: rgba(251, 250, 246, 0.9);
  border-bottom: 1px solid rgba(20, 56, 59, 0.08);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-symbol {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
}

.brand-symbol svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  overflow: hidden;
  max-width: 205px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.menu-toggle {
  position: relative;
  z-index: 1002;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  place-content: center;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px 0;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.main-nav {
  position: absolute;
  z-index: 1001;
  top: 100%;
  right: 0;
  left: 0;
  display: flex;
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  overflow-y: auto;
  padding: 42px 28px;
  background: var(--paper);
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  overscroll-behavior: contain;
  pointer-events: none;
  transform: translateY(-14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.main-nav > a:not(.button) {
  padding: 13px 0;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 6vw, 1.8rem);
  font-weight: 700;
}

.main-nav .button-nav {
  margin-top: 22px;
}

.main-nav .button-login {
  margin-top: 10px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 94% 8%, rgba(213, 231, 127, 0.45), transparent 25%),
    linear-gradient(120deg, #f7f4ec 0%, #eef5f1 100%);
}

.hero::before {
  position: absolute;
  top: 12%;
  left: -80px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(23, 111, 112, 0.13);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  display: grid;
  min-height: calc(100svh - var(--header-height));
  padding-top: 64px;
  padding-bottom: 76px;
  align-items: center;
  gap: 66px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 810px;
  color: var(--ink-deep);
  font-size: clamp(3.2rem, 13.6vw, 7rem);
}

.hero h1 em {
  display: inline-block;
  color: var(--teal);
}

.hero-lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: #4d6767;
  font-size: clamp(1.05rem, 3.5vw, 1.22rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  margin-top: 32px;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
}

.mini-play {
  display: grid;
  width: 38px;
  height: 38px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
}

.mini-play svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--teal);
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-proof {
  display: flex;
  margin: 28px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-proof svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-width: 2;
}

.hero-visual {
  position: relative;
  width: min(100%, 530px);
  margin-inline: auto;
}

.portrait-wrap {
  position: relative;
  overflow: hidden;
  width: min(84vw, 470px);
  aspect-ratio: 0.84;
  margin-inline: auto;
  background: var(--ink-deep);
  border-radius: 220px 220px 28px 28px;
  box-shadow: var(--shadow-lg);
}

.portrait-wrap::after {
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(5, 28, 30, 0.6));
  content: "";
}

.portrait-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.portrait-dot {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
}

.dot-two {
  top: 19%;
  left: 5%;
  width: 6px;
  height: 6px;
  background: var(--white);
}

.student-stamp {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 20px;
  display: flex;
  width: 112px;
  height: 112px;
  color: var(--ink-deep);
  background: var(--lime);
  border: 6px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-7deg);
}

.student-stamp svg {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.student-stamp span {
  font-size: 0.59rem;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.student-stamp strong {
  font-family: var(--font-heading);
  font-size: 0.82rem;
}

.hero-ticker {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 14px 12px;
  color: var(--mint-soft);
  background: var(--ink-deep);
  align-items: center;
  justify-content: space-around;
  gap: 9px;
}

.hero-ticker span {
  font-family: var(--font-heading);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.hero-ticker i {
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
}

/* ---------- Sobre ---------- */
.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  gap: 62px;
}

.about-media {
  position: relative;
  min-height: 520px;
}

.about-photo {
  overflow: hidden;
  width: calc(100% - 28px);
  height: 520px;
  margin-left: auto;
  border-radius: 180px 20px 20px 20px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.vertical-label {
  position: absolute;
  top: 120px;
  left: -117px;
  width: 270px;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-align: center;
  transform: rotate(-90deg);
}

.quote-card {
  position: absolute;
  right: -4px;
  bottom: -25px;
  width: min(250px, 76%);
  padding: 22px;
  color: var(--white);
  background: var(--teal);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.quote-card span {
  color: var(--lime);
  font-family: Georgia, serif;
  font-size: 3.2rem;
  line-height: 0.6;
}

.quote-card p {
  margin: 10px 0 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.about-copy > p:not(.eyebrow) {
  margin: 19px 0 0;
  color: var(--muted);
}

.about-copy .about-lead {
  color: var(--ink) !important;
  font-size: 1.15rem;
  line-height: 1.6;
}

.academic-facts {
  display: grid;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.academic-facts > div {
  display: grid;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  gap: 2px;
}

.academic-facts small {
  color: var(--teal);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.academic-facts strong {
  font-family: var(--font-heading);
  font-size: 1rem;
}

.academic-facts span {
  color: var(--muted);
  font-size: 0.78rem;
}

.supervision-note {
  display: flex;
  margin-top: 30px;
  padding: 20px;
  background: var(--mint-soft);
  border: 1px solid rgba(23, 111, 112, 0.15);
  border-radius: var(--radius-sm);
  gap: 14px;
}

.supervision-note svg {
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  margin-top: 3px;
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.supervision-note p {
  margin: 0 !important;
  color: var(--ink) !important;
  font-size: 0.86rem;
  line-height: 1.55;
}

.supervision-note strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-heading);
}

/* ---------- Jornada acadêmica ---------- */
.journey {
  overflow: hidden;
  color: var(--white);
  background: var(--ink-deep);
}

.journey::after {
  position: absolute;
  right: -130px;
  bottom: -150px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(185, 224, 215, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(185, 224, 215, 0.035), 0 0 0 110px rgba(185, 224, 215, 0.025);
  content: "";
}

.section-heading {
  position: relative;
  z-index: 2;
  margin-bottom: 56px;
}

.heading-row > p {
  max-width: 470px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.timeline {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 23px;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
  content: "";
}

.timeline li {
  position: relative;
  display: grid;
  min-height: 190px;
  padding: 0 0 44px 70px;
}

.timeline-index {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  display: grid;
  width: 47px;
  height: 47px;
  color: var(--mint);
  background: var(--ink-deep);
  border: 1px solid rgba(185, 224, 215, 0.35);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  place-items: center;
}

.timeline li.current .timeline-index {
  color: var(--ink-deep);
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 0 0 7px rgba(213, 231, 127, 0.1);
}

.timeline small {
  color: var(--mint);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.timeline h3 {
  margin: 4px 0 9px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
}

.timeline p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.current-tag {
  display: none;
}

/* ---------- Meu trabalho / vídeos ---------- */
.work {
  background: var(--cream);
}

.heading-row.dark-text > p {
  color: var(--muted);
}

.video-grid {
  display: grid;
  gap: 24px;
}

.video-carousel {
  min-width: 0;
}

.video-carousel.is-carousel .video-viewport {
  overflow: hidden;
}

.video-carousel.is-carousel .video-grid {
  display: flex;
  grid-template-columns: none;
  align-items: stretch;
  transition: transform 500ms ease;
  will-change: transform;
}

.video-carousel.is-carousel .video-grid.is-resetting {
  transition: none;
}

.video-carousel.is-carousel .video-card {
  flex: 0 0 100%;
  height: auto;
}

.video-carousel-controls {
  display: flex;
  margin-top: 24px;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.video-carousel-controls[hidden] {
  display: none;
}

.carousel-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--white);
  background: var(--teal);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
  transition: background 180ms ease, transform 180ms ease;
}

.carousel-arrow:hover {
  background: var(--ink-deep);
  transform: translateY(-2px);
}

.carousel-arrow svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(23, 111, 112, 0.28);
  border: 0;
  border-radius: 50%;
  cursor: default;
  transition: width 180ms ease, background 180ms ease;
}

.carousel-dot.is-active {
  width: 26px;
  background: var(--teal);
  border-radius: 999px;
}

.video-card {
  display: flex;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  flex-direction: column;
}

.native-player,
.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 12;
  background: var(--ink-deep);
}

.native-player video,
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.native-player video {
  position: absolute;
  inset: 0;
  object-fit: contain;
}

.video-play-overlay {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100%;
  padding: 0;
  color: var(--ink-deep);
  background: linear-gradient(rgba(8, 34, 36, 0.12), rgba(8, 34, 36, 0.28));
  border: 0;
  cursor: pointer;
  place-items: center;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.video-play-overlay .play-button {
  margin: 0;
  box-shadow: 0 12px 28px rgba(8, 34, 36, 0.28);
}

.video-play-overlay:hover .play-button,
.video-play-overlay:focus-visible .play-button {
  transform: scale(1.1);
}

.video-play-overlay:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: -5px;
}

.native-player.is-playing .video-play-overlay {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.video-placeholder {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  width: 100%;
  padding: 22px;
  color: var(--white);
  background: linear-gradient(180deg, transparent 24%, rgba(8, 34, 36, 0.82));
  border: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
  cursor: pointer;
}

.video-placeholder::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(7, 28, 30, 0.87));
  content: "";
}

.video-placeholder > * {
  position: relative;
  z-index: 2;
}

.play-button {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  color: var(--ink-deep);
  background: var(--lime);
  border-radius: 50%;
  place-items: center;
  transition: transform 180ms ease;
}

.video-placeholder:hover .play-button,
.video-card:hover .play-button {
  transform: scale(1.08);
}

.play-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.video-placeholder strong,
.video-placeholder small {
  display: block;
}

.video-placeholder strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.video-placeholder small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
}

.video-placeholder.is-notified .play-button {
  color: var(--teal);
  background: var(--white);
}

.video-thumb::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 34, 36, 0.38));
  content: "";
}

.video-thumb .play-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
}

.video-card:hover .video-thumb .play-button {
  transform: translate(-50%, -50%) scale(1.08);
}

.play-button.muted {
  color: var(--white);
  background: rgba(8, 41, 44, 0.76);
  backdrop-filter: blur(10px);
}

.soon-label {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  padding: 6px 11px;
  color: var(--ink-deep);
  background: var(--lime);
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-meta {
  display: flex;
  padding: 23px;
  flex: 1;
  flex-direction: column;
}

.video-meta > span {
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.video-meta strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.45;
}

.video-meta small {
  margin-top: 7px;
  color: var(--muted);
}

.media-note {
  display: flex;
  margin-top: 28px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(20, 56, 59, 0.1);
  border-radius: var(--radius-sm);
  flex-direction: column;
  gap: 4px;
}

.media-note strong {
  font-family: var(--font-heading);
  font-size: 0.82rem;
}

.media-note span {
  color: var(--muted);
  font-size: 0.78rem;
}

/* ---------- Agendamento ---------- */
.booking {
  overflow: hidden;
  color: var(--white);
  background: var(--teal-dark);
}

.booking::before {
  position: absolute;
  top: -180px;
  left: -180px;
  width: 460px;
  height: 460px;
  background: rgba(185, 224, 215, 0.06);
  border-radius: 50%;
  content: "";
}

.booking-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 52px;
}

.booking-copy h2 em {
  color: var(--lime);
}

.booking-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.booking-steps {
  display: grid;
  margin-top: 36px;
  gap: 18px;
}

.booking-steps > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.booking-steps > div > span {
  display: grid;
  flex: 0 0 37px;
  width: 37px;
  height: 37px;
  color: var(--ink-deep);
  background: var(--lime);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  place-items: center;
}

.booking-steps p,
.booking-steps strong,
.booking-steps small {
  display: block;
  margin: 0;
}

.booking-steps strong {
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

.booking-steps small {
  color: rgba(255, 255, 255, 0.58);
}

.direct-phone {
  display: flex;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  align-items: center;
  gap: 13px;
}

.direct-phone > span {
  display: grid;
  width: 43px;
  height: 43px;
  color: var(--ink-deep);
  background: var(--mint);
  border-radius: 50%;
  place-items: center;
}

.direct-phone svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.direct-phone p,
.direct-phone small,
.direct-phone strong {
  display: block;
  margin: 0;
}

.direct-phone small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
}

.direct-phone strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.booking-form {
  padding: 26px 20px;
  color: var(--ink);
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.form-top {
  display: flex;
  margin-bottom: 25px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.form-top span {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
}

.form-top small {
  color: var(--muted);
  font-size: 0.65rem;
}

.field-grid {
  display: grid;
  gap: 0;
}

.field {
  display: flex;
  margin-bottom: 17px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  flex-direction: column;
  gap: 7px;
}

.field > span:not(.field-error) {
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 51px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid rgba(20, 56, 59, 0.18);
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 0.91rem;
  font-weight: 400;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  min-height: 95px;
  resize: vertical;
}

.hp-field {
  position: absolute !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(23, 111, 112, 0.12);
}

.field.has-error input,
.field.has-error select,
.consent.has-error {
  border-color: #bd3c37;
}

.field-error {
  display: none;
  color: #9c2e2b;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
}

.field.has-error .field-error {
  display: block;
}

.form-disclaimer {
  display: flex;
  margin: 6px 0 18px;
  padding: 15px;
  color: var(--ink);
  background: var(--mint-soft);
  border-radius: 10px;
  gap: 11px;
}

.form-disclaimer svg {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  margin-top: 2px;
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.form-disclaimer p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
}

.consent {
  display: flex;
  padding: 2px;
  border: 1px solid transparent;
  border-radius: 6px;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.consent input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  accent-color: var(--teal);
}

.consent span {
  color: var(--muted);
  font-size: 0.74rem;
}

.button-submit {
  width: 100%;
  margin-top: 19px;
  border: 0;
  cursor: pointer;
}

.button-submit:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.form-status {
  min-height: 22px;
  margin: 10px 0 0;
  font-size: 0.75rem;
  text-align: center;
}

.form-status.error {
  color: #a8322e;
}

.form-status.success {
  color: var(--teal-dark);
}

.whatsapp-followup {
  width: 100%;
  margin-top: 10px;
  color: var(--white);
  background: #1f9b61;
  border-color: #1f9b61;
}

.whatsapp-followup[hidden] {
  display: none;
}

.whatsapp-followup svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Redes sociais ---------- */
.social {
  background: var(--paper);
}

.social-grid {
  display: grid;
  gap: 18px;
}

.social-copy {
  margin-bottom: 16px;
}

.social-copy > p:not(.eyebrow) {
  margin: 22px 0 28px;
  color: var(--muted);
}

.button-outline {
  color: var(--teal);
  background: transparent;
}

.button-outline:hover {
  color: var(--white);
}

.social-card {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 180px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-items: flex-end;
  gap: 19px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

a.social-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.social-card > svg,
.network-mark {
  display: grid;
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  padding: 10px;
  border: 1px solid currentColor;
  border-radius: 50%;
  place-items: center;
}

.social-card > svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.network-mark {
  padding: 0;
  font-family: var(--font-heading);
  font-weight: 800;
}

.social-card div {
  display: flex;
  flex-direction: column;
}

.social-card small {
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.social-card strong {
  margin: 4px 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.social-card div span {
  color: var(--muted);
  font-size: 0.76rem;
}

.instagram-card {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.instagram-card::after {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 190px;
  height: 190px;
  border: 35px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
}

.instagram-card div span {
  color: rgba(255, 255, 255, 0.67);
}

.social-arrow {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 1.3rem;
}

.future-card {
  background: var(--cream);
}

/* ---------- Localização ---------- */
.location {
  padding-top: 0;
  background: var(--paper);
}

.location-shell {
  display: grid;
  overflow: hidden;
  color: var(--white);
  background: var(--ink-deep);
  border-radius: var(--radius-lg);
}

.location-info {
  padding: 50px 25px;
}

.location-info h2 {
  font-size: clamp(2.1rem, 8vw, 4rem);
}

.location-info h2 em {
  color: var(--lime);
}

.location-info > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.65);
}

.location-details {
  display: grid;
  margin: 34px 0;
  gap: 19px;
}

.location-details > div {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.location-details svg {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  margin-top: 4px;
  fill: none;
  stroke: var(--mint);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.location-details p,
.location-details strong,
.location-details small {
  display: block;
  margin: 0;
}

.location-details small {
  color: var(--mint);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.location-details strong {
  margin-top: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.5;
}

.text-link {
  display: inline-flex;
  align-items: center;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  gap: 9px;
}

.location-info .text-link {
  color: var(--lime);
}

.map-wrap {
  position: relative;
  min-height: 460px;
  background: var(--mint-soft);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
}

.map-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  padding: 13px 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  align-items: center;
  gap: 11px;
  backdrop-filter: blur(10px);
}

.map-badge > span {
  display: grid;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  place-items: center;
}

.map-badge svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.map-badge p,
.map-badge small,
.map-badge strong {
  display: block;
  margin: 0;
}

.map-badge small {
  color: var(--teal);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.map-badge strong {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  line-height: 1.35;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--paper);
}

.faq-grid {
  display: grid;
  gap: 48px;
}

.faq-intro > p:not(.eyebrow) {
  margin: 22px 0;
  color: var(--muted);
}

.faq-intro .text-link {
  color: var(--teal);
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  position: relative;
  display: flex;
  padding: 23px 48px 23px 0;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
  align-items: center;
}

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

.accordion summary span,
.accordion summary span::after {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 18px;
  height: 1px;
  background: var(--teal);
  content: "";
  transition: transform 180ms ease;
}

.accordion summary span::after {
  top: 0;
  right: 0;
  transform: rotate(90deg);
}

.accordion details[open] summary span::after {
  transform: rotate(0);
}

.accordion details p {
  max-width: 660px;
  margin: -4px 0 23px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- CTA final e rodapé ---------- */
.final-cta {
  color: var(--ink-deep);
  background: var(--lime);
}

.final-cta-inner {
  display: flex;
  padding-top: 50px;
  padding-bottom: 50px;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
}

.final-cta p,
.final-cta span,
.final-cta strong {
  display: block;
  margin: 0;
}

.final-cta span {
  margin-bottom: 7px;
  color: var(--teal-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.final-cta strong {
  max-width: 670px;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 6vw, 2.6rem);
  line-height: 1.2;
}

.button-light {
  color: var(--ink-deep);
  background: var(--white);
  border-color: var(--white);
}

.button-light:hover,
.button-light:focus-visible {
  color: var(--white);
  background: var(--ink-deep);
  border-color: var(--ink-deep);
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #071f21;
}

.footer-main {
  display: grid;
  padding-top: 65px;
  padding-bottom: 45px;
  gap: 38px;
}

.brand-footer {
  color: var(--white);
}

.brand-footer .brand-symbol {
  color: var(--ink-deep);
  background: var(--lime);
}

.brand-footer .brand-copy small {
  color: rgba(255, 255, 255, 0.5);
}

.footer-about p {
  max-width: 330px;
  margin: 20px 0 0;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-main h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a {
  font-size: 0.82rem;
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--lime);
}

.footer-legal p {
  max-width: 350px;
  margin: 0;
  padding-left: 15px;
  border-left: 2px solid var(--lime);
  font-size: 0.78rem;
}

.footer-bottom {
  display: flex;
  padding-top: 20px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-direction: column;
  gap: 3px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.7rem;
}

.whatsapp-float {
  position: fixed;
  z-index: 900;
  right: 16px;
  bottom: 16px;
  display: flex;
  width: 52px;
  height: 52px;
  color: var(--white);
  background: #1f9b61;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(6, 57, 35, 0.28);
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}

.whatsapp-float svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.whatsapp-float span {
  display: none;
}

/* ---------- Animações progressivas ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Tablet ---------- */
@media (min-width: 680px) {
  .container {
    width: min(calc(100% - 64px), var(--container));
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  .hero-actions .ghost-link {
    justify-content: flex-start;
  }

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

  .academic-facts > div {
    padding-right: 16px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .academic-facts > div + div {
    padding-left: 16px;
  }

  .academic-facts > div:last-child {
    border-right: 0;
  }

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

  .video-carousel.is-carousel .video-card {
    flex-basis: calc((100% - 24px) / 2);
  }

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

  .booking-form {
    padding: 36px;
  }

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

  .social-copy,
  .instagram-card {
    grid-column: 1 / -1;
  }

  .final-cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .whatsapp-float {
    right: 24px;
    bottom: 24px;
    width: auto;
    padding: 0 18px 0 13px;
    border-radius: 999px;
    gap: 9px;
  }

  .whatsapp-float span {
    display: inline;
    font-size: 0.75rem;
    font-weight: 800;
  }
}

/* ---------- Desktop ---------- */
@media (min-width: 1120px) {
  :root {
    --header-height: 88px;
  }

  .section {
    padding: 126px 0;
  }

  .brand-copy strong {
    max-width: none;
    font-size: 0.98rem;
  }

  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: flex;
    height: auto;
    overflow: visible;
    padding: 0;
    background: transparent;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .main-nav > a:not(.button) {
    position: relative;
    padding: 9px 0;
    color: #4b6263;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
  }

  .main-nav > a:not(.button)::after {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 1px;
    background: var(--teal);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
  }

  .main-nav > a:not(.button):hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .main-nav .button-nav {
    min-height: 44px;
    margin: 0 0 0 4px;
    padding: 11px 17px;
    font-size: 0.72rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(400px, 0.9fr);
    padding-top: 70px;
    padding-bottom: 88px;
    gap: 58px;
  }

  .hero h1 {
    font-size: clamp(4.8rem, 6.6vw, 6.75rem);
  }

  .portrait-wrap {
    width: min(37vw, 470px);
  }

  .hero-ticker {
    padding-inline: 24px;
    gap: 60px;
  }

  .hero-ticker span {
    font-size: 0.72rem;
    letter-spacing: 0.17em;
  }

  .about-grid {
    grid-template-columns: minmax(360px, 0.83fr) minmax(0, 1.17fr);
    align-items: center;
    gap: 110px;
  }

  .about-media,
  .about-photo {
    min-height: 650px;
  }

  .about-photo {
    height: 650px;
  }

  .heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
  }

  .heading-row > p {
    margin: 0 0 7px;
  }

  .timeline {
    display: grid;
    padding-top: 44px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
  }

  .timeline::before {
    top: 23px;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 1px;
  }

  .timeline li {
    min-height: auto;
    padding: 38px 0 0;
  }

  .timeline-index {
    top: -44px;
  }

  .timeline h3 {
    font-size: 1.17rem;
  }

  .current-tag {
    position: absolute;
    top: -42px;
    right: 8px;
    display: inline-block;
    padding: 4px 9px;
    color: var(--ink-deep);
    background: var(--lime);
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .video-carousel.is-carousel .video-card {
    flex-basis: calc((100% - 48px) / 3);
  }

  .native-player,
  .video-thumb {
    aspect-ratio: auto;
    height: 390px;
  }

  .portrait-thumb img {
    object-position: center 44%;
  }

  .media-note {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .booking-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(500px, 1.14fr);
    align-items: center;
    gap: 95px;
  }

  .social-grid {
    grid-template-columns: 1.12fr 0.9fr 0.9fr;
  }

  .social-copy {
    grid-row: span 2;
    grid-column: auto;
    padding-right: 45px;
    align-self: center;
  }

  .instagram-card {
    grid-row: span 2;
    grid-column: auto;
    min-height: 378px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
  }

  .location-shell {
    grid-template-columns: 0.87fr 1.13fr;
  }

  .location-info {
    padding: 68px 58px;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 660px;
  }

  .faq-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr);
    gap: 110px;
  }

  .faq-intro {
    position: sticky;
    top: calc(var(--header-height) + 35px);
    align-self: start;
  }

  .footer-main {
    grid-template-columns: 1.45fr 0.72fr 0.72fr 1.2fr;
  }
}

@media (min-width: 1200px) {
  .main-nav {
    gap: 20px;
  }

  .main-nav > a:not(.button) {
    font-size: 0.79rem;
  }

  .main-nav .button-nav {
    padding-inline: 21px;
  }

  .booking-form {
    padding: 42px;
  }
}

/* ---------- Preferências de acessibilidade ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

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

@media (forced-colors: active) {
  .button,
  .social-card,
  .booking-form,
  .location-shell {
    border: 1px solid CanvasText;
  }
}
