/* =============================================
   FÁTIMA BENTO — FISIOTERAPEUTA
   ============================================= */

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

:root {
  --red:         #dd4e50;
  --red-dark:    #c43a3c;
  --red-light:   #e87a7c;
  --red-dim:     rgba(221, 78, 80, 0.08);
  --red-dim2:    rgba(221, 78, 80, 0.15);
  --cream:       #fdf6f6;
  --cream-2:     #f7eaea;
  --surface-dark:#1a0505;
  --fg:          #1a0808;
  --fg-2:        #3a1a1a;
  --muted:       #8a6060;
  --border:      rgba(221, 78, 80, 0.12);
  --border-mid:  rgba(221, 78, 80, 0.22);
  --white:       #ffffff;

  --font-display: 'Lora', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- BACK LINK ---- */
.back-link {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  background: rgba(221, 78, 80, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.45rem 0.85rem 0.45rem 0.65rem;
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}
.back-link:hover { background: var(--red-dark); }
.back-link svg { width: 14px; height: 14px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }

.btn--primary {
  background: var(--white);
  color: var(--red);
  font-weight: 600;
}
.btn--primary:hover { background: var(--cream); }

.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}
.btn--secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.8rem;
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

.btn--inverted {
  background: var(--white);
  color: var(--red);
  font-weight: 600;
}
.btn--inverted:hover { background: var(--cream); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: var(--red);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-texture {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 70% at 75% 50%, rgba(255,160,100,0.15) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(100,10,10,0.25) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 9rem clamp(20px, 5vw, 48px) 6rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.2rem;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 400;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 1rem;
}
.hero-title em {
  font-style: italic;
  color: rgba(255,255,255,0.75);
}

.hero-roles {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero photo */
.hero-photo {
  flex-shrink: 0;
  width: 300px;
}
.hero-photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
  border: 4px solid rgba(255,255,255,0.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ---- LAYOUT ---- */
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.section {
  padding: 6rem 0;
}

.section--light {
  background: var(--cream);
}

.section--dark {
  background: var(--surface-dark);
}

.section-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.section--dark .section-tag { color: var(--red-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 3rem;
}
.section-title em {
  font-style: italic;
  color: var(--red);
}

/* ---- REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  align-items: start;
}

.about-label .section-tag {
  position: sticky;
  top: 6rem;
  margin: 0;
}

.about-text p {
  font-size: 1rem;
  color: var(--fg-2);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.about-lead {
  font-family: var(--font-display);
  font-size: 1.25rem !important;
  font-weight: 400;
  color: var(--fg) !important;
  line-height: 1.6 !important;
}

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service {
  background: var(--white);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.25s;
}
.service:hover { background: var(--red-dim); }

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--red);
}
.service-icon svg { width: 100%; height: 100%; }

.service-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--fg);
}

.service-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ---- CURSO ---- */
.course-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 0;
}

.course-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 1.5rem;
}

.course-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.course-title em {
  font-style: italic;
  color: var(--red-light);
}

.course-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.course-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.course-feat {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-light);
  border: 1px solid rgba(232, 122, 124, 0.35);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
}

/* ---- LINKS ---- */
.links-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 2rem;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.link-item:hover { background: var(--red-dim); }
.section--light .link-item { background: var(--cream); }
.section--light .link-item:hover { background: var(--cream-2); }

.link-platform {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  min-width: 90px;
}

.link-handle {
  font-size: 0.95rem;
  color: var(--fg-2);
  flex: 1;
}

.link-arrow {
  font-size: 1rem;
  color: var(--muted);
  transition: color 0.2s, transform 0.2s;
}
.link-item:hover .link-arrow {
  color: var(--red);
  transform: translate(3px, -3px);
}

/* ---- FOOTER ---- */
.footer {
  background: var(--fg);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.footer-back {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-back:hover { color: var(--red-light); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 7rem;
    gap: 2.5rem;
  }
  .hero-photo {
    width: 180px;
    margin: 0 auto;
  }
  .hero-photo img { height: 180px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .link-item {
    padding: 1.2rem 1.25rem;
  }
  .link-platform { min-width: 70px; }

  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 540px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; justify-content: center; }
}
