/* ============================================================================
   COMPONENTS.CSS — G148 DOJO v2
   ============================================================================
   NAV | BUTTONS | BELT BAR | MODALITY CARDS | FOUNDER | METHODOLOGY CARDS |
   TAGS | SCROLL INDICATOR | SCHEDULE | FAQ | TESTIMONIAL | FOOTER
   ========================================================================== */

/* NAV */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s;
  background: transparent;
}

#nav.scrolled {
  background: var(--bg-alt);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 14px 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 48px;
  width: auto;
  transition: filter 0.3s;
}

#nav:not(.scrolled) .nav-logo img {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
}

#nav:not(.scrolled) .nav-links a {
  color: rgba(255,255,255,0.85);
}

#nav:not(.scrolled) .nav-links a:hover {
  color: #fff;
}

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

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 3px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: #a93226 !important;
  color: #fff !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

#nav:not(.scrolled) .hamburger span {
  background: #fff;
}

/* Mobile menu */
#mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--bg-alt);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

#mobile-menu.open {
  display: flex;
}

#mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.2s;
}

#mobile-menu a:hover {
  color: var(--accent);
}

.mobile-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 3px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #a93226;
  border-color: #a93226;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

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

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

.btn-whatsapp:hover {
  background: #1ebe5c;
  border-color: #1ebe5c;
}

.btn-text-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: none;
  border: none;
  border-bottom: 2px solid var(--accent);
  padding: 4px 0;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
}

.btn-text-arrow:hover {
  opacity: 0.75;
}

.btn-text-arrow i {
  width: 18px;
  height: 18px;
}

/* BELT BAR */
.belt-bar {
  display: flex;
  height: 5px;
  margin-top: 12px;
}

.belt-seg {
  flex: 1;
}

.belt-seg:nth-child(1) { background: #1a1a1a; }
.belt-seg:nth-child(2) { background: #6b3a2a; }
.belt-seg:nth-child(3) { background: #1a3a5c; }
.belt-seg:nth-child(4) { background: #c0392b; }

/* SCROLL INDICATOR */
#scroll-indicator {
  position: absolute;
  bottom: 48px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

.scroll-text {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  writing-mode: vertical-rl;
}

@media (max-width: 600px) {
  #scroll-indicator { display: none; }
}

/* FOUNDER SECTION */
.founder-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 64px;
  align-items: start;
}

.founder-photo-wrap {
  position: sticky;
  top: 100px;
}

.founder-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
}

.founder-role {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.founder-bio {
  margin-bottom: 32px;
}

.founder-bio p {
  color: var(--text);
  margin-bottom: 12px;
}

/* Credentials grid */
.founder-creds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.founder-cred {
  border-left: 2px solid var(--gold);
  padding: 8px 16px;
  background: rgba(184,134,11,0.04);
}

.founder-cred strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
}

.founder-cred span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.founder-divider {
  border: none;
  border-top: 1px solid rgba(184,134,11,0.3);
  margin: 32px 0;
}

@media (max-width: 900px) {
  .founder-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .founder-photo-wrap {
    position: static;
    max-width: 340px;
    margin: 0 auto;
  }
}

/* METHODOLOGY LIST (numbered) */
.method-list {
  border-top: 1px solid var(--border);
  margin-top: 16px;
}

.method-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.method-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
}

.method-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  margin-top: 6px;
}

.method-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 600px;
}

@media (max-width: 600px) {
  .method-item { grid-template-columns: 56px 1fr; gap: 20px; }
}

/* MODALITY LIST (horizontal rows, dark) */
.modalities-list {
  border-top: 1px solid var(--border-dark);
  margin-top: 16px;
}

.mod-row {
  display: grid;
  grid-template-columns: 56px 200px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-dark);
  transition: background 0.2s;
}

.mod-row:hover {
  background: rgba(255,255,255,0.03);
}

.mod-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted-dark);
}

.mod-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mod-info img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.mod-row:hover .mod-info img { opacity: 1; }

.mod-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-on-dark);
}

.mod-desc {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  line-height: 1.7;
  transition: color 0.2s;
}

.mod-row:hover .mod-desc { color: rgba(255,255,255,0.7); }

.mod-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(192,57,43,0.35);
  padding: 8px 16px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.mod-cta:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.mod-cta i {
  width: 12px;
  height: 12px;
}

@media (max-width: 900px) {
  .mod-row { grid-template-columns: 40px 1fr auto; }
  .mod-desc { display: none; }
}

@media (max-width: 600px) {
  .mod-row {
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto auto;
    gap: 6px 16px;
    padding: 20px 0;
  }
  .mod-num  { grid-column: 1; grid-row: 1; align-self: center; }
  .mod-info { grid-column: 2; grid-row: 1; }
  .mod-desc {
    display: block;
    grid-column: 2;
    grid-row: 2;
    font-size: 0.85rem;
  }
  .mod-cta {
    display: inline-flex;
    grid-column: 2;
    grid-row: 3;
    margin-top: 6px;
    align-self: start;
    justify-self: start;
  }
}

/* INCLUSION TAGS */
.inclusion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.tag-red,
.tag-blue,
.tag-green,
.tag-orange {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-block;
  border-radius: 100px;
  padding: 6px 14px;
}

.tag-red   { color: #e74c3c; border: 1.5px solid currentColor; }
.tag-blue  { color: #3498db; border: 1.5px solid currentColor; }
.tag-green { color: #27ae60; border: 1.5px solid currentColor; }
.tag-orange { color: #e67e22; border: 1.5px solid currentColor; }

/* INCLUSION LOGO WRAP */
.inclusion-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 360px;
  height: 360px;
  margin: 0 auto;
}

.inclusion-logo-wrap::before,
.inclusion-logo-wrap::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(52,152,219,0.2);
  animation: ring-pulse 4s ease-in-out infinite;
}

.inclusion-logo-wrap::before {
  inset: -24px;
  animation-delay: 0s;
}

.inclusion-logo-wrap::after {
  inset: -48px;
  animation-delay: 1s;
  border-color: rgba(231,76,60,0.15);
}

@keyframes ring-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

.inclusion-logo {
  width: 220px;
  height: 220px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

/* SCHEDULE TABLE */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.schedule-day {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.schedule-day-name {
  background: var(--primary);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 10px 8px;
}

.schedule-times {
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.schedule-time {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 6px 4px;
  line-height: 1.2;
}

.schedule-time small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
}

.schedule-note {
  margin-top: 24px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.schedule-note a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .schedule-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 600px) {
  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
}

/* FAQ ACCORDION */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list details:first-child {
  border-top: 1px solid var(--border);
}

.faq-list summary {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--primary);
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}

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

.faq-list summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-list details[open] summary::after {
  content: '\2212';
}

.faq-answer {
  padding: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* TESTIMONIAL CARD (dark section) */
.testimonial-card {
  max-width: 640px;
  margin: 0 auto;
  border-radius: 4px;
  padding: 48px 48px 40px;
  position: relative;
  text-align: center;
}

.testimonial-quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  line-height: 0.5;
  color: #fff;
  opacity: 0.12;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-on-dark);
  line-height: 1.6;
  margin-bottom: 24px;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--gold);
}

.testimonial-stars i,
.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
  color: var(--gold);
}

.testimonial-author {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
}

@media (max-width: 600px) {
  .testimonial-card { padding: 32px 24px; }
  .testimonial-text { font-size: 1.1rem; }
}

/* FOOTER */
footer {
  background: var(--hero-bg);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-grid--3col {
  grid-template-columns: 1.5fr 1fr 1.5fr;
}

.footer-logo img {
  height: 56px;
  width: auto;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: border-color 0.2s, color 0.2s;
}

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

.footer-socials i {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}

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

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
}

.footer-contact-item i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: rgba(255,255,255,0.5);
}

/* Map wrapper — LGPD */
.map-wrapper {
  border-radius: 4px;
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  height: 200px;
  border: none;
  display: block;
}

/* Footer bottom bar */
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}
