:root {
  --orange: #ff5b0a;
  --orange-dark: #d94700;
  --purple: #5f1d82;
  --purple-dark: #42105f;
  --black: #111111;
  --text: #26212b;
  --muted: #6f6875;
  --white: #ffffff;
  --soft: #f8f4fa;
  --border: #eadfed;
  --shadow: 0 18px 42px rgba(55, 18, 72, 0.10);
  --radius: 24px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  margin-top:10px;
}



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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(95, 29, 130, 0.08);
  backdrop-filter: blur(12px);
}
header{
  top:0;
}

.header-content {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  position: relative;
  font-size: 1.72rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
}

.brand-elas { color: var(--orange); }
.brand-titam { color: var(--purple); }

.brand small {
  position: absolute;
  left: 2px;
  top: 31px;
  color: var(--black);
  font-size: .52rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  position: relative;
  font-size: .93rem;
  font-weight: 600;
  transition: color .2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 3px;
  border-radius: 10px;
  background: var(--orange);
  transition: right .2s ease;
}

.main-nav a:hover,
.main-nav a.active { color: var(--purple); }
.main-nav a:hover::after,
.main-nav a.active::after { right: 0; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--soft);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--purple);
}

.hero-casa-aberta {
  padding: 28px 0 0;
  overflow: hidden;
}

.hero-banner {
  width: 100%;
  border-radius: 0 0 28px 28px;
  box-shadow: var(--shadow);
}

.hero-mobile-copy { display: none; }

.intro-section {
  padding: 88px 0 60px;
  margin-top: 10%
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 80px;
  align-items: end;
}

.section-kicker {
  display: inline-flex;
  color: var(--orange);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.intro-grid h2,
.section-heading h2,
.event-info h2 {
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -.045em;
}

.section-heading h2{
  color: var(--white);
}

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

.workshops-section {
  position: relative;
  padding: 80px 0 100px;
  background:
    var(--purple);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading p {
  margin-top: 15px;
  color: var(--soft);
}

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

.workshop-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(53, 20, 67, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.workshop-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--orange), var(--purple));
}

.workshop-card:hover {
  transform: translateY(-7px);
  border-color: rgba(95, 29, 130, .28);
  box-shadow: var(--shadow);
}

.card-icon img {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 30px 30px 0;
  border: 2px solid rgba(95, 29, 130, .22);
  border-radius: 100%;
  color: var(--purple);
  /*
  font-size: 1.55rem;
  font-weight: 800;*/
}

.card-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 22px 30px 30px;
}

.card-number {
  color: var(--orange);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.card-content h3 {
  min-height: 78px;
  margin: 8px 0 12px;
  color: var(--black);
  font-size: 1.2rem;
  line-height: 1.35;
}

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

.card-info {
  display: grid;
  gap: 7px;
  margin: 22px 0;
  padding: 17px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  list-style: none;
  font-size: .84rem;
}

.card-info strong { color: var(--purple); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

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

.btn-primary,
.btn-card {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 8px 18px rgba(255, 91, 10, .22);
}

.btn-primary:hover,
.btn-card:hover { background: var(--orange-dark); }

.btn-card {
  width: 100%;
  margin-top: auto;
}

.featured-card {
  background-color:#252525;
  border-color: var(--purple);
}

.featured-card::before { background: var(--orange); }
.featured-card h3,
.featured-card .card-content > p,
.featured-card .card-info,
.featured-card .card-info strong { color: var(--white); }
.featured-card .card-info { border-color: rgba(255, 255, 255, .18); }
.featured-card .card-number { color: #ffb58e; }

.event-info {
  padding: 90px 0;
}

.event-info-box {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 42px;
  padding: 46px 52px;
  border-radius: 32px;
  color: var(--white);
  background: var(--purple);
  box-shadow: var(--shadow);
}

.event-info h2 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.event-info p { margin-top: 8px; color: rgba(255,255,255,.82); }

.date-box {
  width: 116px;
  height: 128px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 22px;
  line-height: 1;
}

.date-box span,
.date-box small { font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.date-box strong { margin: 7px 0; font-size: 3rem; }

.btn-light {
  color: var(--purple);
  background: var(--white);
}

.site-footer {
  color: var(--white);
  background: #160d19;
}

.footer-content {
  min-height: 190px;
 
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 50px;
}

.footer-brand .brand-elas { color: var(--orange); }
.footer-brand .brand-titam { color: #b785d0; }
.footer-brand small { color: var(--white); }
.footer-content p { max-width: 560px; color: rgba(255,255,255,.68); }
.footer-content > a { color: var(--orange); font-weight: 700; }

.footer-bottom {
  padding: 18px 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.55);
  font-size: .8rem;
  text-align: center;
}

@media (max-width: 980px) {
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-grid { gap: 42px; }
  .event-info-box { grid-template-columns: 1fr auto; }
  .event-info-box .btn { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }

  .header-content { min-height: 70px; }
  .menu-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 14px;
    right: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 14px; border-radius: 10px; }
  .main-nav a:hover { background: var(--soft); }
  .main-nav a::after { display: none; }

  .hero-casa-aberta { padding-top: 14px; }
  .hero-banner { display: none; }

  .hero-mobile-copy {
    display: block;
    padding: 42px 26px;
    border-radius: 24px;
    background:
      linear-gradient(145deg, rgba(255,255,255,.95), rgba(255,255,255,.88)),
      url("img/banner-casa-aberta.png") center / cover;
    box-shadow: var(--shadow);
  }

  .hero-mobile-copy .eyebrow {
    color: var(--orange);
    font-weight: 700;
  }

  .hero-mobile-copy h1 {
    margin: 10px 0 14px;
    color: var(--black);
    font-size: clamp(2.15rem, 11vw, 3.5rem);
    line-height: 1.02;
    letter-spacing: -.055em;
  }

  .hero-mobile-copy h1 strong { color: var(--purple); }
  .hero-mobile-copy p { margin-bottom: 24px; }

  .intro-section { padding: 68px 0 45px; }
  .intro-grid { grid-template-columns: 1fr; gap: 22px; }
  .workshops-section { padding: 65px 0 75px; }
  .cards-grid { grid-template-columns: 1fr; }
  .card-content h3 { min-height: auto; }

  .event-info { padding: 65px 0; }
  .event-info-box {
    grid-template-columns: 1fr;
    padding: 34px 26px;
    text-align: center;
  }
  .date-box { margin: 0 auto; }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 50px 0;
    text-align: center;
  }
  .footer-brand { justify-self: center; }
}

@media (max-width: 420px) {
  .hero-mobile-copy { padding: 34px 20px; }
  .card-icon { margin: 25px 24px 0; }
  .card-content { padding: 20px 24px 25px; }
}

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