@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;0,900;1,300;1,400;1,500&display=swap');

/* ── RESET & BASE ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rubik', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Rubik', sans-serif;
  font-weight: 300;
  color: #1A1A1A;
  background-color: #FFFFFF;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── TOKENS ── */
:root {
  --bg-light: #FFFFFF;
  --bg-dark: #201E1E;
  --green: #5A6B54;
  --brown: #8C4A2F;
  --muted: #888;
  --border: rgba(0, 0, 0, 0.1);
}

/* ══════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.from-left {
  transform: translateX(-36px);
}

.reveal.from-right {
  transform: translateX(36px);
}

.reveal.scale-in {
  transform: scale(0.94);
}

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

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-pad {
  padding: 8rem 1.5rem;
}

/* ── TAGLINE ── */
.tagline {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 2rem;
}

.tagline::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--brown);
  flex-shrink: 0;
}

.tagline.muted {
  color: var(--muted);
}

.tagline.muted::before {
  background: var(--muted);
}

.tagline.centered {
  justify-content: center;
}

.tagline.centered::before {
  display: none;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  font-family: 'Rubik', sans-serif;
  font-size: 0.60rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 15px;
  border: none;
  cursor: pointer;
  transition: opacity 0.25s, transform 0.25s;
}

.btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.btn-green {
  background: var(--green);
  color: #fff;
}

.btn-brown {
  background: var(--brown);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline-green {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
}

.btn-outline-green:hover {
  background: var(--green);
  color: #fff;
}

.btn-outline-dark {
  background: transparent;
  color: #1A1A1A;
  border: 1.5px solid rgba(0, 0, 0, 0.3);
}

.btn-outline-dark:hover {
  background: rgba(0, 0, 0, 0.06);
}

/* ══════════════════════════════════
   NAV
══════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0.8rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}


nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 36px;
  /* Logo um pouco menor para caber no header baixo */
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  /* Visível no desktop */
  align-items: center;
  gap: 2.8rem;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1A1A1A;
  text-decoration: none;
  transition: color 0.25s;
}

.nav-links a:hover {
  color: var(--brown);
}

/* ── HERO ENTRANCE ANIMATION ── */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── HAMBURGER (Oculto por padrão no Web) ── */
.hamburger {
  display: none;
}

.hero-anim {
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 6rem;
  overflow: hidden;
  background-color: #FFFFFF;
}

/* Container sits above the image */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 5rem;
}

.hero .tagline {
  color: var(--brown);
}

.hero .tagline::before {
  background: var(--brown);
}

.hero-content {
  width: 44%;
  padding-right: 2rem;
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.2vw, 3.6rem);
  line-height: 1.1;
  color: #1A1A1A;
  margin-bottom: 1.5rem;
  max-width: 580px;
}

.hero h1 .green-word {
  color: var(--green);
  font-weight: 700;
}

.hero h1 .italic-green {
  font-style: italic;
  color: var(--green);
}

.hero-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 420px;
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  width: max-content;
}

.hero-buttons .btn {
  text-align: center;
  justify-content: center;
}

/* Mountain image — absolute, right side, BEHIND content */
.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 80%;
  z-index: 1;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
  display: block;
}

/* ══════════════════════════════════
   STATS SECTION
══════════════════════════════════ */
.stats-section {
  background: #0A0A0A;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.stats-left h2 {
  font-family: 'Rubik', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.stats-left h2 em {
  color: var(--brown);
  font-style: normal;
  display: block;
}

.stats-left p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 3rem;
  max-width: 440px;
}

.stats-quote {
  padding-left: 1.5rem;
  border-left: 2px solid var(--brown);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  max-width: 400px;
  font-style: normal;
}

.stats-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  max-width: 540px;
  width: 100%;
  justify-self: center;
}

.stat-box {
  background: #141412;
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(140, 74, 47, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 200px;
}

.stat-box h3 {
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.stat-box p {
  font-size: 0.7rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.3);
  text-transform: none;
  font-weight: 300;
}

/* ══════════════════════════════════
   ABOUT SECTION
══════════════════════════════════ */
.about-section {
  background: #D9D9D9;
}

.about-intro {
  max-width: 800px;
  margin-bottom: 6rem;
}

.about-intro h2 {
  font-family: 'Rubik', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #1A1A1A;
}

.about-intro h2 em {
  color: #5A6B54;
  font-style: normal;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

.about-card {
  padding-left: 2.5rem;
  border-left: 2px solid #5A6B54;
}

.card-watermark {
  display: block;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.06);
  white-space: nowrap;
  margin-bottom: 1rem;
  font-family: 'Rubik', sans-serif;
  line-height: 1;
}

.about-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #4A5844;
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.about-card p {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.6);
  font-weight: 300;
}

/* ══════════════════════════════════
   SERVICES SECTION
══════════════════════════════════ */
.services-section {
  background: #D9D9D9;
}

.tagline.centered {
  justify-content: center;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.tagline.centered::before,
.tagline.centered::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--brown);
}

.services-header {
  text-align: center;
  margin-bottom: 5rem;
}

.services-header h2 {
  font-family: 'Rubik', sans-serif;
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  color: #1A1A1A;
}

.services-header h2 em {
  color: #4A5844;
  font-style: normal;
}

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

.service-card {
  background: #3D5245;
  color: #fff;
  padding: 4rem 3rem;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-num {
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
  line-height: 1;
}

.service-card h3 {
  font-family: 'Rubik', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  color: #fff;
}

.service-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
}

/* ══════════════════════════════════
   METHODOLOGY SECTION
══════════════════════════════════ */
.method-section {
  background: #050705;
  color: #fff;
}

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

.method-diagram {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c1 {
  width: 80%;
  height: 80%;
}

.c3 {
  width: 32%;
  height: 32%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 1.5rem;
  line-height: 1.3;
}

.pill {
  position: absolute;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  color: #000;
}

.pill-vision {
  top: 15%;
  right: 5%;
  background: #506652;
  color: #fff;
}

.pill-academic {
  top: 40%;
  left: -5%;
  background: #8C4A2F;
  color: #fff;
}

.pill-pastoral {
  top: 50%;
  right: -5%;
  background: #B48E75;
}

.pill-practice {
  bottom: 15%;
  left: 10%;
  background: #8FA58F;
}

.method-content h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 2rem;
}

.method-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2.5rem;
}

.method-box {
  background: #3D5245;
  padding: 2.5rem;
  border-radius: 24px;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #fff;
  font-weight: 400;
}

/* ══════════════════════════════════
   TEAM SECTION
══════════════════════════════════ */
.team-section {
  background: #D9D9D9;
}

.team-header {
  margin-bottom: 6rem;
}

.team-header h2 {
  font-family: 'Rubik', sans-serif;
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 1.5rem;
}

.team-header h2 em {
  color: #4A5844;
  font-style: normal;
}

.header-line {
  width: 60px;
  height: 2px;
  background: var(--brown);
}

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

.img-wrapper {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #8C4A2F;
  /* Brown background circle */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  overflow: hidden;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-member h3 {
  font-family: 'Rubik', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 0.5rem;
}

.team-member .role {
  font-size: 0.85rem;
  font-weight: 600;
  color: #5A6B54;
  margin-bottom: 1.5rem;
  text-transform: none;
}

.team-member .role.brown {
  color: #8C4A2F;
}

.team-member p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 300;
}

/* ══════════════════════════════════
   CONTACT SECTION
══════════════════════════════════ */
.contact-section {
  background: #D9D9D9;
  color: #1A1A1A;
}

.contact-section {
  background: #0A0A0A;
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-left h2 {
  font-family: 'Rubik', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: #fff;
}

.contact-left h2 em {
  color: #8C4A2F;
  font-style: normal;
}

.contact-left>p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4rem;
  font-weight: 300;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  margin-bottom: 4rem;
}

.steps::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 17.5px;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  position: relative;
}

.step-num {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #4A5844;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.step-text p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  font-weight: 300;
}

.contact-quote {
  padding-left: 2rem;
  border-left: 3px solid #8C4A2F;
  font-style: italic;
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.6;
  max-width: 450px;
}

/* FORM CARD */
.sidebar-box,
.calendar-box,
.contact-box {
  border-radius: 10px !important;
  /* Força o arredondamento de 10px em todos */
}

.form-card {
  background: #fff;
  border-radius: 10px;
  padding: 4rem 3.5rem;
  color: #1A1A1A;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.form-card h3 {
  font-family: 'Rubik', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-card>p {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.4);
  margin-bottom: 3rem;
}

.form-field {
  margin-bottom: 1.8rem;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #1A1A1A;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  font-family: 'Rubik', sans-serif;
  font-size: 0.9rem;
  color: #1A1A1A;
  transition: all 0.3s ease;
  outline: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(0, 0, 0, 0.2);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #4A5844;
  box-shadow: 0 0 0 4px rgba(74, 88, 68, 0.05);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field select {
  width: 100%;
  padding: 1rem 1.2rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  font-family: 'Rubik', sans-serif;
  font-size: 0.9rem;
  color: #1A1A1A;
  transition: all 0.3s ease;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%231A1A1A' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
}

.form-field select:focus {
  border-color: #4A5844;
  box-shadow: 0 0 0 4px rgba(74, 88, 68, 0.05);
}

.interest-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.interest-option {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.8rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.6);
  position: relative;
}

.interest-option input {
  display: none;
}

.interest-option .dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #EBE9E1;
  flex-shrink: 0;
  transition: background 0.3s;
}

.interest-option.active {
  background: #EBE9E1;
  border: 2px solid #7A907C;
  color: #1A1A1A;
  font-weight: 500;
}

.interest-option.active .dot {
  background: #7A907C;
}

.privacy-note {
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.35);
  margin-bottom: 2rem;
}

.btn-send {
  width: 100%;
  padding: 1.2rem;
  background: #3D5245;
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.btn-send:hover {
  background: #2D3D33;
  transform: translateY(-2px);
}

.whatsapp-link {
  display: block;
  text-align: center;
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 2rem;
  transition: color 0.3s;
}

.whatsapp-link:hover {
  color: #1A1A1A;
}

.form-footer {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.3);
}

.btn-send:hover {
  opacity: 0.88;
}

/* ══════════════════════════════════
   FOOTER
 ══════════════════════════════════ */
.footer {
  background: #1A1A1A;
  color: #fff;
  padding: 5rem 0 2rem;
  font-family: 'Rubik', sans-serif;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-logo {
  height: 60px;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.footer-address {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

.footer-address strong {
  color: #fff;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-title {
  color: #8C4A2F;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-transform: capitalize;
}

.footer-links-list {
  list-style: none;
  padding: 0;
}

.footer-links-list li {
  margin-bottom: 1rem;
}

.footer-links-list a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 300;
  transition: color 0.3s;
}

.footer-links-list a:hover {
  color: #8C4A2F;
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.footer-contact-item span {
  font-weight: 600;
  color: #fff;
}

.footer-contact-item a {
  color: #fff;
  text-decoration: none;
  font-weight: 300;
  transition: color 0.3s;
  word-break: break-all;
}

.footer-contact-item a:hover {
  color: #8C4A2F;
}

.footer-socials a {
  color: #fff;
  text-decoration: none;
  margin-right: 1rem;
  font-weight: 300;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: #fff;
}

/* ══════════════════════════════════
   GLOBAL OVERFLOW FIX
══════════════════════════════════ */
html,
body {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

* {
  box-sizing: border-box;
}

/* ══════════════════════════════════
   MODAL
 ══════════════════════════════════ */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: #fff;
  padding: 3rem;
  border-radius: 24px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  animation: modalIn 0.4s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes modalIn {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-icon {
  width: 80px;
  height: 80px;
  background: #E8EAE6;
  color: #7A907C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.modal-content h2 {
  font-family: 'Rubik', sans-serif;
  font-size: 1.8rem;
  color: #1A1A1A;
  margin-bottom: 1rem;
}

.modal-content p {
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 300;
}

.btn-close-modal {
  background: #3D5245;
  color: #fff;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-close-modal:hover {
  background: #2D3D33;
  transform: scale(1.05);
}

/* ══════════════════════════════════
   RESPONSIVE
 ══════════════════════════════════ */
@media (max-width: 1024px) {
  .container {
    padding: 0 3rem;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
    width: 100%;
    box-sizing: border-box;
    /* overflow: hidden; REMOVIDO para não cortar o menu */
  }

  .section-pad {
    padding: 4rem 0;
  }

  #main-nav {
    background: #EBE9E1;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #EBE9E1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 999;
    padding: 2rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.6rem;
    font-weight: 500;
    color: #1A1A1A;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    flex-direction: column;
    padding-top: 80px;
    padding-bottom: 0;
    /* Remove espaço extra no fundo */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-inner {
    padding: 0 1.5rem;
  }

  .hero-content {
    width: 100%;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    margin: 0 auto 1.5rem auto;
    text-align: center;
  }

  .hero-desc {
    margin: 0 auto 2rem auto;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto 2rem auto;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero-visual {
    position: relative;
    width: 100%;
    margin-top: 2rem;
    margin-bottom: -5px;
    /* Garante que encoste na próxima seção */
    display: block;
  }

  .hero-visual img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* Forçar visibilidade no mobile (resolve o "não aparece nada") */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Navigation Mobile Exclusive */
  nav {
    height: 70px;
    background-color: #E8E4DB !important;
    /* Cor exata da seção Hero */
    display: flex;
    align-items: center;
    border: none !important;
    box-shadow: none !important;
  }

  nav .container {
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #E8E4DB !important;
  }

  .nav-links {
    display: none;
    position: fixed !important;
    top: 70px !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    background-color: #E8E4DB !important;
    /* Fundo do menu */
    margin: 0 !important;
    padding: 10px 0 30px 0 !important;
    list-style: none !important;
    z-index: 99999 !important;
    box-shadow: none !important;
    border: none !important;
  }

  .nav-links.open {
    display: block !important;
    background-color: #E8E4DB !important;
  }

  .nav-links li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #E8E4DB !important;
    /* Fundo do item */
  }

  .nav-links a {
    display: block !important;
    width: 100% !important;
    padding: 12px 0 !important;
    text-align: center !important;
    color: #000000 !important;
    background-color: #E8E4DB !important;
    font-size: 0.85rem !important;
    /* Fonte menor e mais elegante */
    font-weight: 400 !important;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    /* Um pouco mais de espaçamento para compensar o tamanho */
  }

  /* Overlay simplificado para dropdown */
  .nav-overlay {
    background: rgba(0, 0, 0, 0.2);
  }

  .hamburger {
    display: flex;
  }

  /* Methodology Diagram Mobile Reordering */
  .method-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .method-content {
    display: contents;
  }

  .tagline.muted {
    order: 1;
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
  }

  .method-diagram {
    order: 2;
    margin: 2rem auto 2rem;
    /* Margens reduzidas para aproximar do texto */
    width: 280px;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .method-content h2 {
    order: 3;
    margin-top: 1rem;
  }

  .method-content p {
    order: 4;
  }

  .method-box {
    order: 5;
  }

  .method-content h2 {
    order: 3;
    margin-top: 2rem;
  }

  .method-content p {
    order: 4;
  }

  .method-box {
    order: 5;
  }

  .pill {
    font-size: 0.65rem;
    padding: 0.4rem 0.8rem;
    position: absolute;
    white-space: nowrap;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 10;
  }

  .c3 {
    font-size: 0.7rem;
    padding: 0.8rem;
    width: 110px;
    height: 110px;
    line-height: 1.2;
  }

  /* Posições ajustadas para não cortar */
  .pill-vision {
    top: 5%;
    /* Ajustado para tocar a linha superior */
    right: -10%;
  }

  .pill-academic {
    left: -15%;
    top: 35%;
  }

  .pill-pastoral {
    right: -18%;
    top: 55%;
  }

  .pill-practice {
    bottom: 5%;
    /* Subiu para tocar a linha inferior */
    left: 5%;
  }

  /* Grids */
  .stats-grid,
  .about-grid,
  .services-grid,
  .method-grid,
  .team-grid,
  .contact-grid,
  .footer-main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .stats-numbers {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  /* ── HAMBURGER BUTTON (Mobile Only) ── */
  .hamburger {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1000;
    position: relative;
  }

  /* ── SEÇÃO DE ASSESSORIA (MOBILE) ── */
  .contact-section .container {
    padding: 0 1.5rem !important;
    /* Respiro lateral essencial */
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    width: 100%;
  }

  .form-card {
    padding: 2rem 1.2rem;
    margin-top: 1rem;
    width: 100%;
    box-sizing: border-box;
    border-radius: 15px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .interest-options {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    /* Garante que os campos não cortem */
    font-size: 1rem;
  }

  /* Footer */
  .footer-main {
    text-align: center;
    gap: 3rem;
  }

  .brand-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-contact-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.9rem;
  }

  .stats-numbers {
    grid-template-columns: 1fr;
  }
}


/* ── NAV TRANSPARENTE: SOMENTE NA TELA DE CURSOS ── */
.cursos-page nav {
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
  border-bottom: none;
  box-shadow: none;
}

.cursos-page .nav-links a {
  color: rgba(255,255,255,0.75);
}

.cursos-page .nav-links a:hover {
  color: #fff;
}

.cursos-page .nav-links a.active {
  color: #fff;
  font-weight: 500;
}

.cursos-page {
  background-color: #FFFFFF;
}

/* ── HERO ── */
.courses-hero {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.75) 100%),
    url('assets/montanha-dark.png') center center / cover no-repeat;
  color: #fff;
  padding: 8rem 0 5rem;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.courses-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(140, 74, 47, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 40%, rgba(90, 107, 84, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

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

.breadcrumb-new {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.35);
  font-weight: 400;
  text-transform: uppercase;
}

.line-brown {
  width: 35px;
  height: 1px;
  background: #8C4A2F;
  flex-shrink: 0;
}

.courses-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  color: #FFFFFF;
  max-width: 600px;
}

.courses-hero p {
  max-width: 500px;
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.btn-hero-cta {
  background: #8C4A2F;
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.25s, transform 0.2s;
  font-family: 'Rubik', sans-serif;
}

.btn-hero-cta:hover {
  background: #7a3e28;
  transform: translateY(-2px);
}

/* ── FILTER NAV ── */
.filter-nav {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: 0;
  position: sticky;
  top: 70px;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.filter-nav {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.filter-nav-inner {
  display: flex;
  justify-content: center;
  padding: 0;
}

.filter-pills {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  background: transparent;
  border: none;
  padding: 1.5rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #999;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-family: 'Rubik', sans-serif;
  position: relative;
}

.filter-btn:hover {
  color: #1A1A1A;
}

.filter-btn.active {
  color: #8C4A2F;
  border-bottom-color: #8C4A2F;
}

/* ── MAIN AREA ── */
.courses-main {
  display: flex;
  justify-content: center;
  gap: 6rem; /* Aumentado de 3rem para 6rem */
  margin-top: 4rem; /* Adicionado espaçamento superior maior */
  margin-bottom: 5rem;
  padding-left: 20px;
  padding-right: 20px;
}

.courses-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.courses-sidebar {
  width: 350px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ── CARD ── */
.course-card {
  background: #F5F5F5;
  border-radius: 12px;
  display: flex;
  padding: 2.2rem;
  gap: 3rem;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  width: 800px;
  height: 350px;
  flex-shrink: 0;
  transition: transform 0.25s;
}

.course-card:hover {
  transform: translateY(-4px);
}

.course-card.highlighted {
  background: #F5F5F5;
  color: inherit;
  border: 1px solid rgba(0,0,0,0.05);
}

.course-card .card-content {
  flex: 1;
}

/* Badge */
.card-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #B27D5F;
  color: #fff;
  padding: 8px 45px;
  font-size: 0.75rem;
  font-weight: 500;
  transform: translate(35px, 20px) rotate(45deg);
  width: 150px;
  text-align: center;
}

.course-type {
  font-size: 0.72rem;
  font-weight: 500;
  background: rgba(90, 107, 84, 0.08);
  color: #5A6B54;
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 2rem;
  border: 1px solid rgba(90, 107, 84, 0.15);
}

.course-type::before {
  content: '';
  width: 5px;
  height: 5px;
  background: #5A6B54;
  border-radius: 50%;
}

.course-card h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  line-height: 1.25;
  color: #1A1A1A;
}

.course-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #777;
  margin-bottom: 1.5rem;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: center;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #666;
}

.meta-item svg {
  width: 18px; /* Tamanho uniforme */
  height: 18px;
  stroke: #8C4A2F; /* Cor de destaque para os ícones */
}

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

.course-tags span {
  font-size: 0.68rem;
  border: 1px solid #E0DDD7;
  padding: 8px 20px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  background: transparent;
}

/* Action Area */
.card-action {
  width: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.8rem; /* Espaçamento entre os botões */
}

.card-action .btn {
  width: 100%;
  padding: 0.9rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.investment {
  margin-bottom: 1.5rem;
}

.investment .label {
  display: block;
  font-size: 0.68rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
}

.investment .price {
  display: block;
  font-size: 2rem;
  font-weight: 400;
  color: #8C4A2F;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.investment .sub {
  font-size: 0.95rem;
  color: #999;
}

.btn-reservar {
  background: #8C4A2F !important;
  color: #fff !important;
  padding: 0.8rem 1.8rem !important;
  border-radius: 10px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-reservar:hover {
  opacity: 0.9;
}

.vacancy-text {
  font-size: 0.8rem;
  color: #B27D5F;
  margin-bottom: 8px;
  display: block;
}

.progress-bar-bg {
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 2px;
  overflow: hidden;
}

.highlighted .progress-bar-bg {
  background: rgba(255, 255, 255, 0.1);
}

.progress-bar-fill {
  height: 100%;
  background: #B27D5F;
  border-radius: 2px;
}

/* Buttons in card */
.card-action .btn {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.course-card .btn-green,
.course-card .btn-brown {
  background: #8C4A2F;
  color: #fff;
}

.course-card .btn-outline-dark {
  border: 1px solid rgba(0,0,0,0.15);
  color: #555;
  background: transparent;
}

.highlighted .btn-outline-dark {
  border: 1px solid rgba(0,0,0,0.15);
  color: #555;
  background: transparent;
}

/* ── SIDEBAR NOVO ── */
.courses-sidebar-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Sidebar & Sections */
.sidebar-box {
  background: #F5F5F5;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.05);
}

.sidebar-box.dark {
  background: #000;
}

.retiro-card {
  border-radius: 24px;
  padding: 2.5rem;
}

@media (max-width: 1100px) {
  .courses-main {
    grid-template-columns: 1fr;
  }

  .course-card {
    flex-direction: column;
    padding: 2.5rem;
    gap: 2.5rem;
    min-height: 650px;
    /* Garante que ele continue comprido no mobile/tablet */
  }

  .card-action {
    width: 100%;
  }
}

/* Calendar Widget */
.calendar-box {
  background: #F5F5F5;
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 0;
  border: 1px solid rgba(0,0,0,0.05);
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.sidebar-header .lines {
  display: flex;
  gap: 1rem;
}

.sidebar-header .line {
  width: 40px;
  height: 2px;
}

.sidebar-header .line.brown {
  background: #8C4A2F;
}

.sidebar-header .line.green {
  background: #5A6B54;
  opacity: 0.6;
}

.sidebar-header span {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #B27D5F;
  font-weight: 400;
}

.sidebar-box.dark .sidebar-header span {
  color: #8A9A84;
  /* Verde claro para o box escuro */
}

.sidebar-box.dark {
  background: #080808;
  color: #fff;
}

.sidebar-box.dark h3 {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.sidebar-box.dark p {
  color: #888;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.calendar-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2rem;
}

.calendar-header .line {
  width: 30px;
  height: 1px;
  background: #B27D5F;
}


.calendar-header span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #B27D5F;
  text-transform: uppercase;
  font-weight: 600;
}

.month-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.month-nav h3 {
  font-size: 1.3rem;
  font-weight: 500;
  color: #333;
}

.nav-btns {
  display: flex;
  gap: 8px;
}

.nav-btns button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  text-align: center;
  margin-bottom: 2.5rem;
}

.day-name {
  font-size: 0.65rem;
  color: #999;
  font-weight: 500;
  padding-bottom: 10px;
}

.day-num {
  font-size: 0.85rem;
  color: #666;
  padding: 8px 0;
  cursor: pointer;
  position: relative;
  border-radius: 4px;
}

.day-num.active {
  background: #5A6B54;
  color: #fff;
}

.day-num.has-event::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  background: #B27D5F;
  border-radius: 50%;
}

.day-num.muted {
  opacity: 0.3;
}

.upcoming-list {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.event-item {
  display: flex;
  gap: 1.5rem;
}

.event-date {
  text-align: center;
  min-width: 40px;
}

.event-date .num {
  display: block;
  font-size: 1.6rem;
  color: #B27D5F;
  line-height: 1;
}

.event-date .mon {
  font-size: 0.6rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.event-info h4 {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
  line-height: 1.3;
}

.course-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 1.5rem;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* Forçar quebra de palavras gigantes */
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  width: 100%;
  max-width: 600px;
  height: 85vh;
  /* Altura fixa para garantir que o scroll funcione */
  border-radius: 10px;
  position: relative;
  animation: modalIn 0.3s ease-out;
  text-align: left;
  overflow: hidden;
}

#modal-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  /* Ocupa toda a altura do modal-content */
}

.modal-header {
  padding: 2.5rem 3rem 1.5rem;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
  /* Não deixa o topo diminuir */
}

.modal-scroll-area {
  padding: 2rem 3rem;
  overflow-y: auto;
  /* Aqui é onde a mágica acontece */
  flex-grow: 1;
  /* Ocupa todo o espaço central */
}

.modal-footer {
  padding: 1.5rem 3rem 2.5rem;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  /* Não deixa o rodapé diminuir */
}

/* Custom Scrollbar para a área de rolagem */
.modal-scroll-area::-webkit-scrollbar {
  width: 6px;
}

.modal-scroll-area::-webkit-scrollbar-track {
  background: transparent;
}

.modal-scroll-area::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 10px;
}

@keyframes modalIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
}

.modal-body h2 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: #333;
}

.modal-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  white-space: pre-line;
  overflow-wrap: break-word;
  /* Garante que o texto gigante quebre aqui também */
}

/* ── PARTNERSHIP SECTION ── */
.partnership-section {
  background: #080808;
  color: #fff;
  padding: 6rem 1.5rem;
  /* Adicionado 1.5rem lateral */
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Círculos sutis de fundo */
.partnership-section::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  border-radius: 50%;
}

.partnership-section::after {
  content: "";
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
  border-radius: 50%;
}

.partnership-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.partnership-content .sub-tag {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #666;
  display: block;
  margin-bottom: 2.5rem;
}

.partnership-content h2 {
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: #E8E4DB;
}

.partnership-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #888;
  margin-bottom: 3rem;
  font-weight: 300;
}

.partnership-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.partnership-actions .btn {
  padding: 1rem 2rem;
  font-size: 0.75rem;
  border-radius: 10px;
  min-width: 180px;
}

.btn-outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #fff;
}

/* ══════════════════════════════════
   RESPONSIVIDADE CURSOS
   ══════════════════════════════════ */

@media (max-width: 992px) {
  .courses-main {
    flex-direction: column;
    gap: 3rem;
  }

  .courses-sidebar {
    width: 100%;
    position: static;
  }

  .courses-hero h1 {
    font-size: 2.4rem;
  }

  .partnership-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .filter-nav .container {
    overflow-x: auto;
    padding: 0 20px;
    scrollbar-width: none;
    display: flex;
    justify-content: flex-start;
  }

  .courses-main {
    padding-top: 0;
    margin-top: 25px !important;
    /* Ajuste final de 25px conforme solicitado */
    padding-left: 20px;
    padding-right: 20px;
  }

  .courses-grid {
    width: 100%;
    margin: 0;
  }

  .filter-nav .container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
  }

  .filter-btn {
    padding: 1rem 1.2rem;
    /* Reduzido padding vertical no mobile */
    font-size: 0.7rem;
  }

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

  .courses-hero {
    padding: 4rem 0 3rem;
    text-align: center;
  }

  .breadcrumb-new {
    justify-content: center;
  }

  .courses-hero p {
    margin: 0 auto;
  }

  .partnership-actions {
    flex-direction: column;
    align-items: center;
  }

  .partnership-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .modal-content {
    width: 95%;
    height: 90vh;
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .courses-hero h1 {
    font-size: 2rem;
  }

  .course-card .card-content h3 {
    font-size: 1.1rem;
  }

  .partnership-section {
    padding: 4rem 0;
  }
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1A1A1A;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
}