/* ===========================
   ATMOS SPA – Sello Carbono
   Paleta: verde + blanco
   =========================== */

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

:root {
  --green-900: #1a4731;
  --green-700: #2d7a45;
  --green-500: #4caf75;
  --green-100: #e8f5ee;
  --white: #ffffff;
  --gray-50: #f8fafb;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  --gray-900: #0f172a;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.12);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- UTILITIES ---- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- HEADER ---- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.header--scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 10px 0;
  backdrop-filter: blur(8px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo__icon { width: 34px; height: 34px; flex-shrink: 0; }

.logo__text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green-900);
  letter-spacing: -0.3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  text-decoration: none;
  color: var(--gray-500);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover {
  color: var(--green-700);
  background: var(--green-100);
}

.nav__btn {
  text-decoration: none;
  color: var(--white);
  background: var(--green-700);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  margin-left: 8px;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.nav__btn:hover {
  background: var(--green-900);
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--green-700);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--green-900);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,122,69,0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--green-700);
  border: 2px solid var(--green-700);
}

.btn--ghost:hover { background: var(--green-100); }

.btn--whatsapp {
  background: #25d366;
  color: white;
  gap: 8px;
}

.btn--whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}

.hero__actions .btn--whatsapp {
  background: rgba(37,211,102,0.15);
  color: white;
  border: 1.5px solid rgba(37,211,102,0.6);
  backdrop-filter: blur(4px);
}

.hero__actions .btn--whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}

.btn--full { width: 100%; }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 60%, #3d9960 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
}

.hero__title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero__title em {
  font-style: normal;
  color: #a8f0c0;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero__actions .btn--primary {
  background: var(--white);
  color: var(--green-700);
}

.hero__actions .btn--primary:hover {
  background: var(--green-100);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.hero__actions .btn--ghost {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.hero__actions .btn--ghost:hover { background: rgba(255,255,255,0.1); }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-item {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.1);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
}

/* Hero visual */
.hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero__card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.hero__card-seal { filter: drop-shadow(0 4px 16px rgba(0,0,0,0.2)); }

.hero__card-label {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 4px;
}

.hero__card-sub {
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
}

.hero__stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.stat-pill {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.hero__wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
}

.hero__wave svg { display: block; width: 100%; }

/* ---- SECTIONS ---- */
.section { padding: 88px 0; }
.section--light { background: var(--gray-50); }
.section--green { background: var(--green-700); }

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green-700);
  background: var(--green-100);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section__tag--light {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}

.section__title {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.section__desc {
  color: var(--gray-500);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---- CARDS ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow var(--transition);
}

.card.visible { opacity: 1; transform: translateY(0); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.card__icon { font-size: 2.2rem; margin-bottom: 14px; }
.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.card p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card__list li {
  font-size: 0.85rem;
  color: var(--green-700);
  font-weight: 500;
  padding-left: 16px;
  position: relative;
}

.card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* ---- STEPS ---- */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.step {
  flex: 1;
  min-width: 170px;
  max-width: 210px;
  text-align: center;
  padding: 24px 14px;
  border-radius: var(--radius-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, background var(--transition);
}

.step.visible { opacity: 1; transform: translateY(0); }
.step:hover { background: rgba(255,255,255,0.12); }

.step__number {
  width: 48px; height: 48px;
  background: var(--white);
  color: var(--green-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 auto 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.step__content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.step__content p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.step__arrow {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.4);
  align-self: center;
  padding: 0 4px;
  flex-shrink: 0;
}

/* ---- TESTIMONIALS ---- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow var(--transition);
}

.testimonial.visible { opacity: 1; transform: translateY(0); }
.testimonial:hover { box-shadow: var(--shadow-md); }

.testimonial__stars { color: #f59e0b; font-size: 1rem; letter-spacing: 2px; }

.testimonial__text {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 40px; height: 40px;
  background: var(--green-700);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial__author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-900);
  font-weight: 700;
}

.testimonial__author span {
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.faq-item.visible { opacity: 1; transform: translateY(0); }

.faq-item summary {
  padding: 18px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
  transition: background var(--transition), color var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--green-700);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { background: var(--green-100); color: var(--green-700); }

.faq-item p {
  padding: 0 20px 18px;
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-item p strong { color: var(--gray-900); }

/* ---- CTA / CONTACT ---- */
.section--cta {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.cta__text h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 14px;
}

.cta__text > p {
  color: var(--gray-500);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.cta__contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-link:hover {
  border-color: var(--green-500);
  box-shadow: 0 2px 12px rgba(45,122,69,0.1);
}

.contact-link__icon {
  font-size: 1.4rem;
  width: 36px;
  text-align: center;
  flex-shrink: 0;
}

.contact-link strong {
  display: block;
  font-size: 0.82rem;
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-link span {
  font-size: 0.9rem;
  color: var(--gray-900);
  font-weight: 500;
}

/* Form */
.cta__form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
}

.form__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cta__form input,
.cta__form select,
.cta__form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.cta__form select { cursor: pointer; }

.cta__form input:focus,
.cta__form select:focus,
.cta__form textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(45,122,69,0.12);
}

.cta__form textarea { resize: vertical; min-height: 80px; }

.form__error {
  font-size: 0.9rem;
  color: #dc2626;
  font-weight: 600;
  text-align: center;
  padding: 10px;
  background: #fef2f2;
  border-radius: var(--radius);
  border: 1px solid #fecaca;
}

.form__field-error {
  font-size: 0.78rem;
  color: #dc2626;
}

.form__note {
  font-size: 0.76rem;
  color: var(--gray-500);
  text-align: center;
}

.form__success {
  font-size: 0.9rem;
  color: var(--green-700);
  font-weight: 600;
  text-align: center;
}

/* ---- CALENDAR ---- */
.calendar-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  margin-bottom: 20px;
}

.calendar-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-500);
}

.calendar-note a {
  color: var(--green-700);
  font-weight: 600;
  text-decoration: none;
}

.calendar-note a:hover { text-decoration: underline; }

/* ---- FOOTER ---- */
.footer {
  background: var(--gray-900);
  padding: 52px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand .logo__text { color: var(--white); }

.footer__brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  margin-top: 12px;
  max-width: 360px;
  line-height: 1.65;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
}

.footer__contact a {
  color: var(--green-500);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer__contact a:hover { color: var(--white); }

.footer__nav { display: flex; flex-direction: column; gap: 10px; }

.footer__nav h5 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.footer__nav a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer__nav a:hover { color: var(--green-500); }

.footer__bottom {
  padding: 20px 24px;
  text-align: center;
}

.footer__bottom p {
  color: rgba(255,255,255,0.25);
  font-size: 0.78rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero__subtitle, .hero__trust { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__visual { order: -1; }

  .cards { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .cta__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 16px 24px 24px;
    box-shadow: var(--shadow);
    border-top: 1px solid var(--gray-200);
    gap: 4px;
  }

  .nav--open { display: flex; }
  .nav__link, .nav__btn { width: 100%; text-align: center; }
  .nav__btn { margin-left: 0; margin-top: 8px; }
  .nav__toggle { display: flex; }
  .header { background: rgba(255,255,255,0.97); }

  .steps { flex-direction: column; align-items: center; }
  .step__arrow { transform: rotate(90deg); }
  .step { max-width: 100%; width: 100%; }

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

  .hero__card { padding: 32px 40px; }
}
