﻿:root {
  --font-body: "Open Sans", "Segoe UI", sans-serif;
  --font-title: "Merriweather", Georgia, serif;
  --bg: #edf2f8;
  --bg-alt: #e4ebf4;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --ink: #0f172a;
  --muted: #4b5d75;
  --brand: #0f766e;
  --brand-strong: #0a5a55;
  --accent: #d97706;
  --accent-soft: #ffedd5;
  --line: #d3dce9;
  --line-strong: #aebcd1;
  --section-light: #edf2f8;
  --section-dark: #e3eaf3;
  --shell-light: transparent;
  --shell-dark: transparent;
  --shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 3px 10px rgba(15, 23, 42, 0.05);
  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --header-height: 76px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(180deg, #edf2f8 0%, #e6edf6 100%);
  line-height: 1.65;
}

body.page-professor {
  background: #e8eff8;
}

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

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

main {
  overflow: hidden;
}

section {
  scroll-margin-top: calc(var(--header-height) + 28px);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.2;
  font-family: var(--font-title);
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  background: #111827;
  color: #fff;
  border-radius: 8px;
  padding: 0.7rem 1rem;
}

.skip-link:focus {
  top: 0.8rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  padding: 0.55rem 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  transition: padding 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  padding: 0.45rem 0;
  background: transparent;
}

.page-professor .site-header {
  isolation: isolate;
}

.page-professor .site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 1;
  transition: opacity 0.25s ease;
  background:
    linear-gradient(120deg, rgba(3, 9, 26, 0.93) 0%, rgba(6, 23, 43, 0.9) 45%, rgba(10, 55, 62, 0.86) 100%),
    var(--professor-hero-image, url("../img/eu/foto_studio_png.png"));
  background-size: cover;
  background-position: center 12%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.page-professor .site-header.scrolled::before {
  opacity: 0;
}

.header-inner {
  min-height: var(--header-height);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  padding: 0.25rem 1rem;
  background: rgba(10, 16, 28, 0.88);
  box-shadow: 0 6px 16px rgba(2, 6, 23, 0.24);
}

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

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #f8fafc;
}

.brand-role {
  font-size: 0.78rem;
  color: #94a3b8;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.78);
  color: #e2e8f0;
  font-size: 1rem;
  cursor: pointer;
}

.site-nav > ul {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.site-nav li {
  position: relative;
}

.site-nav a,
.nav-more-toggle {
  display: inline-block;
  padding: 0.58rem 0.88rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #dbe5f2;
  border: 1px solid transparent;
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active,
.nav-more-toggle:hover,
.nav-more-toggle.active,
.nav-dropdown.open > .nav-more-toggle {
  background: rgba(15, 118, 110, 0.2);
  border-color: rgba(45, 212, 191, 0.28);
  color: #f8fafc;
}

.nav-more-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-more-toggle i {
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}

.nav-dropdown.open > .nav-more-toggle i {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  min-width: 210px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  background: rgba(10, 16, 29, 0.98);
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.34);
  padding: 0.42rem;
  z-index: 85;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li {
  width: 100%;
}

.nav-dropdown-menu li + li {
  margin-top: 0.2rem;
}

.nav-dropdown-menu a {
  width: 100%;
  border-radius: 10px;
  padding: 0.62rem 0.74rem;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.12rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  border-color: rgba(20, 184, 166, 0.4);
  background: linear-gradient(120deg, #0f766e 0%, #115e59 100%);
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.36);
}

.btn-primary:hover {
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.48);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.48);
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.58);
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.76);
}

.btn-accent {
  color: #7c2d12;
  border-color: #f59e0b;
  background: var(--accent-soft);
}

.btn-accent:hover {
  background: #fcd9ac;
}

.btn i,
.icon-wrap i,
.nav-toggle i,
.quote-mark i,
.floating-whatsapp i {
  display: inline-block;
  width: 1.1em;
  text-align: center;
  line-height: 1;
}

.btn iconify-icon,
.icon-wrap iconify-icon,
.social-row iconify-icon,
.floating-whatsapp iconify-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1em;
  height: 1.1em;
  line-height: 1;
}

.hero {
  position: relative;
  padding: 4.5rem 0 3.2rem;
  background: linear-gradient(94deg, #e8f0f7 0%, #e8f0f7 58%, #f1ece4 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2.1rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f766e;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.65rem);
  max-width: 16ch;
}

.hero-title strong {
  color: var(--brand-strong);
  font-weight: 700;
}

.hero-copy {
  margin-top: 1.15rem;
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-metrics {
  margin-top: 2rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem 0.9rem;
  box-shadow: var(--shadow-card);
}

.metric strong {
  display: block;
  font-size: 1.35rem;
  font-family: var(--font-title);
}

.metric span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-visual {
  position: relative;
}

.visual-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(155deg, #0f172a 0%, #0f766e 100%);
  box-shadow: 0 28px 45px rgba(15, 23, 42, 0.26);
}

.visual-card img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center top;
  mix-blend-mode: luminosity;
  opacity: 0.88;
}

.badge-floating,
.badge-floating-alt {
  position: absolute;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 0.8rem 0.95rem;
}

.badge-floating {
  left: -24px;
  bottom: 24px;
}

.badge-floating-alt {
  right: -24px;
  top: 20px;
}

.badge-floating strong,
.badge-floating-alt strong {
  display: block;
  font-size: 1.15rem;
  font-family: var(--font-title);
}

.badge-floating span,
.badge-floating-alt span {
  font-size: 0.82rem;
  color: var(--muted);
}

.stack-strip {
  padding: 1rem 0 0.8rem;
}

.stack-inner {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-card);
  padding: 1.1rem;
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.stack-list li {
  border: 1px solid #d8e1ee;
  border-radius: 999px;
  padding: 0.42rem 0.75rem;
  background: #f4f7fc;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 600;
}

.section {
  padding: 4.8rem 0;
  background: var(--section-light);
}

.section.alt {
  background: var(--section-dark);
}

.section > .container {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.section.alt > .container {
  background: transparent;
}

#servicos,
#processo,
#contato,
#competencias {
  background: var(--section-light);
}

#projetos,
#depoimentos,
#trajetoria {
  background: var(--section-dark);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-head p {
  max-width: 56ch;
  color: var(--muted);
}

.section-title {
  font-size: clamp(1.65rem, 2.8vw, 2.5rem);
}

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

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
}

.section.alt .card,
.section.alt .project-card,
.section.alt .step,
.section.alt .quote,
.section.alt .panel,
.section.alt .timeline-item,
.section.alt .pillar {
  background: var(--surface-strong);
  border-color: var(--line);
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: none;
}

.icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e4f4f1;
  color: var(--brand-strong);
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

.card p {
  color: var(--muted);
  font-size: 0.94rem;
}

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

.project-toolbar {
  margin: 0 0 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  border: 1px solid #ced9ea;
  border-radius: 999px;
  background: #f6f9fe;
  color: #2f425c;
  padding: 0.42rem 0.72rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #0f766e;
  border-color: #0f766e;
  color: #ffffff;
}

.btn-projects-more {
  color: #2f425c;
}

.project-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-strong);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-rows: 220px 1fr;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-content {
  padding: 1rem;
}

.project-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.project-content p {
  color: var(--muted);
  font-size: 0.92rem;
}

.project-card[hidden] {
  display: none !important;
}

.project-detail-list {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.35rem;
  padding-left: 0;
  list-style: none;
}

.project-detail-list li {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.45;
}

.project-detail-list strong {
  color: #0f172a;
}

.project-tags {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.project-tags span {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0b1220;
  background: #e6edf9;
  border: 1px solid #c8d6eb;
  border-radius: 999px;
  padding: 0.24rem 0.5rem;
}

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

.step {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  padding: 1.15rem;
  box-shadow: var(--shadow-card);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #bfd0e9;
  color: #0f172a;
  background: #e0ebfb;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.step p {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.testimonials-carousel {
  --carousel-items: 3;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 0.7rem;
}

.testimonials-viewport {
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.4s ease;
  will-change: transform;
}

.carousel-item {
  flex: 0 0 calc((100% - (var(--carousel-items) - 1) * 1rem) / var(--carousel-items));
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border: 1px solid #cfd9e8;
  border-radius: 50%;
  background: #ffffff;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-btn:hover {
  border-color: #0f766e;
  color: #0f766e;
}

.carousel-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.quote {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow-card);
  padding: 1.2rem;
}

.quote-mark {
  font-size: 1.6rem;
  color: #e67e22;
  margin-bottom: 0.65rem;
}

.quote p {
  color: #334155;
  font-size: 0.95rem;
}

.quote-client {
  padding: 1rem;
}

.quote-client p {
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: justify;
  text-indent: 1.2rem;
  hyphens: auto;
}

.client-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}

.client-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #d8e3f2;
}

.client-meta {
  display: grid;
  gap: 0.1rem;
}

.client-meta strong {
  font-size: 0.95rem;
  line-height: 1.1;
}

.client-meta span {
  font-size: 0.8rem;
  color: #596a82;
}

.quote footer {
  margin-top: 1rem;
  font-size: 0.86rem;
  color: var(--muted);
  display: grid;
  gap: 0.1rem;
}

.quote footer strong {
  font-size: 0.95rem;
  color: #0f172a;
}

.logo-marquee {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-card);
  padding: 0.65rem 0;
}

.logo-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: logos-scroll 30s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.logo-item {
  width: 170px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #e5ebf5;
  padding: 0 1rem;
}

.logo-item img {
  max-width: 120px;
  max-height: 34px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.8;
}

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

.blog-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-strong);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-rows: 190px 1fr;
}

.blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 1rem;
  display: grid;
  gap: 0.55rem;
}

.blog-meta {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brand-strong);
}

.blog-content h3 {
  font-size: 1.08rem;
  line-height: 1.3;
}

.blog-content p {
  font-size: 0.9rem;
  color: var(--muted);
}

.blog-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-strong);
}

.blog-link:hover {
  text-decoration: underline;
}

.post-meta-line {
  margin-top: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #5c6d85;
  font-size: 0.84rem;
  font-weight: 700;
}

.blog-article {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.blog-article-cover {
  margin: 0;
  border-bottom: 1px solid #d8e2ef;
}

.blog-article-cover img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
}

.blog-article-body {
  padding: 1.6rem;
}

.blog-article-body h2 {
  margin-top: 1.5rem;
  font-size: 1.25rem;
}

.blog-article-body h2:first-child {
  margin-top: 0;
}

.blog-article-body p {
  margin-top: 0.8rem;
  color: #334155;
  text-align: justify;
  text-indent: 1.2rem;
}

.related-carousel {
  --carousel-items: 3;
}

.related-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-strong);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-rows: 140px 1fr;
}

.related-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card-body {
  padding: 0.9rem;
  display: grid;
  gap: 0.45rem;
}

.related-card-body .blog-meta {
  font-size: 0.72rem;
}

.related-card-body h3 {
  font-size: 0.96rem;
  line-height: 1.35;
}

.related-card-body p {
  font-size: 0.84rem;
  color: var(--muted);
}

@keyframes logos-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1rem;
}

.contact-wrap.single {
  grid-template-columns: 1fr;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow-card);
  padding: 1.25rem;
}

.contact-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.85rem;
}

.contact-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 0.82rem;
  color: #1f2937;
}

.contact-item .icon-wrap {
  margin: 0;
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

.contact-item .icon-wrap i {
  width: auto;
  line-height: 1;
  font-size: 1rem;
}

.contact-item .icon-wrap iconify-icon {
  width: 1.2rem;
  height: 1.2rem;
}

.contact-item > div {
  display: grid;
  gap: 0.14rem;
}

.contact-item > div > span {
  display: block;
  color: var(--muted);
  font-size: 0.83rem;
}

.contact-item strong {
  font-size: 0.95rem;
  line-height: 1.3;
}

.social-row {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-row a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #edf3fb;
  padding: 0.5rem 0.78rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #1f2937;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.social-row a i {
  color: var(--brand-strong);
  font-size: 0.9rem;
}

.social-row a iconify-icon {
  color: var(--brand-strong);
  font-size: 1rem;
}

.social-row a:hover {
  background: #e1eaf7;
}

.form-title {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.form-copy {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  gap: 0.75rem;
}

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

.field {
  width: 100%;
  border: 1px solid #b9c7da;
  border-radius: 10px;
  background: #fdfefe;
  padding: 0.78rem 0.85rem;
  font: inherit;
  color: #0f172a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field::placeholder {
  color: #6b7280;
}

.field:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

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

.form-actions {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.form-note {
  margin-top: 0.85rem;
  min-height: 1.25rem;
  font-size: 0.84rem;
  color: #334155;
}

.form-note.ok {
  color: #115e59;
}

.feedback-photo-upload {
  border: 1px dashed #bcc9dd;
  border-radius: 10px;
  background: #f8fbff;
  padding: 0.8rem;
}

.feedback-photo-upload p {
  margin-top: 0.45rem;
  color: #5a6c85;
  font-size: 0.82rem;
}

.feedback-counter {
  margin-top: 0.35rem;
  text-align: right;
  color: #5a6c85;
  font-size: 0.78rem;
  font-weight: 700;
}

.page-hero {
  padding: 3.8rem 0 2.4rem;
  background: linear-gradient(94deg, #e8f0f7 0%, #e8f0f7 58%, #f1ece4 100%);
}

.profx-page {
  --profx-bg-1: #f6f9fd;
  --profx-bg-2: #eef3f9;
  --profx-card: #ffffff;
  --profx-line: #d6e0ec;
  --profx-ink: #0f172a;
  --profx-muted: #42556f;
  --profx-shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.09);
}

.profx-page .section {
  background: var(--profx-bg-1);
  padding: 4.9rem 0;
}

.profx-page .section.alt {
  background: var(--profx-bg-2);
}

.profx-page .section-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.profx-page .section-head p {
  max-width: 62ch;
  color: #52627a;
  font-size: 0.98rem;
}

.profx-hero {
  position: relative;
  isolation: isolate;
  background: transparent;
  padding: 2.8rem 0 2.5rem;
}

.profx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(3, 9, 26, 0.92) 0%, rgba(6, 23, 43, 0.9) 46%, rgba(10, 55, 62, 0.84) 100%),
    var(--professor-hero-image, url("../img/eu/foto_studio_png.png"));
  background-size: cover;
  background-position: center 12%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.profx-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
}

.profx-hero-copy {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0.2rem 0;
  max-width: 860px;
}

.profx-hero-copy .kicker {
  color: #34d399;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profx-hero-copy h1 {
  margin-top: 0.7rem;
  color: #f8fbff;
  font-size: clamp(2.1rem, 3.2vw, 3.1rem);
  line-height: 1.08;
}

.profx-hero-copy p {
  margin-top: 0.85rem;
  color: #c4d3e7;
  font-size: 1rem;
  line-height: 1.72;
}

.profx-hero-chips {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.profx-hero-chips span {
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.42);
  color: #d8e8f8;
  font-size: 0.77rem;
  font-weight: 700;
  padding: 0.36rem 0.65rem;
}

.profx-hero-copy .hero-actions {
  margin-top: 1rem;
}

.profx-hero-copy .btn-outline {
  border-color: rgba(148, 163, 184, 0.5);
  color: #e8f1fc;
  background: rgba(15, 23, 42, 0.42);
}

.profx-hero-copy .btn-outline:hover {
  border-color: rgba(45, 212, 191, 0.44);
  background: rgba(15, 23, 42, 0.6);
}

.profx-proof {
  background: #ffffff;
  border-top: 1px solid #e2eaf4;
  border-bottom: 1px solid #dce6f1;
}

.profx-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  padding: 1.2rem 0;
}

.profx-proof-item {
  padding: 0.35rem 0.6rem;
  border-left: 1px solid #e1e8f2;
  display: grid;
  gap: 0.2rem;
}

.profx-proof-item:first-child {
  border-left: 0;
}

.profx-proof-item strong {
  color: #10253d;
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
  font-family: var(--font-title);
  line-height: 1.1;
}

.profx-proof-item span {
  color: #5a6f89;
  font-size: 0.81rem;
  line-height: 1.45;
}

.profx-about-bleed {
  position: relative;
  overflow: hidden;
  background: #dbe5f2;
  min-height: clamp(430px, 52vw, 560px);
  display: flex;
  align-items: center;
  padding: clamp(1.25rem, 2.2vw, 2rem) 0;
}

.profx-about-bleed::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--profx-about-image, url("../img/eu/foto_b_png.png"));
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
  transform: scale(1.03);
}

.profx-about-bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(96deg, rgba(255, 255, 255, 0.92) 6%, rgba(255, 255, 255, 0.86) 35%, rgba(255, 255, 255, 0.74) 60%, rgba(255, 255, 255, 0.52) 100%);
}

.profx-about-bleed > .container {
  position: relative;
  z-index: 1;
}

.profx-about-content {
  width: min(760px, 68%);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0.25rem 0.1rem;
}

.profx-about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #0f766e;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profx-about-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.profx-about-content .section-title {
  margin-top: 0.45rem;
  font-size: clamp(2rem, 2.5vw, 2.55rem);
  line-height: 1.1;
}

.profx-about-lead {
  font-size: 1.02rem;
  color: #334e70;
  line-height: 1.75;
}

.profx-about-content p {
  margin-top: 0.55rem;
  color: #334e70;
  line-height: 1.72;
}

.profx-list {
  margin-top: 1.05rem;
  display: grid;
  gap: 0.62rem;
}

.profx-list li {
  border: 1px solid #d3deec;
  border-radius: 12px;
  background: rgba(248, 252, 255, 0.75);
  color: #2f4765;
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 0.62rem 0.72rem;
  display: flex;
  align-items: flex-start;
  gap: 0.52rem;
}

.profx-list iconify-icon {
  color: #0f766e;
  font-size: 1.05rem;
  margin-top: 0.08rem;
  flex: 0 0 auto;
}

.profx-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.profx-service {
  border: 1px solid var(--profx-line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 1.1rem;
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.05);
}

.profx-service-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e3f5f1;
  color: #0d6a63;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.profx-service h3 {
  margin-top: 0.7rem;
  font-size: 1.02rem;
}

.profx-service p {
  margin-top: 0.45rem;
  color: #51647f;
  font-size: 0.9rem;
  line-height: 1.6;
}

.profx-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.profx-method-item {
  border: 1px solid var(--profx-line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 1.15rem;
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.05);
}

.profx-step-index {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #b8cade;
  background: #ebf3ff;
  color: #133253;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
}

.profx-method-item h3 {
  margin-top: 0.65rem;
  font-size: 1rem;
}

.profx-method-item p {
  margin-top: 0.45rem;
  color: #51647f;
  font-size: 0.9rem;
  line-height: 1.6;
}

.profx-extra {
  margin-top: 0.95rem;
  border: 1px solid #d7e1ee;
  border-radius: 12px;
  background: #f7fbff;
  padding: 0.35rem 0.9rem 0.75rem;
}

.profx-extra summary {
  list-style: none;
  cursor: pointer;
  color: #26415f;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.45rem 0;
}

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

.profx-extra-body {
  color: #435b78;
  font-size: 0.92rem;
  line-height: 1.65;
}

.profx-extra-body :is(h1, h2, h3) {
  font-size: 1rem;
  margin: 0.45rem 0;
}

.profx-extra-body p {
  margin: 0.35rem 0;
}

.profx-testimonials {
  --carousel-items: 2;
}

.profx-page .quote-client {
  border-color: var(--profx-line);
  box-shadow: 0 9px 18px rgba(15, 23, 42, 0.05);
}

.profx-page .testimonials-carousel.is-single {
  grid-template-columns: 1fr;
}

.profx-page .testimonials-carousel.is-single .carousel-btn {
  display: none;
}

.profx-page .testimonials-carousel.is-single .carousel-item {
  flex-basis: 100%;
}

.profx-empty {
  border: 1px solid var(--profx-line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.05);
  padding: 1.15rem;
}

.profx-empty p {
  color: #4f627d;
}

.profx-empty .btn {
  margin-top: 0.85rem;
}

.profx-cta {
  border: 1px solid #dfc3a2;
  border-radius: var(--radius-lg);
  background: linear-gradient(110deg, #f7e7cf 0%, #f2d8b7 100%);
  box-shadow: 0 8px 20px rgba(91, 58, 27, 0.14);
  padding: 1.2rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.profx-cta h2 {
  color: #2f1f14;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  line-height: 1.2;
}

.profx-cta p {
  margin-top: 0.45rem;
  color: #69452b;
  max-width: 68ch;
  line-height: 1.6;
}

.profx-contact-grid {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0.9rem;
}

.profx-panel {
  border: 1px solid var(--profx-line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  padding: 1.1rem;
}

.profx-panel h3 {
  font-size: 1.1rem;
}

.profx-panel p {
  margin-top: 0.45rem;
  color: #4f627d;
  font-size: 0.92rem;
  line-height: 1.6;
}

.profx-actions {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.professor-page {
  --prof-section-light: #f6f9fd;
  --prof-section-dark: #edf2f8;
  --prof-card-bg: #ffffff;
  --prof-card-border: #d5deea;
  --prof-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.professor-page .container {
  width: min(1180px, calc(100% - 2.5rem));
}

.professor-page .section {
  padding: 5.2rem 0;
  background: var(--prof-section-light);
}

.professor-page .section.alt {
  background: var(--prof-section-dark);
}

.professor-page .section-title {
  font-size: clamp(2rem, 3vw, 2.85rem);
}

.professor-page .section-head p,
.professor-page .page-card p {
  font-size: 1rem;
  line-height: 1.7;
}

.professor-hero {
  padding-top: 3.8rem;
  padding-bottom: 3rem;
  background: linear-gradient(118deg, #0b1220 0%, #111f34 48%, #153744 100%);
}

.professor-hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: stretch;
  gap: 1.2rem;
}

.professor-hero-card {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(248, 250, 252, 0.97);
  box-shadow: var(--prof-shadow);
}

.professor-hero-card .section-title {
  font-size: clamp(2.1rem, 3.2vw, 3rem);
}

.professor-hero-card .kicker {
  color: #0f766e;
  font-weight: 800;
}

.professor-hero-card p {
  color: #334155;
  max-width: 62ch;
}

.professor-metrics {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.professor-metrics article {
  border: 1px solid #d6dfec;
  border-radius: 10px;
  background: #f8fbff;
  padding: 0.65rem 0.72rem;
  display: grid;
  gap: 0.15rem;
}

.professor-metrics strong {
  font-size: 0.94rem;
}

.professor-metrics span {
  color: #52667f;
  font-size: 0.78rem;
}

.page-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  padding: 2rem;
}

.page-card p {
  margin-top: 0.9rem;
  color: var(--muted);
  max-width: 76ch;
}

.about-profile-section {
  padding: 0;
  background: var(--section-light);
}

.about-profile-bleed {
  position: relative;
  overflow: hidden;
  min-height: clamp(450px, 54vw, 620px);
  display: flex;
  align-items: center;
  padding: clamp(1.35rem, 2.4vw, 2.1rem) 0;
  background: #e4ecf7;
}

.about-profile-bleed::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--about-profile-image, url("../img/eu/foto_e_png.png"));
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
  transform: scale(1.03);
}

.about-profile-bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(96deg, rgba(255, 255, 255, 0.94) 8%, rgba(255, 255, 255, 0.88) 38%, rgba(255, 255, 255, 0.76) 62%, rgba(255, 255, 255, 0.58) 100%);
}

.about-profile-bleed > .container {
  position: relative;
  z-index: 1;
}

.about-profile-content {
  width: min(860px, 72%);
}

.about-profile-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0f766e;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-profile-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.about-profile-content .section-title {
  margin-top: 0.45rem;
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.08;
}

.about-profile-lead {
  margin-top: 0.65rem;
  color: #344f72;
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-profile-content p {
  color: #3f5a7a;
}

.about-profile-points li {
  background: rgba(248, 252, 255, 0.8);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: start;
  gap: 1.2rem;
}

.professor-spotlight {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.professor-main-photo {
  margin: 0;
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #0f172a 0%, #115e59 100%);
  box-shadow: var(--prof-shadow);
}

.professor-main-photo img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center top;
  mix-blend-mode: normal;
  filter: saturate(1.04) contrast(1.05);
  opacity: 1;
}

.professor-copy {
  border: 1px solid var(--prof-card-border);
  border-radius: var(--radius-lg);
  background: var(--prof-card-bg);
  box-shadow: var(--prof-shadow);
  padding: 1.4rem;
}

.professor-copy .section-title {
  margin-bottom: 0.8rem;
  font-size: clamp(1.7rem, 2.3vw, 2.2rem);
}

.professor-copy p + p {
  margin-top: 0.7rem;
}

.professor-services .card {
  min-height: 220px;
  border-color: var(--prof-card-border);
  background: var(--prof-card-bg);
  box-shadow: var(--prof-shadow);
}

.professor-services .icon-wrap {
  background: #dff2ef;
  color: #0f5f59;
}

.professor-platform {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: start;
  gap: 0.85rem;
  border-color: var(--prof-card-border);
  box-shadow: var(--prof-shadow);
}

.professor-platform > .icon-wrap {
  margin: 0;
}

.professor-platform .form-copy {
  margin-bottom: 0.72rem;
}

.professor-units {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

#professor-sobre{
 padding:  0; 
}

.professor-unit-btn {
  justify-content: flex-start;
  width: 100%;
  border-color: #b7c4d8;
  background: #f8fbff;
  color: #1f334d;
}

.professor-unit-btn:hover {
  border-color: #8ea3c2;
  background: #eef3fb;
}

.professor-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.professor-gallery-item {
  margin: 0;
  border: 1px solid rgba(148, 163, 184, 0.42);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #111827;
  box-shadow: var(--prof-shadow);
}

.professor-gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center top;
  mix-blend-mode: normal;
  filter: saturate(1.03) contrast(1.04);
  opacity: 1;
}

.professor-page #depoimentos-alunos .quote-client,
.professor-page #contato-professor .panel,
.professor-page #contato-professor .cta-band {
  box-shadow: var(--prof-shadow);
}

.professor-page #depoimentos-alunos .quote-client {
  min-height: 230px;
}

.professor-page .testimonials-carousel.is-single {
  grid-template-columns: 1fr;
}

.professor-page .testimonials-carousel.is-single .carousel-btn {
  display: none;
}

.professor-page .testimonials-carousel.is-single .carousel-item {
  flex-basis: 100%;
}

.about-photo {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0f172a;
  box-shadow: var(--shadow-card);
}

.about-photo img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center top;
  mix-blend-mode: luminosity;
  opacity: 0.9;
}

.about-content .section-title {
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--muted);
}

.about-points {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.7rem;
}

.about-points li {
  border: 1px solid #d9e2ef;
  border-left: 3px solid #c7d5e8;
  background: #f9fbff;
  border-radius: 10px;
  padding: 0.68rem 0.75rem;
  font-size: 0.9rem;
  color: #334155;
}

.timeline {
  display: grid;
  gap: 0.8rem;
}

.timeline-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  box-shadow: var(--shadow-card);
  padding: 1rem;
  display: grid;
  gap: 0.5rem;
}

.timeline-item .year {
  width: fit-content;
  border-radius: 999px;
  border: 1px solid #c9d6e8;
  background: #f2f6fc;
  color: #2a476b;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
}

.timeline-item h3 {
  font-size: 1rem;
}

.timeline-item p {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.pillar {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  box-shadow: var(--shadow-card);
  padding: 1rem;
}

.pillar h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.pillar p {
  color: var(--muted);
  font-size: 0.9rem;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.skills span {
  border-radius: 999px;
  border: 1px solid #d5deeb;
  background: #f4f7fc;
  color: #334155;
  padding: 0.38rem 0.68rem;
  font-size: 0.83rem;
  font-weight: 600;
}

.cta-band {
  border: 1px solid #e5c7a2;
  border-radius: var(--radius-lg);
  background: linear-gradient(112deg, #f8e7cf 0%, #f1d8b8 100%);
  padding: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-band p {
  color: #5f4027;
  max-width: 68ch;
}

.site-footer {
  margin-top: 4.5rem;
  padding: 2rem 0 2.2rem;
  border-top: 1px solid #c6d2e3;
  background: rgba(226, 234, 244, 0.96);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.footer-grid p {
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-links a {
  font-size: 0.82rem;
  font-weight: 600;
  color: #4a5d78;
  padding: 0;
  border: 0;
  background: transparent;
}

.footer-links a:hover {
  color: #1f324d;
  text-decoration: underline;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.32);
}

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

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

@media (max-width: 1080px) {
  .profx-hero-grid,
  .profx-contact-grid {
    grid-template-columns: 1fr;
  }

  .profx-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 0.9rem;
  }

  .profx-proof-item {
    border-left: 0;
    border-top: 1px solid #e1e8f2;
    padding-top: 0.7rem;
  }

  .profx-proof-item:nth-child(-n + 2) {
    border-top: 0;
    padding-top: 0.35rem;
  }

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

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

  .profx-about-bleed {
    min-height: 470px;
    padding: 1.1rem;
  }

  .profx-about-bleed::after {
    background: linear-gradient(100deg, rgba(255, 255, 255, 0.93) 14%, rgba(255, 255, 255, 0.88) 52%, rgba(255, 255, 255, 0.8) 100%);
  }

  .profx-about-content {
    width: 100%;
    max-width: 100%;
  }

  .about-profile-bleed {
    min-height: 500px;
    padding: 1.05rem 0;
  }

  .about-profile-bleed::after {
    background: linear-gradient(102deg, rgba(255, 255, 255, 0.95) 14%, rgba(255, 255, 255, 0.9) 52%, rgba(255, 255, 255, 0.82) 100%);
  }

  .about-profile-content {
    width: 100%;
    max-width: 100%;
  }

  .page-professor .site-header::before,
  .profx-hero::before {
    background-attachment: scroll;
  }

  .professor-page .container {
    width: min(1180px, calc(100% - 1.8rem));
  }

  .hero-grid,
  .about-grid,
  .professor-spotlight,
  .professor-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 560px;
  }

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

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

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

  .related-carousel {
    --carousel-items: 2;
  }

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

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

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

  .testimonials-carousel {
    --carousel-items: 2;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }

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

  .professor-main-photo img {
    min-height: 360px;
  }
}

@media (max-width: 900px) {
  .profx-page .section {
    padding: 4.2rem 0;
  }

  .profx-page .section-title {
    font-size: clamp(1.7rem, 7vw, 2.25rem);
  }

  .profx-proof-grid {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .profx-proof-item,
  .profx-proof-item:nth-child(-n + 2) {
    border-top: 1px solid #e1e8f2;
    padding-top: 0.65rem;
  }

  .profx-proof-item:first-child {
    border-top: 0;
    padding-top: 0.35rem;
  }

  .profx-services-grid,
  .profx-method-grid {
    grid-template-columns: 1fr;
  }

  .profx-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .profx-panel {
    padding: 1rem;
  }

  .professor-page .section {
    padding: 4.35rem 0;
  }

  .professor-page .section-title {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 1rem;
    right: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 16px;
    background: rgba(10, 16, 29, 0.96);
    box-shadow: var(--shadow-soft);
    padding: 0.65rem;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav > ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a,
  .nav-more-toggle {
    padding: 0.72rem 0.8rem;
    border-radius: 10px;
  }

  .nav-more-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-menu {
    position: static;
    top: auto;
    right: auto;
    min-width: 0;
    margin-top: 0.35rem;
    border-color: rgba(148, 163, 184, 0.28);
    border-radius: 10px;
    background: rgba(5, 10, 20, 0.54);
    box-shadow: none;
    padding: 0.35rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .badge-floating,
  .badge-floating-alt {
    display: none;
  }

  .professor-main-photo img {
    min-height: 380px;
  }

  .professor-metrics {
    grid-template-columns: 1fr;
  }

  .professor-platform {
    grid-template-columns: 1fr;
  }

  .cards-3,
  .project-grid,
  .blog-grid,
  .testimonials,
  .pillars,
  .professor-gallery {
    grid-template-columns: 1fr;
  }

  .testimonials-carousel {
    --carousel-items: 1;
    grid-template-columns: 38px 1fr 38px;
    gap: 0.45rem;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
  }

  .project-toolbar {
    align-items: stretch;
  }

  .project-toolbar .btn-projects-more {
    width: 100%;
  }

  .logo-item {
    width: 140px;
    height: 64px;
  }

  .form-grid.two {
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 580px) {
  .profx-hero {
    padding-top: 3rem;
  }

  .profx-hero-copy,
  .profx-service,
  .profx-method-item,
  .profx-cta,
  .profx-panel,
  .profx-empty {
    padding: 1rem;
  }

  .profx-hero-copy h1 {
    font-size: clamp(1.85rem, 9vw, 2.25rem);
  }

  .profx-about-bleed {
    min-height: 420px;
    padding: 1rem;
  }

  .profx-about-bleed::before {
    background-position: center 14%;
  }

  .profx-about-bleed::after {
    background: linear-gradient(112deg, rgba(255, 255, 255, 0.94) 18%, rgba(255, 255, 255, 0.9) 60%, rgba(255, 255, 255, 0.84) 100%);
  }

  .profx-about-content {
    width: 100%;
  }

  .about-profile-bleed {
    min-height: 430px;
    padding: 0.95rem 0;
  }

  .about-profile-bleed::before {
    background-position: center 16%;
  }

  .about-profile-bleed::after {
    background: linear-gradient(112deg, rgba(255, 255, 255, 0.95) 18%, rgba(255, 255, 255, 0.91) 60%, rgba(255, 255, 255, 0.84) 100%);
  }

  .profx-hero::before {
    background-position: center 14%;
  }

  .container {
    width: min(var(--container), calc(100% - 1.25rem));
  }

  .professor-page .container {
    width: min(1180px, calc(100% - 1.25rem));
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .section {
    padding: 4rem 0;
  }

  .header-inner {
    padding: 0.25rem 0.7rem;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .brand-role {
    font-size: 0.72rem;
  }

  .panel,
  .page-card,
  .card,
  .quote,
  .step,
  .timeline-item,
  .pillar {
    padding: 1rem;
  }

  .visual-card img,
  .about-photo img {
    height: 390px;
  }

  .professor-main-photo img {
    min-height: 320px;
  }

  .blog-card {
    grid-template-rows: 180px 1fr;
  }

  .blog-article-body {
    padding: 1rem;
  }
}
