/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: hsl(152, 55%, 32%);
  --primary-dark: hsl(152, 55%, 24%);
  --primary-light: hsla(152, 55%, 32%, 0.07);
  --primary-light2: hsla(152, 55%, 32%, 0.14);
  --primary-fg: #fff;
  --bg: hsl(120, 10%, 96%);
  --fg: hsl(120, 20%, 8%);
  --card: #fff;
  --muted: hsl(120, 8%, 46%);
  --border: hsl(120, 12%, 88%);
  --secondary: hsl(148, 40%, 93%);
  --secondary-fg: hsl(152, 55%, 27%);
  --accent: hsl(42, 88%, 49%);
  --destructive: hsl(0, 68%, 45%);
  --destructive-light: hsla(0, 68%, 45%, 0.07);
  --destructive-border: hsla(0, 68%, 45%, 0.18);
  --radius: 0.75rem;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-primary: 0 4px 14px hsla(152, 55%, 32%, 0.25);
  --shadow-primary-xl: 0 8px 24px hsla(152, 55%, 32%, 0.35);
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Sora', sans-serif; line-height: 1.2; }

a { color: var(--primary); text-decoration: none; }
/*a:hover { text-decoration: underline; }*/

img { max-width: 100%; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

.text-primary { color: var(--primary); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-6 { margin-bottom: 1.5rem; }
.bold { font-weight: 700; }
.text-sm { font-size: 0.875rem; }

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--primary); color: var(--primary-fg);
  border: none; border-radius: 1rem; font-family: 'Sora', sans-serif;
  font-weight: 600; cursor: pointer; transition: all 0.2s;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-primary-xl); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: transparent; border: 1.5px solid var(--border); color: var(--fg);
  border-radius: 0.5rem; font-family: 'Sora', sans-serif; font-weight: 600; cursor: pointer; transition: all 0.2s;
  padding: 0.875rem 2rem; font-size: 1rem;
}
.btn-outline:hover { background: var(--primary-light); border-color: var(--primary); }

.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; border-radius: 0.5rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }

.btn-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 2.5rem; border-radius: 1rem; font-size: 1.0625rem; font-weight: 600;
  background: rgba(255,255,255,0.15); color: #fff; border: 1.5px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(12px); cursor: pointer; transition: all 0.2s; font-family: 'Sora', sans-serif;
}
.btn-cta:hover { background: rgba(255,255,255,0.25); }

/* ===== Badge ===== */
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 1rem; border-radius: 9999px;
  border: 1px solid var(--primary-light2); background: var(--secondary);
  font-size: 0.875rem; font-weight: 600; color: var(--secondary-fg);
}
.badge-sm {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--primary); background: var(--secondary); border: 1px solid var(--primary-light2);
  padding: 0.25rem 0.75rem; border-radius: 9999px; margin-bottom: 1rem;
}

.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--primary);
  animation: pulse-dot 2s infinite;
}

/* ===== Navbar ===== */
.nav-logo {display: block; max-width: 170px; height: auto; vertical-align: middle; border-radius: 10px;}
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: hsla(120, 10%, 96%, 0.88); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.navbar-brand { font-family: 'Sora', sans-serif; font-size: 1.125rem; font-weight: 700; color: var(--fg); display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.brand-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); display: inline-block; }
.navbar-links { display: flex; align-items: center; gap: 1.75rem; }
.navbar-links button { background: none; border: none; font-size: 0.875rem; font-weight: 500; color: var(--muted); cursor: pointer; transition: color 0.2s; font-family: 'DM Sans', sans-serif; }
.navbar-links button:hover { color: var(--fg); }

.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--fg); border-radius: 2px; transition: all 0.3s; }
.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu { display: none; flex-direction: column; gap: 0.75rem; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); background: var(--bg); }
.mobile-menu.open { display: flex; }
.mobile-menu button { background: none; border: none; font-size: 0.875rem; font-weight: 500; color: var(--muted); cursor: pointer; text-align: left; font-family: 'DM Sans', sans-serif; padding: 0.25rem 0; }

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .mobile-menu-btn { display: flex; }
}

/* ===== Sections ===== */
.section { padding: 5rem 0; }
.bg-card { background: var(--card); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-size: clamp(1.625rem, 3.5vw, 2.375rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1rem; }
.section-header p { font-size: 1.0625rem; color: var(--muted); max-width: 620px; margin: 0 auto; line-height: 1.7; }

/* ===== Hero ===== */
.hero { padding: 8rem 0 6rem; text-align: center; position: relative; overflow: hidden; }
.hero-glow { position: absolute; top: -60px; left: 50%; transform: translateX(-50%); width: 800px; height: 800px; background: radial-gradient(circle, hsla(152, 55%, 32%, 0.1) 0%, transparent 65%); pointer-events: none; }
.hero-content { position: relative; }
.hero h1 { font-size: clamp(2.25rem, 5.5vw, 3.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 1.5rem; }
.hero-sub { max-width: 600px; margin: 0 auto 2.75rem; font-size: 1.125rem; color: var(--muted); line-height: 1.7; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-trust { margin-top: 3.5rem; display: flex; align-items: center; gap: 1rem; justify-content: center; flex-wrap: wrap; font-size: 0.8125rem; color: var(--muted); }
.trust-sep { color: var(--border); }

/* ===== Grids ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

/* ===== Problem Cards ===== */
.problem-card {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem;
  border-radius: 0.875rem; border: 1px solid var(--destructive-border);
  background: var(--destructive-light); transition: all 0.2s;
}
.problem-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.problem-icon {
  width: 42px; height: 42px; border-radius: 0.625rem;
  background: hsla(0, 68%, 45%, 0.08); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.25rem;
}
.problem-card p { font-weight: 500; line-height: 1.4; color: #4a2020; }

/* ===== Solution ===== */
.solution-box {
  border-radius: 1rem; border: 1px solid var(--border); background: var(--card);
  padding: 2.5rem; box-shadow: var(--shadow-sm); text-align: center;
}
.solution-box h3 { font-family: 'Sora', sans-serif; font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.solution-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.75rem; }
.solution-feature-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.875rem 1rem; border-radius: 0.625rem;
  background: var(--secondary); border: 1px solid var(--primary-light2);
  font-size: 0.875rem; font-weight: 500; color: var(--secondary-fg); transition: all 0.2s;
}
.solution-feature-item:hover { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }

.solution-card-green {
  border-radius: 1rem; border: 1px solid var(--primary-light2);
  background: var(--primary-light); padding: 2rem;
}
.solution-card-green h4 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.0625rem; margin-bottom: 1.25rem; }
.check-list div { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.875rem; font-size: 0.9375rem; color: var(--primary); font-weight: 600; }

/* ===== Benefit Cards ===== */
.benefit-card {
  border-radius: 0.875rem; border: 1px solid var(--border); background: var(--bg);
  padding: 1.5rem; transition: all 0.2s; cursor: default;
}
.benefit-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.benefit-icon {
  width: 46px; height: 46px; border-radius: 0.625rem;
  background: var(--secondary); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; font-size: 1.25rem; transition: all 0.2s;
}
.benefit-card:hover .benefit-icon { background: var(--primary); }
.benefit-card p { font-size: 0.9375rem; font-weight: 600; line-height: 1.4; }

/* ===== Steps ===== */
.steps-wrapper { max-width: 760px; margin: 0 auto; }
.step-row { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; }
.step-num {
  width: 56px; height: 56px; border-radius: 1rem; flex-shrink: 0;
  background: var(--primary); color: var(--primary-fg);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1rem;
  box-shadow: var(--shadow-primary);
}
.step-content {
  border-radius: 0.875rem; border: 1px solid var(--border);
  background: var(--card); padding: 1.5rem; flex: 1; transition: all 0.2s;
}
.step-content:hover { border-color: var(--primary-light2); box-shadow: var(--shadow-sm); }
.step-content h3 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.0625rem; margin-bottom: 0.375rem; }
.step-content p { color: var(--muted); font-size: 0.9375rem; }

/* ===== Testimonials ===== */
.testimonial-card {
  border-radius: 1rem; border: 1px solid var(--border); background: var(--bg);
  padding: 1.75rem; display: flex; flex-direction: column; transition: all 0.2s;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.stars { color: var(--accent); font-size: 1rem; letter-spacing: 0.15em; margin-bottom: 1rem; }
.testimonial-card blockquote { flex: 1; margin-bottom: 1.5rem; font-style: italic; color: var(--muted); line-height: 1.7; font-size: 0.9375rem; }
.testimonial-author { border-top: 1px solid var(--border); padding-top: 1rem; }
.testimonial-author strong { display: block; font-family: 'Sora', sans-serif; font-size: 0.9375rem; }
.testimonial-author span { font-size: 0.8125rem; color: var(--muted); }

/* ===== Pricing ===== */
.pricing-table-wrapper { overflow: hidden; border-radius: 1rem; border: 1px solid var(--border); background: var(--bg); }
.pricing-table { width: 100%; border-collapse: collapse; }
.pricing-table th, .pricing-table td { padding: 1rem; text-align: center; border-top: 1px solid var(--border); }
.pricing-table th { font-family: 'Sora', sans-serif; font-size: 1.0625rem; font-weight: 700; background: var(--card); }
.pricing-table th:first-child, .pricing-table td:first-child { text-align: left; }
.pricing-table .highlight-col { background: hsla(152, 55%, 32%, 0.05); }
.pricing-table th.highlight-col { background: var(--secondary); color: var(--primary); }
.pricing-table .check { color: var(--primary); font-weight: 700; }
.pricing-table .x-mark { color: var(--border); }
.price { font-family: 'Sora', sans-serif; font-size: 1.25rem; font-weight: 700; }
.price-period { font-size: 0.875rem; color: var(--muted); font-weight: 400; }
.price-row td { font-weight: 700; }

.pricing-cards-mobile { display: none; flex-direction: column; gap: 1.5rem; }
.pricing-card {
  border-radius: 1rem; border: 1.5px solid var(--border); background: var(--bg); padding: 1.75rem;
}
.pricing-card.featured { border-color: var(--primary); background: var(--secondary); }
.pricing-card h3 { font-family: 'Sora', sans-serif; font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.pricing-card.featured h3 { color: var(--primary); }
.pricing-card-price { font-family: 'Sora', sans-serif; font-size: 1.875rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1rem; }
.pricing-card-price span { font-size: 0.875rem; font-weight: 400; color: var(--muted); font-family: 'DM Sans', sans-serif; }
.pricing-card ul { list-style: none; margin-bottom: 1.5rem; }
.pricing-card li { font-size: 0.875rem; padding: 0.375rem 0; display: flex; align-items: center; gap: 0.5rem; }

@media (max-width: 768px) {
  .pricing-table-wrapper { display: none; }
  .pricing-cards-mobile { display: flex; }
}

/* ===== FAQ ===== */
.faq-wrapper { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-radius: 0.875rem; border: 1px solid var(--border); background: var(--card);
  margin-bottom: 0.75rem; overflow: hidden; transition: border-color 0.2s;
}
.faq-item:hover, .faq-item.open { border-color: var(--primary-light2); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  padding: 1.25rem 1.5rem; text-align: left; font-weight: 600; font-size: 0.9375rem;
  background: none; border: none; cursor: pointer; gap: 1rem; font-family: 'DM Sans', sans-serif; color: var(--fg);
}
.faq-arrow { font-size: 0.8rem; color: var(--muted); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s, padding 0.3s; padding: 0 1.5rem; }
.faq-item.open .faq-answer { max-height: 200px; padding: 0 1.5rem 1.25rem; }
.faq-answer p { color: var(--muted); font-size: 0.9375rem; line-height: 1.7; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }

.contact-info h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -0.02em; margin: 1rem 0; }
.contact-info p { color: var(--muted); line-height: 1.7; font-size: 0.9375rem; margin-bottom: 2rem; }

.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-detail-item {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 1rem; border-radius: 0.5rem; border: 1px solid var(--border); background: var(--bg); font-size: 0.875rem;
}
.contact-detail-icon {
  width: 38px; height: 38px; border-radius: 0.375rem; background: var(--secondary); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.125rem; flex-shrink: 0;
}
.contact-detail-item strong { display: block; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 600; margin-bottom: 0.125rem; }
.contact-detail-item span { font-weight: 500; }

.contact-form-wrapper {
  background: var(--bg); border: 1.5px solid var(--border); border-radius: 1.375rem; padding: 2.25rem;
}
.contact-form-wrapper h3 { font-family: 'Sora', sans-serif; font-size: 1.125rem; font-weight: 700; margin-bottom: 1.75rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.8125rem; font-weight: 600; margin-bottom: 0.375rem; }
.req { color: var(--primary); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--border); border-radius: 0.625rem;
  font-size: 0.9375rem; background: var(--card); outline: none; transition: all 0.2s;
  font-family: 'DM Sans', sans-serif; color: var(--fg);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: hsla(120, 8%, 46%, 0.5); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px hsla(152, 55%, 32%, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7a6b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.form-footer { text-align: center; font-size: 0.75rem; color: var(--muted); margin-top: 1rem; line-height: 1.7; }
.form-footer a { color: var(--primary); text-decoration: underline; }

/* Spinner */
/*.spinner {width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite;}*/

.form-submit { width: 100%; padding: 1rem; background: var(--primary); color: white; border: none; border-radius: 0.75rem; font-size: 1rem; font-weight: 700; font-family: 'Sora', sans-serif; cursor: pointer; transition: all .25s; display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 0.5rem; letter-spacing: -0.01em; }
.form-submit:hover:not(:disabled) { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(35,122,79,0.3); }
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.form-submit .spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.form-submit.loading .spinner { display: block; }
.form-submit.loading .btn-text { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-toast.success { display: flex; background: rgba(35,122,79,0.08); border: 1px solid rgba(35,122,79,0.2); color: var(--primary-dark); }
.form-toast.error { display: flex; background: var(--destructive-light); border: 1px solid var(--destructive-border); color: var(--destructive); }
.form-toast-icon { font-size: 1.25rem; flex-shrink: 0; }


/* ===== CTA ===== */
.cta-section {
  padding: 5rem 0; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1a5e3b 0%, #237a4f 60%, #2d9166 100%);
}
.cta-circle { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.03); }
.cta-circle-1 { width: 400px; height: 400px; top: -100px; right: -100px; }
.cta-circle-2 { width: 300px; height: 300px; bottom: -80px; left: -80px; background: rgba(255,255,255,0.04); }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: clamp(1.625rem, 3.5vw, 2.375rem); font-weight: 800; color: #fff; letter-spacing: -0.02em; margin-bottom: 1rem; }
.cta-content p { color: rgba(255,255,255,0.7); font-size: 1.0625rem; margin-bottom: 2.5rem; }

/* ===== Footer ===== */
.site-footer { padding: 3.5rem 0 2rem; background: #0d150d; color: rgba(255,255,255,0.55); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand { font-family: 'Sora', sans-serif; font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.footer-grid p { font-size: 0.875rem; line-height: 1.7; max-width: 280px; }
.footer-cnpj { font-size: 0.75rem; margin-top: 1rem; color: rgba(255,255,255,0.25); }
.footer-grid h4 { font-family: 'Sora', sans-serif; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.7); margin-bottom: 1rem; }
.footer-grid a { display: block; font-size: 0.875rem; margin-bottom: 0.625rem; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-grid a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8125rem; }
.footer-dev { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* ===== Toast ===== */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  background: var(--card); border: 1px solid var(--border); border-radius: 0.75rem;
  padding: 1rem 1.5rem; box-shadow: var(--shadow-md);
  transform: translateY(120%); opacity: 0; transition: all 0.4s;
  max-width: 360px; font-size: 0.875rem;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { border-color: var(--destructive); }
.toast-title { font-weight: 700; margin-bottom: 0.25rem; }
.toast-desc { color: var(--muted); }

/* ===== Animations ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse-dot { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 hsla(152, 55%, 32%, 0.4); } 50% { opacity: 0.6; box-shadow: 0 0 0 5px hsla(152, 55%, 32%, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }

.animate-fade-up { animation: fadeUp 0.6s ease forwards; opacity: 0; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ===== Legal Pages ===== */
.legal-page { min-height: 100vh; background: var(--bg); }
.legal-container { max-width: 800px; margin: 0 auto; padding: 4rem 1.5rem; }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted); margin-bottom: 2rem; transition: color 0.2s; }
.back-link:hover { color: var(--fg); text-decoration: none; }
.legal-container h1 { font-family: 'Sora', sans-serif; font-size: 1.875rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.legal-container .updated { color: var(--muted); margin-bottom: 2.5rem; }
.legal-section { margin-bottom: 2rem; }
.legal-section h2 { font-family: 'Sora', sans-serif; font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.legal-section p { color: var(--muted); line-height: 1.8; margin-bottom: 0.75rem; }
.legal-section ul { padding-left: 1.5rem; color: var(--muted); line-height: 1.8; }
.legal-section li { margin-bottom: 0.5rem; }
.legal-section a { color: var(--primary); text-decoration: underline; }
.legal-contact-box { margin-top: 0.75rem; padding: 1rem; border-radius: 0.5rem; border: 1px solid var(--border); background: var(--card); color: var(--muted); font-size: 0.875rem; }
.legal-contact-box p { margin-bottom: 0.25rem; }

/* BACK TO TOP */
#backToTop {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #e63946;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all .3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,.35);
    z-index: 999;
}

#backToTop.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#backToTop:hover {
    transform: translateY(-4px);
}

@media (max-width: 480px) {
    #backToTop {
        width: 44px;
        height: 44px;
        bottom: 16px;
        right: 16px;
    }
}
