/* Casa Linha Yoga — soft sand & ocean teal */
:root {
  --sand: #f3ebe1;
  --sand-deep: #e5d6c5;
  --sand-soft: #faf6f1;
  --teal: #2c6f6d;
  --teal-deep: #1e4f4d;
  --teal-soft: #4a9491;
  --ink: #2a2a28;
  --ink-muted: #5c5a55;
  --cream: #fffdf9;
  --line: rgba(42, 42, 40, 0.12);
  --shadow: 0 18px 40px rgba(30, 79, 77, 0.08);
  --radius: 2px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(74, 148, 145, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 40% at 90% 10%, rgba(229, 214, 197, 0.7), transparent 50%),
    linear-gradient(180deg, var(--sand-soft) 0%, var(--cream) 40%, var(--sand) 100%);
  min-height: 100vh;
}

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

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--teal-soft);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--teal-deep);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin: 0 0 0.4em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 0 0 0.45em; }
h3 { font-size: 1.35rem; margin: 0 0 0.4em; }

p { margin: 0 0 1em; color: var(--ink-muted); }
p:last-child { margin-bottom: 0; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--teal-deep);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo span {
  font-style: italic;
  color: var(--teal);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--teal-deep);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--teal-deep);
}

.nav-cta {
  display: inline-block;
  padding: 0.45rem 1rem;
  background: var(--teal);
  color: var(--cream) !important;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--teal-deep);
  color: var(--cream) !important;
}

/* Hero — full-bleed */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--cream);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  animation: heroDrift 28s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 79, 77, 0.25) 0%, rgba(30, 79, 77, 0.55) 55%, rgba(30, 79, 77, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 4.5rem;
  max-width: 36rem;
  animation: fadeUp 1s ease 0.15s both;
}

.hero .brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 500;
  color: var(--cream);
  margin: 0 0 0.35em;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero .brand-mark em {
  font-style: italic;
  font-weight: 400;
  color: var(--sand-deep);
}

.hero h1 {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 400;
  font-style: italic;
  color: var(--sand);
  margin: 0 0 0.75em;
}

.hero p {
  color: rgba(255, 253, 249, 0.88);
  font-size: 1.05rem;
  max-width: 28rem;
  margin-bottom: 1.6rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--sand);
  color: var(--teal-deep);
}

.btn-primary:hover {
  background: var(--cream);
  color: var(--teal-deep);
}

.btn-secondary {
  background: var(--teal);
  color: var(--cream);
}

.btn-secondary:hover {
  background: var(--teal-deep);
  color: var(--cream);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 253, 249, 0.7);
  color: var(--cream);
}

.btn-outline:hover {
  background: rgba(255, 253, 249, 0.12);
  color: var(--cream);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal-deep);
}

.btn-outline-dark:hover {
  background: var(--teal);
  color: var(--cream);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-sand {
  background: linear-gradient(165deg, var(--sand) 0%, var(--sand-soft) 100%);
}

.section-teal {
  background: linear-gradient(145deg, var(--teal-deep) 0%, var(--teal) 100%);
  color: var(--cream);
}

.section-teal h2,
.section-teal h3 {
  color: var(--cream);
}

.section-teal p {
  color: rgba(255, 253, 249, 0.85);
}

.section-intro {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-soft);
  margin-bottom: 0.65rem;
}

.section-teal .eyebrow {
  color: var(--sand-deep);
}

/* Split layouts */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-reverse > :first-child {
  order: 2;
}

.split img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-wide img {
  aspect-ratio: 5 / 4;
}

/* Intention strip */
.intention {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.intention article {
  padding: 1.5rem 1rem;
}

.intention h3 {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 0.4rem;
}

.intention p {
  font-size: 0.95rem;
  margin: 0;
}

/* Class list — not cards in hero sense; interaction/content blocks */
.offer-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.offer-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.offer-row h3 {
  margin: 0;
  font-size: 1.4rem;
}

.offer-row p {
  margin: 0;
}

.offer-meta {
  font-size: 0.88rem;
  color: var(--teal);
  font-weight: 600;
  white-space: nowrap;
}

/* Teachers */
.teacher-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.teacher {
  text-align: left;
}

.teacher img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin-bottom: 1.1rem;
  border-radius: var(--radius);
}

.teacher .role {
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Testimonials — quote wall, not card clutter */
.quote-wall {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
}

.quote-item {
  padding: 0;
  border: 0;
  background: none;
}

.quote-item blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--teal-deep);
}

.quote-item cite {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.quote-featured {
  grid-column: 1 / -1;
  max-width: 40rem;
  margin-bottom: 0.5rem;
}

.quote-featured blockquote {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

/* Space rental */
.space-panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.space-panel img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Newsletter */
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
  max-width: 32rem;
}

.newsletter-form input[type="email"] {
  flex: 1 1 200px;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(255, 253, 249, 0.35);
  background: rgba(255, 253, 249, 0.1);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--radius);
}

.newsletter-form input::placeholder {
  color: rgba(255, 253, 249, 0.55);
}

.newsletter-form .btn {
  background: var(--sand);
  color: var(--teal-deep);
  border: 0;
}

.form-note {
  font-size: 0.85rem;
  margin-top: 0.75rem;
  opacity: 0.8;
}

/* Page hero (inner) */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  background:
    linear-gradient(120deg, var(--sand) 0%, transparent 60%),
    var(--sand-soft);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-bottom: 0.35em;
}

.page-hero p {
  max-width: 34rem;
  font-size: 1.1rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-details li {
  margin-bottom: 1.25rem;
}

.contact-details strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.25rem;
}

.contact-details a {
  text-decoration: none;
  color: var(--ink);
}

.contact-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--teal-deep);
}

.contact-form .field {
  margin-bottom: 1.1rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  border-radius: var(--radius);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

#form-message,
#newsletter-message {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(44, 111, 109, 0.1);
  color: var(--teal-deep);
  border-radius: var(--radius);
}

/* Legal */
.legal-content {
  max-width: 42rem;
  padding: 3rem 0 4rem;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.legal-content ul {
  color: var(--ink-muted);
  padding-left: 1.2rem;
}

/* Footer */
.site-footer {
  background: var(--teal-deep);
  color: rgba(255, 253, 249, 0.8);
  padding: 3.5rem 0 2rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.site-footer h3 {
  color: var(--cream);
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

.site-footer a {
  color: rgba(255, 253, 249, 0.8);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--sand);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 253, 249, 0.15);
  font-size: 0.88rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--cream);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(30, 79, 77, 0.1);
  padding: 1.25rem 1.5rem;
  transform: translateY(110%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-inner p {
  flex: 1 1 280px;
  margin: 0;
  font-size: 0.92rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-actions .btn {
  padding: 0.65rem 1.1rem;
  font-size: 0.88rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(30, 79, 77, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.cookie-modal.open {
  display: flex;
}

.cookie-modal-panel {
  background: var(--cream);
  max-width: 440px;
  width: 100%;
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cookie-modal-panel h3 {
  margin-top: 0;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.cookie-option input {
  margin-top: 0.3rem;
}

.cookie-modal-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

/* Motion */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Schedule table */
.schedule {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.schedule th,
.schedule td {
  text-align: left;
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid var(--line);
}

.schedule th {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}

/* Gallery strip */
.gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0.75rem;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
}

.gallery img:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 100%;
}

/* Responsive */
@media (max-width: 900px) {
  .split,
  .split-reverse,
  .space-panel,
  .contact-grid,
  .footer-grid,
  .teacher-grid,
  .intention,
  .quote-wall {
    grid-template-columns: 1fr;
  }

  .split-reverse > :first-child {
    order: 0;
  }

  .offer-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

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

  .gallery img:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--sand-soft);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .hero {
    min-height: 85vh;
  }

  .hero-content {
    padding: 3rem 0 3.5rem;
  }
}
