/* ========================================================================
   ClinikaEasy — Site institucional
   Paleta extraída da marca: petróleo/teal, champanhe/dourado, marfim, oliva
   ======================================================================== */

:root {
  --petrol: #1d4e57;
  --petrol-dark: #143840;
  --petrol-light: #2f6d78;
  --gold: #c2a35a;
  --gold-deep: #a8843b;
  --gold-soft: #d9c089;
  --cream: #f6efe1;
  --ivory: #faf6ec;
  --leaf: #8d9a4e;
  --ink: #1c2a2e;
  --ink-soft: #4a5a5e;
  --line: #e7ddc8;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -24px rgba(20, 56, 64, .35);
  --shadow-sm: 0 8px 24px -16px rgba(20, 56, 64, .45);
  --container: 1140px;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--petrol-dark); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

.section { padding: 96px 0; }
.section--tint { background: var(--cream); }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.section__head p { margin-top: 16px; color: var(--ink-soft); font-size: 1.08rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  cursor: pointer; border: 1.5px solid transparent; transition: all .2s ease; white-space: nowrap;
}
.btn--primary { background: var(--gold); color: var(--petrol-dark); box-shadow: 0 10px 24px -12px rgba(168,132,59,.8); }
.btn--primary:hover { background: var(--gold-deep); color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { border-color: var(--petrol); color: var(--petrol); }
.btn--outline:hover { background: var(--petrol); color: #fff; }
.btn--block { width: 100%; }
.btn--wa { background: #1faf54; color: #fff; }
.btn--wa:hover { background: #189144; transform: translateY(-2px); }

/* ---- Top banner ---- */
.banner {
  background: var(--petrol-dark); color: var(--gold-soft);
  text-align: center; font-size: .9rem; padding: 9px 16px; font-weight: 500;
}
.banner[hidden] { display: none; }

/* ---- Header ---- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,246,236,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo { height: 68px; width: auto; max-width: 200px; object-fit: contain; }
.brand__fallback { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--petrol); }
.brand__fallback b { color: var(--gold-deep); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: .95rem; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.nav a:hover { color: var(--petrol); }
.header__cta { display: flex; align-items: center; gap: 14px; }
.header__login { font-weight: 600; font-size: .95rem; color: var(--petrol); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }

/* ---- Hero ---- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(194,163,90,.18), transparent 60%),
    linear-gradient(160deg, var(--petrol) 0%, var(--petrol-dark) 100%);
  color: #f3ecdc; padding: 92px 0 104px;
}
.hero__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: var(--gold-soft); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); color: #fff; }
.hero h1 .accent { color: var(--gold-soft); font-style: italic; }
.hero__sub { margin: 22px 0 32px; font-size: 1.15rem; color: #d9d1c0; max-width: 540px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust { margin-top: 28px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; color: #c3bba8; font-size: .9rem; }
.hero__trust b { color: var(--gold-soft); }
.hero__visual {
  /* clean — sem moldura, sem padding */
}
.mock {
  background: var(--ivory); border-radius: 14px; overflow: hidden; color: var(--ink);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.5);
}
.mock__bar { display: flex; gap: 6px; padding: 12px 14px; background: var(--cream); border-bottom: 1px solid var(--line); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbb98e; }
.mock__body { padding: 18px; }
.mock__row { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; margin-bottom: 9px; background: #fff; border: 1px solid var(--line); }
.mock__row span { width: 9px; height: 30px; border-radius: 4px; background: var(--petrol-light); }
.mock__row span.g { background: var(--gold); }
.mock__row span.l { background: var(--leaf); }
.mock__row p { font-size: .82rem; color: var(--ink-soft); }
.mock__row p b { display: block; color: var(--ink); font-size: .9rem; }

/* ---- Carrossel do hero ---- */
.carousel { position: relative; border-radius: 18px; overflow: hidden; background: transparent; }
.carousel__track { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.carousel__slide { min-width: 100%; aspect-ratio: 16 / 10; }
.carousel__slide img { width: 100%; height: 100%; object-fit: contain; object-position: center top; display: block; }
.carousel__dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.carousel__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.5); cursor: pointer; transition: all .2s; }
.carousel__dots button.on { background: var(--gold-soft); width: 22px; }
.carousel__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(20,56,64,.55); color: #fff; display: grid; place-items: center; transition: background .2s; }
.carousel__arrow:hover { background: rgba(20,56,64,.85); }
.carousel__arrow svg { width: 20px; height: 20px; }
.carousel__arrow--prev { left: 10px; }
.carousel__arrow--next { right: 10px; }

/* ---- Logos / social proof strip ---- */
.proof { background: var(--ivory); padding: 30px 0; border-bottom: 1px solid var(--line); }
.proof p { text-align: center; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.proof__stats { display: flex; justify-content: center; gap: 56px; margin-top: 18px; flex-wrap: wrap; }
.proof__stat { text-align: center; }
.proof__stat b { font-family: var(--font-display); font-size: 2rem; color: var(--petrol); display: block; }
.proof__stat span { font-size: .85rem; color: var(--ink-soft); }

/* ---- Features ---- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--petrol-light), var(--petrol)); color: var(--gold-soft); margin-bottom: 18px;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 9px; }
.feature p { color: var(--ink-soft); font-size: .96rem; }

/* ---- Split / why ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__list { list-style: none; margin-top: 26px; display: grid; gap: 18px; }
.split__list li { display: flex; gap: 14px; }
.check { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: rgba(141,154,78,.16); color: var(--leaf); display: grid; place-items: center; margin-top: 2px; }
.check svg { width: 15px; height: 15px; }
.split__list h4 { font-size: 1.02rem; color: var(--petrol-dark); font-weight: 600; }
.split__list p { font-size: .94rem; color: var(--ink-soft); }
.split__art {
  border-radius: 22px; padding: 38px; color: #f3ecdc;
  background: linear-gradient(160deg, var(--leaf) 0%, var(--petrol) 110%); box-shadow: var(--shadow);
}
.split__art blockquote { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.4; font-style: italic; }
.split__art cite { display: block; margin-top: 22px; font-style: normal; font-size: .9rem; color: #e7decb; }
.split__art cite b { display: block; color: #fff; }

/* ---- Pricing ---- */
.toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 40px; font-size: .95rem; }
.toggle button { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 6px; display: inline-flex; cursor: pointer; }
.toggle button span { padding: 7px 18px; border-radius: 999px; font-weight: 600; color: var(--ink-soft); transition: all .2s; }
.toggle button span.on { background: var(--petrol); color: #fff; }
.toggle .save { color: var(--gold-deep); font-weight: 600; }
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; display: flex; flex-direction: column; position: relative;
}
.plan--featured { border-color: var(--gold); box-shadow: 0 24px 60px -28px rgba(168,132,59,.55); transform: scale(1.03); }
.plan__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--petrol-dark); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; }
.plan h3 { font-size: 1.3rem; }
.plan__desc { font-size: .88rem; color: var(--ink-soft); min-height: 38px; margin: 6px 0 16px; }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.plan__price .cur { font-size: 1.1rem; color: var(--ink-soft); }
.plan__price .val { font-family: var(--font-display); font-size: 2.6rem; color: var(--petrol-dark); }
.plan__price .per { font-size: .9rem; color: var(--ink-soft); }
.plan__anual { font-size: .82rem; color: var(--leaf); font-weight: 600; min-height: 20px; margin-bottom: 18px; }
.plan ul { list-style: none; display: grid; gap: 11px; margin: 8px 0 24px; }
.plan ul li { display: flex; gap: 10px; font-size: .92rem; color: var(--ink-soft); }
.plan ul li svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--leaf); margin-top: 3px; }
.plan .btn { margin-top: auto; }

/* ---- FAQ ---- */
.faq { max-width: 800px; margin: 0 auto; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 24px; font-size: 1.03rem; font-weight: 600; color: var(--petrol-dark); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-body); }
.faq__q svg { flex: 0 0 20px; transition: transform .25s; color: var(--gold-deep); }
.faq__item.open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; padding: 0 24px; color: var(--ink-soft); }
.faq__item.open .faq__a { max-height: 320px; padding: 0 24px 22px; }

/* ---- CTA ---- */
.cta {
  text-align: center; color: #f3ecdc; border-radius: 28px; padding: 70px 32px; margin: 0 24px;
  background: radial-gradient(800px 400px at 50% -30%, rgba(194,163,90,.22), transparent), linear-gradient(160deg, var(--petrol) 0%, var(--petrol-dark) 100%);
  box-shadow: var(--shadow);
}
.cta h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.cta p { max-width: 560px; margin: 16px auto 30px; color: #d9d1c0; font-size: 1.08rem; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
.footer { background: var(--petrol-dark); color: #b9c4c4; padding: 70px 0 30px; margin-top: 96px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { margin: 16px 0; font-size: .92rem; max-width: 280px; }
.footer__logo { height: 68px; width: auto; max-width: 200px; object-fit: contain; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; font-family: var(--font-body); font-weight: 600; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { font-size: .9rem; color: #aeb9b9; transition: color .2s; }
.footer ul a:hover { color: var(--gold-soft); }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: background .2s; }
.footer__social a:hover { background: var(--gold-deep); }
.footer__social svg { width: 18px; height: 18px; color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 50px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: #8fa0a0; }

/* ---- WhatsApp float ---- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #1faf54;
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(31,175,84,.7); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 460px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .plan--featured { transform: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .nav, .header__login { display: none; }
  .nav-toggle { display: block; }
  .nav--open { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; background: var(--ivory); border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 16px; }
  .features { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .proof__stats { gap: 32px; }
}
