/* ============================================================
   SerOptimal® — brand system
   Palette: deep teal + warm sand + coral accent, logo cyan #009DC5
   Typography: Fraunces (serif display) + Inter (body)
   ============================================================ */

:root {
  --brand: #0F5E5A;
  --brand-dark: #0A4542;
  --brand-cyan: #009DC5;
  --ink: #2A2A2A;
  --ink-soft: #5A5A56;
  --sand: #F7F3EE;
  --sand-deep: #EFE9E1;
  --coral: #E8A87C;
  --coral-deep: #D98F60;
  --white: #FFFFFF;
  --line: #E4DED5;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(15, 94, 90, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 69, 66, 0.16);
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-user-select: text;
  user-select: text;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.12;
  color: var(--brand-dark);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.3rem; color: var(--brand); }

p { margin-bottom: 1rem; }

a { color: var(--brand); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--coral-deep); }

.container { width: min(1140px, 92%); margin: 0 auto; }
.container.narrow { width: min(820px, 92%); }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(228, 222, 213, 0.7);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.nav.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,0.07); background: rgba(255,255,255,0.97); }

.nav-inner {
  width: min(1140px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 40px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--brand-cyan);
  transition: width 0.25s ease;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-links a:hover { color: var(--brand); }

.nav-cta {
  background: var(--brand);
  color: var(--white) !important;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 94, 90, 0.25);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--brand-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/images/PASS_2022_004.jpg') center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(10,69,66,0.92) 0%, rgba(10,69,66,0.55) 55%, rgba(10,69,66,0.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1140px, 92%);
  margin: 0 auto;
  padding: 10rem 0 8rem;
  max-width: 680px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 600;
  margin-bottom: 1.4rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(232, 168, 124, 0.4);
  border-radius: 999px;
  background: rgba(232, 168, 124, 0.08);
}
.hero h1 {
  color: var(--white);
  margin-bottom: 2rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: var(--coral);
  color: var(--brand-dark) !important;
  box-shadow: 0 10px 30px rgba(232, 168, 124, 0.35);
}
.btn-primary:hover { background: var(--coral-deep); transform: translateY(-2px); }
.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.55);
  color: var(--white) !important;
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.12); }

/* ============ SECTIONS ============ */
.section { padding: 6rem 0; }
.section-alt { background: var(--sand); }

.section-head { max-width: 680px; margin: 0 auto 3.5rem; text-align: center; }
.section-head .lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-top: 0.7rem;
}
.kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  font-weight: 700;
  margin-bottom: 0.7rem;
}

/* ============ PROSE ============ */
.prose { max-width: 760px; margin: 0 auto; }
.prose p {
  font-size: 1.07rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 1.3rem;
}
.prose p:first-child { color: var(--ink); }
.prose-center { text-align: center; }
.prose-lead {
  font-family: var(--font-head);
  font-size: 1.35rem !important;
  line-height: 1.55 !important;
  color: var(--brand-dark) !important;
}

/* ============ SOBRE MEDIA ============ */
.sobre-media {
  margin-top: 2.5rem;
  text-align: center;
}
.sobre-media img {
  display: inline-block;
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ============ SPLIT LAYOUT (image + text) ============ */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

.split-text h2 { margin-bottom: 1.2rem; }
.split-text .prose { max-width: none; margin: 0; }
.split-text .prose p:first-child { color: var(--ink); }

.split-media { position: relative; }
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
}
.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0,157,197,0.12), rgba(232,168,124,0.10));
  pointer-events: none;
}

/* ============ BENEFIT LIST ============ */
.benefit-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  max-width: 820px;
  margin: 0 auto;
}
.benefit-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.05rem 1.3rem;
  font-size: 0.98rem;
  color: var(--ink);
  box-shadow: var(--shadow);
  position: relative;
  padding-left: 2.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.benefit-list li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 157, 197, 0.4);
}
.benefit-list li::before {
  content: "✓";
  position: absolute;
  left: 1.1rem;
  top: 1.05rem;
  color: var(--brand-cyan);
  font-weight: 700;
}
.benefit-foot {
  text-align: center;
  margin-top: 1.4rem;
  color: var(--ink-soft);
  font-style: italic;
  font-family: var(--font-head);
  font-size: 1.15rem;
}

/* ============ QUEM PODE TREINAR (image section) ============ */
.section-image {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}
.section-image-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/images/seroptimal neuroneos.jpg') center/cover no-repeat;
  filter: saturate(0.85);
}
.section-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,69,66,0.9) 0%, rgba(10,69,66,0.78) 100%);
}
.section-image-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}
.section-image-content h2 { color: var(--white); }
.section-image-content .kicker { color: var(--coral); }
.centered-quote {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.95);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: stretch;
}
.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 2.2rem;
  box-shadow: var(--shadow);
}
.contact-info h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--brand-dark);
  margin-bottom: 0.4rem;
}
.contact-info address {
  font-style: normal;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
  line-height: 1.7;
  font-size: 1.02rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.contact-list { list-style: none; }
.contact-list li + li { border-top: 1px solid var(--line); }
.contact-list li > a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0;
  font-weight: 500;
  color: var(--ink);
  -webkit-user-select: text;
  user-select: text;
  -webkit-user-drag: none;
  -webkit-touch-callout: default;
}
.contact-list li > a:hover { color: var(--brand); }
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 157, 197, 0.12);
  color: var(--brand-cyan);
  flex-shrink: 0;
}

.contact-map { border-radius: var(--radius); overflow: hidden; min-height: 360px; box-shadow: var(--shadow); }
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }

/* ============ FOOTER ============ */
.footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,0.82);
  padding: 4rem 0 2.5rem;
}
.footer-inner { display: flex; flex-direction: column; gap: 1.3rem; }
.footer-logo { height: 46px; width: auto; align-self: flex-start; }
.footer-about { max-width: 560px; font-size: 0.93rem; color: rgba(255,255,255,0.75); }
.footer-social { display: flex; gap: 1rem; align-items: center; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--coral);
  background: rgba(255,255,255,0.08);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover {
  background: var(--coral);
  color: var(--brand-dark);
  transform: translateY(-2px);
}
.footer-legal {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.4rem;
  margin: 0;
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.revealed { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .split, .split-reverse { grid-template-columns: 1fr; gap: 2rem; }
  .split-reverse { direction: ltr; }
  .split-reverse .split-media { order: -1; }
  .benefit-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
}
