/* ============ VARIÁVEIS ============ */
:root {
  --blue: #0B4FE0;
  --blue-dark: #0838A3;
  --blue-deep: #061F5C;
  --blue-soft: #EAF0FD;
  --orange: #FF6A00;
  --orange-dark: #E05D00;
  --orange-soft: #FFF1E6;
  --text: #1A2233;
  --muted: #5B6578;
  --bg: #F6F8FC;
  --white: #FFFFFF;
  --border: #E1E7F2;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 79, 224, 0.10);
  --shadow-lg: 0 24px 60px rgba(6, 31, 92, 0.18);
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: "Montserrat", sans-serif; line-height: 1.2; color: var(--blue-deep); }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.section { padding: 100px 0; }
.hl { color: var(--orange); }

/* ============ BOTÕES ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: .95rem;
  padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: all .25s ease; white-space: nowrap;
}
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--orange { background: var(--orange); color: var(--white); box-shadow: 0 8px 20px rgba(255, 106, 0, .3); }
.btn--orange:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn--ghost { border-color: var(--blue); color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: var(--white); }
.btn--white { background: var(--white); color: var(--orange); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.15); }

.tag {
  display: inline-block; font-family: "Montserrat", sans-serif; font-weight: 700;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange); background: var(--orange-soft);
  padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1rem;
}
.tag--light { background: rgba(255,255,255,.12); color: #FFB37A; }

/* ============ HEADER ============ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  transition: box-shadow .3s ease;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(6,31,92,.08); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.header__logo img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__link { font-weight: 500; font-size: .95rem; color: var(--text); position: relative; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--orange); transition: width .25s ease;
}
.nav__link:hover, .nav__link.active { color: var(--blue); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 32px; height: 24px; position: relative; }
.menu-toggle span { position: absolute; left: 0; width: 100%; height: 3px; border-radius: 2px; background: var(--blue); transition: .3s; }
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }
.menu-toggle.open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  padding: calc(var(--header-h) + 70px) 0 100px;
  background:
    linear-gradient(90deg,
      rgba(246,248,252,.96) 0%,
      rgba(246,248,252,.90) 40%,
      rgba(246,248,252,.45) 70%,
      rgba(246,248,252,.15) 100%),
    url("assets/background_remedio.webp") center / cover no-repeat,
    var(--bg);
  overflow: hidden;
}
@media (max-width: 900px) {
  /* No celular o texto ocupa a largura toda: véu mais uniforme */
  .hero {
    background:
      linear-gradient(180deg, rgba(246,248,252,.93), rgba(246,248,252,.85)),
      url("assets/background_remedio.webp") center / cover no-repeat,
      var(--bg);
  }
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.hero__text { font-size: 1.12rem; color: var(--muted); margin: 1.5rem 0 2rem; max-width: 560px; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__checks { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 2rem; }
.hero__checks li { font-size: .92rem; font-weight: 500; color: var(--blue-deep); padding-left: 1.6rem; position: relative; }
.hero__checks li::before {
  content: "✓"; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%; background: var(--blue); color: #fff;
  font-size: .7rem; display: grid; place-items: center;
}

.hero__visual { position: relative; }
.hero__card {
  background: var(--white); border-radius: 24px; padding: 2rem;
  box-shadow: var(--shadow-lg); position: relative; z-index: 2;
  border-top: 6px solid var(--blue);
}
.hero__card-head { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.5rem; }
.hero__card-head strong { font-family: "Montserrat", sans-serif; color: var(--blue-deep); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--green { background: #22C55E; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.badge { margin-left: auto; font-size: .75rem; font-weight: 600; color: var(--orange); background: var(--orange-soft); padding: .25rem .7rem; border-radius: 999px; }

.timeline { list-style: none; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.timeline li { position: relative; padding: 0 0 1.2rem 2.4rem; color: var(--muted); font-size: .95rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 4px; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--white); border: 2px solid var(--border);
}
.timeline li.done { color: var(--text); }
.timeline li.done::before { background: var(--blue); border-color: var(--blue); }
.timeline li.active { color: var(--orange); font-weight: 600; }
.timeline li.active::before { background: var(--orange); border-color: var(--orange); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,106,0,.5);} 100% { box-shadow: 0 0 0 12px rgba(255,106,0,0);} }

.hero__float {
  position: absolute; z-index: 3; background: var(--white); border-radius: 14px;
  padding: .9rem 1.2rem; box-shadow: var(--shadow); display: flex; flex-direction: column;
  animation: float 4s ease-in-out infinite;
}
.hero__float strong { font-family: "Montserrat", sans-serif; font-size: 1.4rem; color: var(--blue); line-height: 1; }
.hero__float span { font-size: .8rem; color: var(--muted); }
.hero__float--1 { top: -30px; right: -20px; }
.hero__float--2 { bottom: -30px; left: -30px; animation-delay: 1.5s; }
.hero__float--2 strong { color: var(--orange); }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ============ STATS ============ */
.stats { background: var(--blue); padding: 50px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat strong { display: block; font-family: "Montserrat", sans-serif; font-size: 2.6rem; font-weight: 800; color: var(--white); }
.stat span { color: rgba(255,255,255,.8); font-size: .95rem; }
.stat:nth-child(even) strong { color: #FFB37A; }

/* ============ SOBRE ============ */
.about__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.about__box {
  background: var(--white); border-radius: 24px; padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg); position: relative;
}
.about__box::before {
  content: ""; position: absolute; inset: auto -18px -18px auto; width: 70%; height: 70%;
  border-radius: 24px; background: linear-gradient(135deg, var(--orange), #FF9A4D); z-index: -1;
}
.about__box::after {
  content: ""; position: absolute; inset: -18px auto auto -18px; width: 40%; height: 40%;
  border-radius: 24px; background: var(--blue-soft); z-index: -1;
}
.about__media { position: relative; z-index: 0; }
.about__content p { color: var(--muted); margin-bottom: 1rem; }
.about__content strong { color: var(--blue); }
.about__pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.about__pillars div { background: var(--bg); border-left: 4px solid var(--orange); border-radius: 12px; padding: 1rem; }
.about__pillars h4 { font-size: 1rem; margin-bottom: .3rem; color: var(--blue); }
.about__pillars p { font-size: .88rem; margin: 0; }

/* ============ SECTION HEAD ============ */
.section__head { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section__head p { color: var(--muted); font-size: 1.05rem; }
.section__head--light h2 { color: var(--white); }
.section__head--light p { color: rgba(255,255,255,.75); }
.section__head--left { text-align: left; margin: 0; }
.section__head--left a { color: var(--orange); font-weight: 600; }

/* ============ SERVIÇOS ============ */
.services { background: var(--bg); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  border: 1px solid var(--border); transition: all .3s ease; position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--orange)); transition: width .35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { width: 100%; }
.card p { color: var(--muted); font-size: .95rem; }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--blue-soft);
  display: grid; place-items: center; margin-bottom: 1.2rem; transition: .3s;
}
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: .3s; }
.card:hover .card__icon { background: var(--orange); }
.card:hover .card__icon svg { stroke: var(--white); }

/* ============ COMO FUNCIONA ============ */
.steps { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); position: relative; overflow: hidden; }
.steps::before {
  content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: rgba(255,106,0,.12); top: -200px; right: -150px;
}
.steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.step {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); padding: 2rem 1.6rem; transition: .3s;
}
.step:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.step__num {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--orange); color: var(--white); font-family: "Montserrat", sans-serif;
  font-weight: 800; margin-bottom: 1.2rem;
}
.step h3 { color: var(--white); }
.step p { color: rgba(255,255,255,.75); font-size: .95rem; }

/* ============ ÁREAS ============ */
.areas__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; max-width: 900px; margin: 0 auto; }
.areas__list span {
  padding: .75rem 1.4rem; border-radius: 999px; border: 2px solid var(--blue-soft);
  font-weight: 600; color: var(--blue); background: var(--white); transition: .25s;
}
.areas__list span:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ============ CTA ============ */
.cta { background: linear-gradient(90deg, var(--orange), #FF8A33); padding: 60px 0; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta h2 { color: var(--white); margin-bottom: .4rem; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta p { color: rgba(255,255,255,.9); }

/* ============ FAQ ============ */
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__btn {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 1.4rem 2.5rem 1.4rem 0; font-family: "Montserrat", sans-serif; font-weight: 700;
  font-size: 1.02rem; color: var(--blue-deep); position: relative;
}
.accordion__btn::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 1.3rem; transition: .3s;
}
.accordion__item.open .accordion__btn::after { content: "−"; background: var(--orange); color: var(--white); }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.accordion__panel p { color: var(--muted); padding-bottom: 1.4rem; }

/* ============ CONTATO ============ */
.contact { background: var(--bg); }
.contact__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.contact__info > p { color: var(--muted); }
.contact__list { list-style: none; margin-top: 2rem; display: grid; gap: 1.2rem; }
.contact__list li { display: flex; align-items: center; gap: 1rem; }
.contact__list small { display: block; color: var(--muted); font-size: .8rem; }
.contact__list strong { color: var(--blue-deep); }
.contact__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.contact__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.form { background: var(--white); border-radius: 24px; padding: 2.5rem; box-shadow: var(--shadow); border-top: 6px solid var(--orange); }
.form__row { margin-bottom: 1.1rem; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: block; font-size: .85rem; font-weight: 600; color: var(--blue-deep); }
.form input, .form select, .form textarea {
  width: 100%; margin-top: .4rem; padding: .85rem 1rem; border-radius: 10px;
  border: 1.5px solid var(--border); font: inherit; font-weight: 400; color: var(--text);
  background: var(--bg); transition: .2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(11,79,224,.12);
}
.form .invalid { border-color: #E5484D; background: #FFF5F5; }
.form textarea { resize: vertical; }
.form__check { display: flex !important; gap: .6rem; align-items: flex-start; font-weight: 400 !important; color: var(--muted) !important; margin: .4rem 0 1.4rem; }
.form__check input { width: auto; margin-top: .25rem; accent-color: var(--blue); }
.form__feedback { margin-top: 1rem; text-align: center; font-weight: 600; min-height: 1.4em; }
.form__feedback.success { color: #16A34A; }
.form__feedback.error { color: #E5484D; }

/* ============ FOOTER ============ */
.footer { background: var(--blue-deep); color: rgba(255,255,255,.75); padding-top: 70px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; padding-bottom: 50px; }
.footer__logo { background: var(--white); border-radius: 14px; padding: 1rem 1.2rem; display: inline-block; margin-bottom: 1rem; }
.footer__logo img { height: 70px; width: auto; }
.footer h4 { color: var(--white); margin-bottom: 1rem; font-size: 1rem; }
.footer__grid > div:not(.footer__brand) { display: flex; flex-direction: column; gap: .6rem; }
.footer a:hover { color: var(--orange); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0; font-size: .85rem; text-align: center; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.1); padding: 2.5rem 0; text-align: center; }
.footer__seals { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.8rem; }
.footer__seals img { height: 64px; width: auto; background: var(--white); border-radius: 10px; padding: .4rem .8rem; }
.footer__company { font-size: .82rem; color: rgba(255,255,255,.85); margin-bottom: 1.2rem; line-height: 1.8; }
.footer__disclaimer { font-size: .76rem; opacity: .6; max-width: 900px; margin: 0 auto; line-height: 1.7; }
.footer__disclaimer a { text-decoration: underline; }

/* ============ WHATSAPP ============ */
.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 99; width: 60px; height: 60px;
  border-radius: 50%; background: #25D366; display: grid; place-items: center;
  box-shadow: 0 10px 25px rgba(37,211,102,.4); transition: transform .25s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 32px; height: 32px; fill: var(--white); }

/* ============ ANIMAÇÃO DE ENTRADA ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============ RESPONSIVO ============ */
@media (max-width: 1024px) {
  .nav { gap: 1.3rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 1.4rem;
    background: var(--white); padding: 2rem; box-shadow: 0 20px 30px rgba(6,31,92,.1);
    transform: translateY(-120%); transition: transform .35s ease; z-index: -1;
  }
  .nav.open { transform: none; }
  .hero__inner, .about__inner, .faq__inner, .contact__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .cta__inner { flex-direction: column; text-align: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .section { padding: 70px 0; }
  .header__logo img { height: 26px; }
  .cards, .steps__grid, .about__pillars, .form__row--2 { grid-template-columns: 1fr; }
  .hero__float--1 { right: 0; }
  .hero__float--2 { left: 0; }
  .form { padding: 1.6rem; }
  .footer__grid { grid-template-columns: 1fr; }
}
