/* =========================================================
   iBraid — Universo da Trancista
   Paleta: marrom, dourado, bege, preto, branco
   ========================================================= */

:root {
  --black: #1A1006;
  --brown-dark: #422201;
  --brown: #96492c;
  --brown-light: #A9642E;
  --gold: #b27409;
  --gold-light: #d59c57;
  --beige: #F0E9DE;
  --beige-light: #F7F4F0;
  --white: #FFFFFF;

  --bg: var(--beige-light);
  --bg-alt: var(--beige);
  --bg-soft: #FBF7F0;
  --surface: var(--white);
  --text: var(--black);
  --text-soft: #6B5B4D;
  --border: #E4D6C1;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(28,20,16,0.06);
  --shadow-md: 0 12px 32px rgba(28,20,16,0.10);
  --shadow-lg: 0 24px 60px rgba(28,20,16,0.16);
  --transition: 0.35s cubic-bezier(.22,.61,.36,1);
}

[data-theme="dark"] {
  --bg: #120B05;
  --bg-alt: #1C130A;
  --bg-soft: #170F07;
  --surface: #241A10;
  --text: #F7F4F0;
  --text-soft: #C9B79E;
  --border: #3A2A1C;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text); margin: 0 0 0.5em; font-weight: 600; line-height: 1.15; }
p { margin: 0 0 1em; color: var(--text-soft); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--brown-dark); color: var(--white);
  padding: 12px 20px; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 999px; font-weight: 500; font-size: 0.98rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  border: 1.5px solid transparent; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--brown-dark); box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(200,155,60,0.35); }
.btn-outline {
  background: transparent; border-color: var(--brown); color: var(--text);
}
.btn-outline:hover { background: var(--brown); color: var(--white); transform: translateY(-3px); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-lg { padding: 19px 42px; font-size: 1.08rem; }
.btn-whatsapp {
  background: #2E5B45; color: var(--white); padding: 15px 28px; border-radius: 999px;
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(46,91,69,0.35); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  border-bottom: 1px solid transparent; transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(251,246,238,0.85); backdrop-filter: blur(10px);
  transition: background var(--transition);
}
[data-theme="dark"] .site-header::before { background: rgba(23,17,13,0.85); }
.site-header.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--brown-dark); }
[data-theme="dark"] .brand { color: var(--gold-light); }
.brand-logo { height: 44px; width: auto; display: block; }

.main-nav ul { display: flex; gap: 32px; }
.main-nav a { font-size: 0.95rem; font-weight: 500; position: relative; padding: 6px 0; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gold);
  transition: width var(--transition);
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--text); position: relative; transition: background var(--transition), color var(--transition);
}
.icon-btn:hover { background: var(--bg-alt); color: var(--gold); }
.notif-dot { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: #C24C3E; border: 1.5px solid var(--bg); }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

.login-link { font-size: 0.92rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: background var(--transition); margin-left: 4px; }
.login-link:hover { background: var(--bg-alt); }

.nav-cta { display: none; }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 34px; height: 34px; align-items: center; justify-content: center; }
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-search { background: var(--surface); border-bottom: 1px solid var(--border); overflow: hidden; }
.header-search-inner { display: flex; align-items: center; gap: 12px; padding: 16px 24px; color: var(--text-soft); }
.header-search-inner input { flex: 1; border: none; background: none; font-family: inherit; font-size: 1rem; color: var(--text); outline: none; }
.header-search-inner button { font-size: 1.4rem; color: var(--text-soft); line-height: 1; }

/* ---------- Section basics ---------- */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--brown-dark); color: var(--beige); }
.section-dark p { color: #D9C6A8; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head.light h2 { color: var(--beige-light); }
.eyebrow {
  font-size: 0.8rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold);
  font-weight: 600; margin-bottom: 14px;
}
.section h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-sub { font-size: 1.05rem; }
.section-cta { text-align: center; margin-top: 48px; }

/* Braid texture / dividers */
.braid-texture {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.06;
  background-image:
    repeating-linear-gradient(45deg, var(--brown-dark) 0 2px, transparent 2px 26px),
    repeating-linear-gradient(-45deg, var(--gold) 0 2px, transparent 2px 26px);
}
.braid-divider {
  height: 46px; margin-top: 20px;
  background-image: repeating-linear-gradient(115deg, transparent 0 18px, var(--gold) 18px 20px),
                     repeating-linear-gradient(65deg, transparent 0 18px, var(--brown) 18px 20px);
  opacity: 0.35; mask-image: linear-gradient(to bottom, black, transparent);
}
.section-wave { display: block; width: 100%; height: 60px; fill: var(--bg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 176px 0 0; overflow: hidden; background: linear-gradient(180deg, var(--beige-light), var(--bg)); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding-bottom: 90px; }
.hero-copy h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); margin-bottom: 0.4em; }
.hero-copy h1 span { color: var(--brown); display: block; }
.hero-sub { font-size: 1.12rem; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 32px 0 40px; }
.hero-trust { display: flex; align-items: center; gap: 14px; }
.avatars { display: flex; }
.avatars span {
  width: 36px; height: 36px; border-radius: 50%; margin-left: -10px; border: 2px solid var(--bg);
  background: linear-gradient(135deg, var(--gold), var(--brown));
}
.avatars span:first-child { margin-left: 0; }
.hero-trust p { margin: 0; font-size: 0.88rem; }
.hero-art { position: relative; filter: drop-shadow(var(--shadow-lg)); }
.hero-art img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; border-radius: var(--radius); }
.hero-art-accent {
  position: absolute; bottom: -18px; left: -18px; width: 90px; height: 90px; z-index: -1;
  border: 2px solid var(--gold); border-radius: var(--radius); opacity: 0.6;
}

/* ---------- Stats bar ---------- */
.stats-bar { background: var(--brown-dark); padding: 40px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-item { text-align: center; color: var(--beige-light); }
.stat-item strong { display: block; font-family: var(--font-heading); font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--gold-light); margin-bottom: 6px; }
.stat-item span { font-size: 0.82rem; color: #D9C6A8; line-height: 1.4; display: block; }

/* ---------- Manifesto ---------- */
.manifesto { padding: 60px 0; text-align: center; }
.manifesto p {
  max-width: 720px; margin: 0 auto; font-family: var(--font-heading); font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: var(--brown-dark); line-height: 1.5;
}

/* ---------- Feature cards ---------- */
.card-grid { display: grid; gap: 30px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }

.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px 32px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.feature-icon {
  width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt); color: var(--brown); margin-bottom: 22px;
}
.feature-card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brown); margin-top: 8px; }
.card-link svg { transition: transform var(--transition); }
.card-link:hover svg { transform: translateX(4px); }

/* ---------- Community ---------- */
.community-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.community-copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.micro-note { margin-top: 16px; font-size: 0.88rem; }

/* ---------- Wellbeing ---------- */
.wellbeing-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; }
.pill-list li {
  background: var(--surface); border: 1px solid var(--border); padding: 9px 18px; border-radius: 999px;
  font-size: 0.9rem; color: var(--text);
}

/* ---------- Blog ---------- */
.blog-controls { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.blog-search {
  display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 12px 20px; min-width: 260px; color: var(--text-soft);
}
.blog-search input { border: none; background: none; outline: none; font-family: inherit; font-size: 0.95rem; color: var(--text); width: 100%; }
.blog-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-pill {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); font-size: 0.82rem;
  color: var(--text-soft); transition: all var(--transition); white-space: nowrap;
}
.filter-pill:hover { border-color: var(--gold); color: var(--text); }
.filter-pill.active { background: var(--brown-dark); border-color: var(--brown-dark); color: var(--beige-light); }

.blog-grid { grid-template-columns: repeat(3, 1fr); }
.blog-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.blog-thumb {
  height: 160px; background: linear-gradient(135deg, var(--c1), var(--c2));
  display: flex; align-items: flex-end; padding: 16px; position: relative; overflow: hidden;
}
.blog-thumb::before {
  content: ""; position: absolute; inset: 0; opacity: 0.25;
  background-image: repeating-linear-gradient(60deg, transparent 0 14px, rgba(255,255,255,0.5) 14px 16px);
}
.blog-thumb span { font-family: var(--font-heading); font-size: 2.4rem; color: rgba(255,255,255,0.5); position: relative; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 24px; }
.blog-tag { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--gold); font-weight: 600; }
.blog-body h3 { font-size: 1.12rem; margin: 10px 0 8px; }
.blog-body p { font-size: 0.92rem; margin-bottom: 10px; }
.forum-meta { display: block; font-size: 0.78rem; color: var(--text-soft); margin-bottom: 14px; }
.blog-empty { text-align: center; color: var(--text-soft); margin-top: 20px; }

/* ---------- Courses ---------- */
.courses-grid { grid-template-columns: repeat(3, 1fr); }
.course-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.course-thumb { height: 170px; background: var(--bg-alt); }
.course-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.course-thumb-icon {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--c1), var(--c2));
}
.course-body { padding: 24px; }
.course-level {
  display: inline-block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--brown); background: var(--bg-alt); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; font-weight: 600;
}
.course-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.course-card p { font-size: 0.9rem; margin-bottom: 0; }

/* ---------- Certification ---------- */
.certification-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.certification-art img {
  width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5; object-fit: cover; object-position: top center;
}
.certification-stats { display: flex; gap: 32px; margin: 28px 0 32px; flex-wrap: wrap; }
.certification-stats strong { display: block; font-family: var(--font-heading); font-size: 1.8rem; color: var(--brown); }
.certification-stats span { font-size: 0.82rem; color: var(--text-soft); }

/* ---------- Benefits ---------- */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit-item {
  display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px 22px; font-weight: 500; transition: border-color var(--transition), transform var(--transition);
}
.benefit-item:hover { border-color: var(--gold); transform: translateY(-3px); }
.benefit-item .check {
  width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--brown-dark);
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0;
}

/* ---------- Testimonials ---------- */
.testimonial-carousel { max-width: 760px; margin: 0 auto; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.6s cubic-bezier(.22,.61,.36,1); }
.testimonial-card {
  flex: 0 0 100%; margin: 0; background: rgba(255,255,255,0.05); border: 1px solid rgba(232,199,126,0.25);
  border-radius: var(--radius); padding: 44px; text-align: center;
}
.stars { color: var(--gold); letter-spacing: 4px; margin-bottom: 18px; font-size: 1.1rem; }
.testimonial-card blockquote { margin: 0 0 28px; font-family: var(--font-heading); font-size: 1.3rem; font-style: italic; line-height: 1.5; color: var(--beige-light); }
.testimonial-card figcaption { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 0.92rem; color: #D9C6A8; }
.testimonial-card .avatar { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold); flex-shrink: 0; display: block; }
.testimonial-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 34px; }
.carousel-controls button {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(232,199,126,0.4); color: var(--beige-light);
  display: flex; align-items: center; justify-content: center; transition: background var(--transition);
}
.carousel-controls button:hover { background: rgba(232,199,126,0.15); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(232,199,126,0.35); padding: 0; }
.carousel-dots button.active { background: var(--gold); width: 22px; border-radius: 5px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center; text-align: left;
  padding: 20px 24px; font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; color: var(--text);
}
.faq-icon { color: var(--gold); font-size: 1.4rem; transition: transform var(--transition); flex-shrink: 0; margin-left: 16px; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.faq-answer p { padding: 0 24px 22px; margin: 0; font-size: 0.95rem; }

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative; background: linear-gradient(135deg, var(--brown-dark), var(--black));
  color: var(--beige-light); text-align: center; overflow: hidden;
}
.final-cta-inner { max-width: 680px; margin: 0 auto; position: relative; }
.final-cta h2 { color: var(--beige-light); font-size: clamp(2rem, 3.6vw, 2.8rem); }
.final-cta p { color: #D9C6A8; font-size: 1.08rem; margin-bottom: 0; }

/* ---------- Signup form ---------- */
.signup-wrap { max-width: 760px; margin: 48px auto 0; position: relative; }
.signup-form {
  background: var(--surface); border-radius: var(--radius); padding: 44px;
  box-shadow: var(--shadow-lg); text-align: left;
}
.signup-form-head { text-align: center; margin-bottom: 32px; }
.signup-form-head h3 { font-size: 1.5rem; margin-bottom: 8px; }
.signup-form-head p { color: var(--text-soft); font-size: 0.95rem; margin: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-row-city { grid-template-columns: 1fr 80px; }
.form-field label {
  display: block; font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 6px;
}
.form-field input, .form-field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.92rem; background: var(--bg-soft); color: var(--text);
  outline: none; transition: border-color var(--transition);
}
.form-field input:focus, .form-field select:focus { border-color: var(--gold); }
.form-field { margin-bottom: 18px; }
.form-row .form-field { margin-bottom: 0; }
.form-checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.form-check {
  display: flex; align-items: center; gap: 7px; font-size: 0.85rem; font-weight: 500;
  padding: 9px 16px; border: 1.5px solid var(--border); border-radius: 999px; cursor: pointer;
  transition: border-color var(--transition); background: var(--bg-soft);
}
.form-check:hover { border-color: var(--gold); }
.form-check input { accent-color: var(--gold); }
.form-submit { width: 100%; margin-top: 8px; justify-content: center; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-message { text-align: center; font-weight: 600; margin-top: 16px; color: var(--brown); }
.form-message.is-error { color: #B3261E; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #C9B79E; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.site-footer .brand { color: var(--gold-light); margin-bottom: 14px; }
.site-footer .brand-logo { height: 40px; background: var(--white); padding: 8px 12px; border-radius: 10px; }
.footer-brand p { font-size: 0.9rem; max-width: 260px; }
.social-icons { display: flex; gap: 10px; margin-top: 18px; }
.social-icons a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center; transition: background var(--transition), border-color var(--transition);
}
.social-icons a:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.powered-by { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 0.8rem; color: #8A7A68; transition: color var(--transition); }
.powered-by:hover { color: var(--gold-light); }
.powered-by img { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; }
.footer-col h4 { color: var(--beige-light); font-size: 0.95rem; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { padding: 24px 0; text-align: center; font-size: 0.82rem; color: #8A7A68; }
.footer-bottom .legal-line { margin-top: 6px; font-size: 0.76rem; opacity: 0.75; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; width: 58px; height: 58px; border-radius: 50%;
  background: #2E5B45; display: flex; align-items: center; justify-content: center; z-index: 400;
  box-shadow: 0 10px 26px rgba(0,0,0,0.28); transition: transform var(--transition);
  animation: wa-pulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 26px rgba(0,0,0,0.28), 0 0 0 0 rgba(46,91,69,0.5); }
  70% { box-shadow: 0 10px 26px rgba(0,0,0,0.28), 0 0 0 16px rgba(46,91,69,0); }
  100% { box-shadow: 0 10px 26px rgba(0,0,0,0.28), 0 0 0 0 rgba(46,91,69,0); }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 60px; }
  .hero-art { order: -1; max-width: 420px; margin: 0 auto; }
  .community-inner, .wellbeing-inner, .certification-inner { grid-template-columns: 1fr; }
  .community-art, .wellbeing-art { max-width: 380px; margin: 0 auto; }
  .certification-art { max-width: 340px; margin: 0 auto; }
  .card-grid.three, .blog-grid, .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
}

@media (max-width: 860px) {
  .main-nav { position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: var(--bg); padding: 30px 24px;
    transform: translateX(100%); transition: transform var(--transition); overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 16px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--border); }
  .nav-cta { display: flex; margin-top: 24px; width: 100%; }
  .header-actions .login-link,
  .header-actions .btn-primary.btn-sm { display: none; }
  .hamburger { display: flex; }
  .header-inner { height: 68px; }
  .hero { padding-top: 148px; }
}

@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .card-grid.three, .blog-grid, .courses-grid, .benefits-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .blog-controls { flex-direction: column; align-items: stretch; }
  .header-actions .icon-btn:nth-child(2) { display: none; }
  .testimonial-card { padding: 30px 22px; }
  .testimonial-card blockquote { font-size: 1.1rem; }
  .signup-form { padding: 28px 22px; }
  .form-row, .form-row-city { grid-template-columns: 1fr; }
}
