/* 
   RR Martial Arts - Colts Neck
   Shared Stylesheet
*/

:root {
  --primary-navy: #0A1D37;
  --secondary-navy: #102A4D;
  --accent-gold: #E8B923;
  --accent-gold-hover: #FFD24A;
  --text-light: #EAF2FF;
  --text-gray: rgba(234, 242, 255, 0.78);
  --white: #ffffff;
  --off-white: #f5f7fb;
  --background-light: #f6f8fc;

  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  --font-main: 'Inter', system-ui, -apple-system, sans-serif;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;

  --container-width: 1200px;
  --header-height: 70px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--primary-navy);
  background-color: var(--white);
  padding-top: calc(var(--header-height) + env(safe-area-inset-top));
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-navy);
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: var(--spacing-sm);
}

.text-center {
  text-align: center;
}

.text-light {
  color: var(--text-light);
}

.text-gold {
  color: var(--accent-gold);
}

.section-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  opacity: 0.92;
}

.coach-name {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--white);
  letter-spacing: -0.3px;
}

.coach-meta {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.85;
  margin-bottom: 1.5rem;
  color: rgba(234, 242, 255, 0.85);
}

.container {
  width: 92%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-lg) 0;
  max-width: 100%;
  overflow-x: hidden;
}

.bg-navy {
  background-color: var(--primary-navy);
  color: var(--text-light);
}

.bg-light {
  background-color: var(--background-light);
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.35rem;
  border-radius: 10px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: var(--primary-navy);
  box-shadow: 0 10px 20px rgba(232, 185, 35, 0.22);
}

.btn-primary:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.btn-secondary:hover {
  background-color: var(--accent-gold);
  color: var(--primary-navy);
}

.hero-secondary {
  border-color: rgba(255, 255, 255, 0.65) !important;
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.06);
}

.hero-secondary:hover {
  background: rgba(255, 255, 255, 0.90);
  color: var(--primary-navy) !important;
  border-color: rgba(255, 255, 255, 0.90) !important;
}

.btn-white {
  background-color: var(--white);
  color: var(--primary-navy);
}

.btn-white:hover {
  background-color: var(--off-white);
}

/* ===== HEADER ===== */
.site-header {
  height: calc(var(--header-height) + env(safe-area-inset-top));
  background-color: rgba(10, 29, 55, 0.92);
  color: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.14);
  padding-top: env(safe-area-inset-top);
  max-width: 100%;
  overflow: visible;
}

.site-header .container {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  color: var(--white);
  position: relative;
  z-index: 1002;
}

.logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
}

.logo-text {
  font-size: 1.05rem;
  letter-spacing: 0.2px;
  color: var(--white);
  opacity: 0.92;
}

.nav-toggle {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--white);
  touch-action: manipulation;
  position: relative;
  z-index: 1002;
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  color: rgba(234, 242, 255, 0.9);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-gold);
}

.site-header .btn {
  padding: 0.65rem 1rem;
  border-radius: 10px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 80vh;
  height: 80svh;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--white);
  padding-top: var(--header-height);
  overflow: hidden;
  max-width: 100%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(10, 29, 55, 0.78) 0%,
      rgba(10, 29, 55, 0.62) 55%,
      rgba(10, 29, 55, 0.55) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-content h1 {
  font-size: 3.1rem;
  margin-bottom: var(--spacing-sm);
  color: var(--white);
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-gray);
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.proof-bar {
  margin-top: var(--spacing-md);
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.proof-bar span:first-child {
  color: var(--accent-gold);
  font-weight: 800;
}

/* ===== CARDS ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(16, 42, 77, 0.08);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(16, 42, 77, 0.06);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(16, 42, 77, 0.14);
}

.card-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.card-body {
  padding: var(--spacing-sm);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  margin-bottom: var(--spacing-xs);
  color: var(--primary-navy);
}

.card-text {
  color: #4b5563;
  font-size: 0.95rem;
  margin-bottom: var(--spacing-sm);
  flex-grow: 1;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: 900;
}

.testimonial-card {
  background: var(--off-white);
  padding: var(--spacing-md);
  border-radius: 14px;
  text-align: center;
  border: 1px solid rgba(16, 42, 77, 0.06);
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--spacing-sm);
  border: 3px solid var(--accent-gold);
}

.stars {
  color: var(--accent-gold);
  margin-bottom: var(--spacing-xs);
}

/* ===== ACCORDION ===== */
.faq-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 14px 34px rgba(16, 42, 77, 0.08);
  border: 1px solid rgba(16, 42, 77, 0.08);
}

.accordion-item {
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(16, 42, 77, 0.03);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(16, 42, 77, 0.08);
}

.accordion-header {
  width: 100%;
  padding: 1.15rem 1rem;
  text-align: left;
  background: transparent;
  border: none;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header:hover {
  background: rgba(16, 42, 77, 0.05);
}

.accordion-icon {
  font-size: 1.05rem;
  color: var(--secondary-navy);
  opacity: 0.85;
  transition: transform 0.3s ease;
}

.accordion-content {
  padding: 0 1rem;
  color: rgba(10, 29, 55, 0.78);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.2s ease;
  opacity: 0;
}

.accordion-item.active {
  background: var(--white);
  border-color: rgba(232, 185, 35, 0.45);
  box-shadow: 0 10px 22px rgba(16, 42, 77, 0.10);
}

.accordion-item.active .accordion-content {
  max-height: 520px;
  padding-bottom: 1rem;
  opacity: 1;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--accent-gold);
  opacity: 1;
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: var(--primary-navy);
  color: rgba(234, 242, 255, 0.65);
  padding: var(--spacing-lg) 0 var(--spacing-md);
  max-width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: var(--spacing-sm);
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.copyright {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  padding: var(--spacing-sm);
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  text-align: center;
  backdrop-filter: blur(10px);
}

.mobile-sticky-cta.show {
  display: block;
}

.mobile-sticky-cta .btn {
  width: 100%;
}

.about-split,
.coach-split {
  display: grid;
  align-items: center;
  gap: 4rem;
}

.about-split {
  grid-template-columns: 1fr 1fr;
}

.coach-split {
  grid-template-columns: 1fr 2fr;
}

.round-profile-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border: 4px solid var(--accent-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.calendly-wrap {
  overflow: visible;
}

.calendly-inline-widget {
  width: 100%;
  height: 1200px;
}

.calendly-inline-widget iframe {
  width: 100% !important;
  height: 100% !important;
}

html {
  scroll-behavior: smooth;
}

.page-schedule {
  padding-top: 0px;
}

.page-schedule .hero {
  margin-bottom: 48px;
}

.page-schedule .hero+.section {
  padding-top: 56px;
}

/* ===== MOBILE MENU (LIMPO) ===== */
@media (max-width: 1024px) {
  .nav-toggle {
    display: block !important;
  }

  .logo-text {
    display: none;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: calc(var(--header-height) + env(safe-area-inset-top));
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--primary-navy);
    flex-direction: column;
    padding: var(--spacing-md);
    z-index: 10001;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  .nav-links.active {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
    --spacing-lg: 3rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .logo img {
    height: 40px;
  }

  .hero {
    text-align: center;
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .proof-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    justify-content: center;
  }

  .mobile-sticky-cta {
    display: none;
  }

  .mobile-sticky-cta.show {
    display: block;
  }

  body {
    padding-bottom: 76px;
  }

  .about-split,
  .coach-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--spacing-md);
  }

  .about-split img,
  .coach-split img {
    margin: 0 auto;
    max-width: 520px;
  }

  .coach-split img {
    order: -1;
    max-width: 340px;
  }

  .coach-name {
    font-size: 1.6rem;
    text-align: center;
  }

  .coach-meta {
    text-align: center;
  }

  .section-eyebrow {
    text-align: center;
  }

  .round-profile-photo {
    width: 150px;
    height: 150px;
  }

  .accordion-header {
    padding: 1.1rem 0.95rem;
    font-size: 1.02rem;
  }

  .faq-wrap {
    padding: 0.9rem;
  }

  .calendly-inline-widget {
    height: 1400px;
  }

  .page-schedule {
    padding-top: 120px;
  }

  .page-schedule .hero {
    margin-bottom: 32px;
  }

  .page-schedule .hero+.section {
    padding-top: 36px;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(250px, 1fr));
  }
}

/* ===== MOBILE MENU - iOS 26 Beta Compatible ===== */

/* Checkbox invisível para controlar o menu */
#menu-toggle {
  display: none;
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: block !important;
    z-index: 10002;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }

  .logo {
    z-index: 10002;
    position: relative;
  }

  .logo-text {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--primary-navy);
    flex-direction: column;
    padding: 20px;
    z-index: 10001;
    max-height: calc(100vh - 70px);
    overflow-y: auto;

    /* Escondido por padrão */
    display: none;
  }

  /* Quando checkbox está marcado, mostra o menu */
  #menu-toggle:checked~.container .nav-links {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
    --spacing-lg: 3rem;
  }

  .nav-links {
    top: 60px;
    max-height: calc(100vh - 60px);
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .logo img {
    height: 40px;
  }

  .hero {
    text-align: center;
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .proof-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    justify-content: center;
  }

  .mobile-sticky-cta {
    display: none;
  }

  .mobile-sticky-cta.show {
    display: block;
  }

  body {
    padding-bottom: 76px;
  }

  .about-split,
  .coach-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--spacing-md);
  }

  .about-split img,
  .coach-split img {
    margin: 0 auto;
    max-width: 520px;
  }

  .coach-split img {
    order: -1;
    max-width: 340px;
  }

  .coach-name {
    font-size: 1.6rem;
    text-align: center;
  }

  .coach-meta {
    text-align: center;
  }

  .section-eyebrow {
    text-align: center;
  }

  .round-profile-photo {
    width: 150px;
    height: 150px;
  }

  .accordion-header {
    padding: 1.1rem 0.95rem;
    font-size: 1.02rem;
  }

  .faq-wrap {
    padding: 0.9rem;
  }

  .calendly-inline-widget {
    height: 1400px;
  }

  .page-schedule {
    padding-top: 120px;
  }

  .page-schedule .hero {
    margin-bottom: 32px;
  }

  .page-schedule .hero+.section {
    padding-top: 36px;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(250px, 1fr));
  }
}