@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Inter+Tight:wght@400;500;600;700&display=swap');

:root {
  --background: #FAF7F1;
  --foreground: #23281F;
  --surface: #F1ECE1;
  --card: #FFFFFF;
  --primary: #24492F;
  --primary-foreground: #FAF7F1;
  --muted-foreground: #6B6A5C;
  --border: #E1D9C8;
  --font-display: 'Fraunces', Georgia, serif;
  --font-base: 'Inter Tight', system-ui, sans-serif;
  --radius: 0.75rem;
  --radius-lg: 1.5rem;
  --radius-full: 999px;
  --shadow: 0 1px 2px rgba(35,40,31,.06);
  --shadow-md: 0 8px 24px rgba(35,40,31,.10);
  --shadow-lg: 0 24px 64px rgba(35,40,31,.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-base);
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }

.eyebrow {
  font-size: .8125rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--primary); margin: 0 0 1rem;
}
.eyebrow-light { color: #d8c7a1; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,241,.92); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  max-width: 80rem; margin: 0 auto; padding: .75rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.site-header img { height: 2.5rem; width: 2.5rem; border-radius: var(--radius-full); }
.site-nav { display: flex; gap: 1.5rem; font-size: .9375rem; font-weight: 500; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--primary); }

/* Hero */
.hero-video-frame { width: 100%; aspect-ratio: 4/5; overflow: hidden; background: #14180f; }
.hero-video-frame video { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .hero-video-frame { aspect-ratio: 16/9; } }
@media (min-width: 1280px) { .hero-video-frame { aspect-ratio: 21/9; } }

.hero-content { padding: 4rem 1.5rem; max-width: 40rem; margin: 0 auto; text-align: center; }
.hero-headline { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem,5vw,2.75rem); line-height: 1.2; margin: 0 0 1rem; color: var(--primary); }
.hero-headline em { font-style: italic; color: var(--foreground); }
.hero-sub { font-size: clamp(1.05rem,2vw,1.25rem); line-height: 1.6; margin: 0 auto .5rem; max-width: 34rem; }
.hero-complement { color: var(--muted-foreground); margin: 0 0 1.5rem; }
.hero-signature { font-family: var(--font-display); font-style: italic; font-size: .9375rem; color: var(--muted-foreground); max-width: 30rem; margin: 2rem auto 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: var(--radius-full); padding: .9rem 2rem; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: none; cursor: pointer; background: var(--primary); color: var(--primary-foreground);
  transition: transform .15s ease; }
.btn:hover { transform: scale(1.03); }
.btn-light { background: #faf7f1; color: var(--primary); }

/* Sections shared */
.section { padding: 5rem 1.5rem; }
.section-inner { max-width: 64rem; margin: 0 auto; text-align: center; }
.section-headline { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem,4vw,2.75rem); line-height: 1.2; margin: 0 0 1.5rem; }
.section-text { font-size: 1.0625rem; line-height: 1.75; color: var(--muted-foreground); max-width: 40rem; margin: 0 auto; }

/* Presentation gallery */
.gallery { margin-top: 3rem; display: grid; gap: 1.5rem; text-align: left; }
.gallery img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; }
@media (min-width: 900px) { .gallery { grid-template-columns: 1.4fr 1fr; align-items: center; } }

/* Vacuum */
.vacuum { background: var(--surface); }
.vacuum-inner { max-width: 72rem; margin: 0 auto; display: grid; gap: 3rem; align-items: center; text-align: left; }
.vacuum-media { display: flex; flex-direction: column; gap: 1rem; }
.vacuum-media video { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: #000; aspect-ratio: 848/480; }
.vacuum-media img { width: 100%; height: 14rem; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.seal-card { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; background: var(--card); border-radius: var(--radius-lg); padding: 1rem 1.5rem; box-shadow: var(--shadow-md); }
.seal-badge { width: 4.5rem; height: 4.5rem; border-radius: var(--radius-full); background: var(--primary); color: var(--primary-foreground); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: .8rem; text-align: center; line-height: 1.1; flex-shrink: 0; }
.seal-title { font-family: var(--font-display); font-size: 1.125rem; margin: 0 0 .25rem; color: var(--primary); }
.seal-text { font-size: .875rem; color: var(--muted-foreground); margin: 0; }
@media (min-width: 900px) { .vacuum-inner { grid-template-columns: 1fr 1fr; } }

/* Therapies */
.therapies-grid { display: grid; gap: 1.5rem; text-align: left; margin-top: 3rem; }
.therapy-card { background: var(--card); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); border: 1px solid var(--border); }
.therapy-mark { display: block; width: .625rem; height: .625rem; border-radius: var(--radius-full); background: var(--primary); margin-bottom: 1rem; }
.therapy-title { font-family: var(--font-display); font-size: 1.125rem; margin: 0 0 .5rem; }
.therapy-text { font-size: .9375rem; line-height: 1.65; color: var(--muted-foreground); margin: 0; }
@media (min-width: 640px) { .therapies-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .therapies-grid { grid-template-columns: repeat(4,1fr); } }

.remote-block { margin-top: 3rem; display: grid; gap: 2rem; align-items: center; text-align: left; background: var(--card); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.remote-block img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
@media (min-width: 800px) { .remote-block { grid-template-columns: .8fr 1.2fr; } }

/* Recommendation */
.recommendation { background: var(--primary); color: #faf7f1; }
.recommendation .section-text { color: rgba(250,247,241,.82); margin-bottom: 2rem; }

/* Footer */
.site-footer { background: var(--primary); color: #faf7f1; padding: 4rem 1.5rem 2rem; }
.site-footer-inner { max-width: 72rem; margin: 0 auto; display: flex; flex-direction: column; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(250,247,241,.18); }
.site-footer-brand { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .08em; }
.site-footer-legal { margin-top: .75rem; font-size: .875rem; line-height: 1.7; color: rgba(250,247,241,.75); }
.site-footer-links { display: flex; flex-direction: column; gap: .75rem; }
.site-footer-links a { text-decoration: none; opacity: .85; font-size: .9375rem; }
.site-footer-links a:hover { opacity: 1; text-decoration: underline; }
.site-footer-copy { max-width: 72rem; margin: 1.5rem auto 0; font-size: .8125rem; color: rgba(250,247,241,.55); }
@media (min-width: 768px) { .site-footer-inner { flex-direction: row; justify-content: space-between; } }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom,0px));
  width: 3.5rem; height: 3.5rem; border-radius: var(--radius-full); background: var(--primary);
  color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); z-index: 400;
}
.wa-float svg { width: 1.75rem; height: 1.75rem; }
@media (min-width: 768px) { .wa-float { right: 2rem; bottom: 2rem; } }

/* Blog */
.blog-hero { position: relative; padding: 5rem 1.5rem; color: #faf7f1; background: linear-gradient(0deg, rgba(20,24,17,.75), rgba(20,24,17,.55)), url('colchao-grafite.jpg') center/cover; text-align: left; }
.blog-hero h1 { font-family: var(--font-display); font-size: clamp(2rem,5vw,3rem); margin: 0; }
.blog-grid { max-width: 72rem; margin: 0 auto; padding: 3rem 1.5rem 5rem; display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .blog-grid { grid-template-columns: repeat(2,1fr); } }
.blog-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: .75rem; box-shadow: var(--shadow); }
.blog-card h2 { font-family: var(--font-display); font-size: 1.25rem; margin: 0; color: var(--primary); }
.blog-card p { margin: 0; color: var(--muted-foreground); font-size: .9375rem; line-height: 1.6; }
.blog-card .read-more { color: var(--primary); font-weight: 600; font-size: .875rem; }
.blog-card .date { font-size: .8125rem; color: var(--muted-foreground); margin-top: auto; }

.post-main { max-width: 40rem; margin: 0 auto; padding: 4rem 1.5rem; }
.post-main h1 { font-family: var(--font-display); font-size: clamp(1.75rem,4vw,2.5rem); margin: 0 0 .5rem; }
.post-main .date { color: var(--muted-foreground); font-size: .875rem; margin-bottom: 2rem; }
.post-main p { line-height: 1.8; margin: 0 0 1.25rem; }
.contact-form { margin-top: 3rem; background: var(--surface); border-radius: var(--radius-lg); padding: 2rem; }
.contact-form h3 { font-family: var(--font-display); margin-top: 0; }
.contact-form label { display: block; font-size: .875rem; font-weight: 600; margin: 1rem 0 .375rem; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .75rem 1rem; border-radius: var(--radius); border: 1px solid var(--border);
  font-family: var(--font-base); font-size: 1rem; background: #fff;
}
.contact-form textarea { min-height: 7rem; resize: vertical; }
.contact-form .btn { margin-top: 1.25rem; width: 100%; border: none; }

/* Legal pages */
.legal-main { max-width: 44rem; margin: 0 auto; padding: 4rem 1.5rem; }
.legal-main h1 { font-family: var(--font-display); font-size: clamp(1.75rem,4vw,2.5rem); margin: 0 0 .5rem; }
.legal-main h2 { font-family: var(--font-display); font-size: 1.375rem; margin: 2rem 0 .75rem; }
.legal-main p, .legal-main li { line-height: 1.8; }
.legal-notice { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; font-size: .875rem; color: var(--muted-foreground); margin: 1.5rem 0 2rem; }
.back-link { display: inline-block; margin-bottom: 1rem; color: var(--primary); text-decoration: none; font-weight: 500; }
