﻿:root {
  --bg: #ffffff;
  --text: #0f0f14;
  --muted: #5f667a;
  --blue: #3E4095;
  --red: #8B1A1A;
  --light: #f6f7fb;
  --border: rgba(0, 0, 0, 0.08);
  --panel: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

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

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

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.brand-copy {
  letter-spacing: 0.32em;
  font-size: 0.75rem;
}

.brand-group {
  display: flex;
  align-items: center;
}

.brand-logo {
  width: 28px;
  height: auto;
  display: block;
}

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

.nav__link {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

main {
  padding-bottom: 4rem;
}

.hero {
  margin: 3rem auto 2rem;
  position: relative;
  padding: 3.5rem;
  border-radius: 2rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(242, 243, 249, 0.9));
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  box-shadow: 0 35px 60px rgba(0, 0, 0, 0.08);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  background: radial-gradient(circle at top left, rgba(62, 64, 149, 0.15), transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 3;
}

.logo-solera {
  display: block;
  width: 120px;
  margin-bottom: 1.5rem;
}

.hero__content h1 {
  margin: 0;
  font-family: 'GoodTimes', 'Montserrat', cursive;
  font-size: clamp(2.8rem, 4vw, 4rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__content h1 span {
  display: block;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  letter-spacing: 0.25em;
}

.hero__lead {
  margin: 1.5rem 0;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.3rem;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(62, 64, 149, 0.35);
}

.hero__photo {
  position: relative;
  border-radius: 1.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(239, 241, 255, 0.9));
  padding: 0.75rem;
  overflow: hidden;
  box-shadow: inset 0 10px 35px rgba(62, 64, 149, 0.06);
}

.hero__photo img {
  border-radius: 1.25rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  filter: saturate(0.95) contrast(1.05);
}

.hero__photo::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 1.25rem;
  background: radial-gradient(circle at 30% 10%, rgba(255, 255, 255, 0.6), transparent 50%);
  mix-blend-mode: screen;
  opacity: 0.7;
  pointer-events: none;
}

.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.7) 55%, rgba(139, 26, 26, 0.4));
  mix-blend-mode: screen;
  opacity: 0.8;
}

.section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.section:last-of-type {
  border-bottom: none;
}

.section h2 {
  font-family: 'GoodTimes', 'Montserrat', cursive;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}

.journey-subtitle {
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  margin: 0 auto 1rem;
}

.sobre {
  padding: 4rem 0;
  background: #fff;
  position: relative;
}

.section-title {
  font-family: 'GoodTimes', sans-serif;
  text-align: center;
  margin-bottom: 40px;
  color: var(--blue);
}

.slider {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.slides {
  overflow: hidden;
  position: relative;
}

.slide {
  display: none;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  padding: 0 20px;
}

.slide-title {
  font-family: 'GoodTimes', sans-serif;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

.slide.active {
  display: block;
  animation: fadeSlide 0.5s ease;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 42px;
  cursor: pointer;
  color: var(--blue);
  transition: color .2s ease;
}

.arrow:hover {
  color: var(--red);
}

.arrow.left { left: -60px; }
.arrow.right { right: -60px; }

@media (max-width: 768px) {
  .arrow.left { left: 10px; }
  .arrow.right { right: 10px; }
}

.senseis {
  padding: 100px 0;
  background: #fff;
}

.senseis__intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
  color: var(--text);
}

.senseis__subtitle {
  font-size: 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--blue);
}

.senseis__concept {
  font-size: 16px;
  line-height: 1.7;
  max-width: 660px;
  margin: 0 auto;
  color: var(--muted);
}

.senseis-group {
  margin-top: 60px;
}

.group-title {
  font-family: 'GoodTimes', sans-serif;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 10px;
  text-align: center;
}

.group-intro {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
}

.senseis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.senseis-legacy {
  margin-top: 3rem;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.legacy-title {
  font-family: 'GoodTimes', sans-serif;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.section-divider {
  height: 80px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}

.sensei-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.sensei-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.sensei-card img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--blue);
  display: block;
  margin: 0 auto 14px;
}

.sensei-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin: 10px 0;
}

.sensei-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 10px;
}

.sensei-card a {
  font-size: 13px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}

.sensei-card a:hover {
  color: var(--red);
}

.text {
  font-size: 1rem;
  max-width: 700px;
  line-height: 1.7;
  color: var(--muted);
}

.journey-accordion {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.journey-item {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: 0 20px 45px rgba(15, 15, 15, 0.08);
  overflow: hidden;
}

.journey-toggle {
  width: 100%;
  border: none;
  background: var(--light);
  border-radius: 1.5rem 1.5rem 0 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: 'GoodTimes', 'Montserrat', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.journey-toggle::after {
  content: '';
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.journey-toggle[aria-expanded="true"]::after {
  transform: rotate(-135deg);
}

.journey-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  transition: max-height 0.4s ease;
}

.journey-media {
  margin-bottom: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 0.85rem;
  border-radius: 1.25rem;
  background: var(--light);
}

.journey-media img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.journey-body.open {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

@media (max-width: 720px) {
  .journey-body.open {
    display: block;
  }
  .journey-media img {
    width: 100%;
  }
}

.journey-body p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.journey-body p:last-child {
  margin-bottom: 0;
}

.journey-conclusion {
  margin-top: 2rem;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  color: var(--muted);
}

.gallery-slider {
  margin-top: 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gallery-slides {
  flex: 1;
}

.gallery-slide {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.gallery-slide.active {
  display: grid;
}

.gallery-arrow {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--blue);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.gallery-arrow:hover {
  background: rgba(62, 64, 149, 0.1);
  color: var(--red);
}

.gallery__item {
  background: linear-gradient(145deg, #f1f2fa, #ffffff);
  border-radius: 1rem;
  border: 1px solid var(--border);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
  display: block;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.05);
}

.gallery-skeleton {
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  background: linear-gradient(
    90deg,
    #eee,
    #f5f5f5,
    #eee
  );
  background-size: 200% 100%;
  animation: pulse 1.4s linear infinite;
}

@keyframes pulse {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 100%;
  }
}

.gallery__item figcaption {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.75rem 1rem 1rem;
}

.gallery-error {
  text-align: center;
  color: var(--muted);
  margin: 2rem 0;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 20, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 2rem 1rem;
}

.gallery-lightbox[aria-hidden="false"] {
  display: flex;
}

.gallery-lightbox img {
  max-width: min(80vw, 900px);
  max-height: min(80vh, 600px);
  width: auto;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  object-fit: contain;
}

.gallery-lightbox .lightbox-close,
.gallery-lightbox .lightbox-arrow {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
}

.gallery-lightbox .lightbox-close {
  top: 1rem;
  right: 1rem;
}

.gallery-lightbox .lightbox-arrow.left {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox .lightbox-arrow.right {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.contact {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact__link {
  font-weight: 600;
  color: var(--blue);
}

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

.footer {
  padding: 3rem 0 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.sakura {
  position: absolute;
  width: 28px;
  height: 28px;
  background: radial-gradient(circle at 30% 30%, #ffb3c1, var(--red));
  clip-path: polygon(
    50% 0%, 65% 25%, 100% 50%,
    65% 75%, 50% 100%, 35% 75%,
    0% 50%, 35% 25%
  );
  opacity: 0.6;
  animation: fall linear infinite;
}

.sakura--a { left: 10%; animation-duration: 14s; }
.sakura--b { left: 45%; animation-duration: 18s; }
.sakura--c { left: 75%; animation-duration: 22s; }

@keyframes fall {
  0% {
    top: -10%;
    transform: rotate(0deg);
  }
  100% {
    top: 110%;
    transform: rotate(360deg);
  }
}

#katana {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 99;
}

#katana span {
  position: absolute;
  top: 50%;
  left: -120%;
  width: 140%;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--blue),
    var(--red),
    transparent
  );
  transform: rotate(-12deg);
}

#katana.active {
  opacity: 1;
}

#katana.active span {
  animation: cut 500ms ease-in-out forwards;
}

@keyframes cut {
  to {
    left: 120%;
  }
}

[data-observe] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-observe].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .hero {
    padding: 2.5rem 1.75rem;
  }

  .hero__content h1 {
    font-size: 2.5rem;
  }

  .nav {
    justify-content: center;
  }
}
