/* ============================================
   Hipercontroll - Estilos Compartilhados
   Baseado nos templates Elementor
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

/* --- Sections --- */
.section {
  padding: 50px 0;
}
.section--light {
  background: #F7F7F7;
}
.section--dark {
  background: #000;
  color: #fff;
}
.section--success {
  background: #37BE73;
  color: #fff;
}
.section--header {
  background: #F7F7F7;
  padding: 10px 0;
}

/* --- Typography --- */
.section__title {
  font-size: 30px;
  font-weight: 700;
  color: #BA191F;
  text-align: center;
  margin-bottom: 15px;
}
.section__text {
  font-size: 20px;
  font-weight: 400;
  line-height: 35px;
  text-align: center;
  color: #000;
}
.section__text strong { font-weight: 700; }
.section__text a { color: #BA191F; text-decoration: underline; }

/* --- Grid System --- */
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.grid--center { justify-content: center; }
.grid--2 > * { flex: 1 1 45%; }
.grid--3 > * { flex: 1 1 30%; }
.grid--4 > * { flex: 1 1 22%; text-align: center; }

/* --- Header / Logo --- */
.header__logo {
  display: block;
  width: 15%;
  margin: 0 auto;
}

/* --- Hero Section (PV) --- */
.hero {
  display: flex;
  align-items: center;
  gap: 0;
}
.hero__image { flex: 1; }
.hero__image img { width: 100%; }
.hero__content { flex: 1; }
.hero__content img { width: 65%; margin: 0 auto; }

/* --- Benefits (icons + text) --- */
.benefits {
  display: flex;
  gap: 30px;
  justify-content: center;
  text-align: center;
}
.benefit { flex: 1; }
.benefit img {
  width: 50%;
  margin: 0 auto 15px;
}
.benefit__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 26px;
  color: #000;
}

/* --- Complications (circular icons) --- */
.complications {
  display: flex;
  gap: 20px;
  justify-content: center;
  text-align: center;
}
.complication { flex: 1; }
.complication img {
  width: 54%;
  margin: 0 auto 10px;
  border-radius: 50%;
}
.complication__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 26px;
  color: #000;
}

/* --- ANVISA Section --- */
.anvisa {
  display: flex;
  align-items: center;
  gap: 30px;
}
.anvisa__image { flex: 1; }
.anvisa__image img { width: 70%; margin: 0 auto; }
.anvisa__text { flex: 1; }

/* --- Testimonials --- */
.testimonials__videos {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}
.testimonial-video {
  width: 60%;
  max-width: 300px;
}
.testimonial-video > div {
  position: relative;
  width: 100%;
  padding-top: 177.78%; /* 9:16 */
}
.testimonial-video img,
.testimonial-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonials__images {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 35px 0;
}
.testimonials__images img {
  flex: 1;
  max-width: 25%;
}

/* --- Disclaimer --- */
.disclaimer {
  text-align: center;
  margin-top: 15px;
}
.disclaimer__title {
  font-size: 30px;
  font-weight: 700;
  color: #BA191F;
  margin-bottom: 15px;
}
.disclaimer__text {
  font-size: 20px;
  line-height: 35px;
}

/* --- Guarantee --- */
.guarantee {
  display: flex;
  align-items: center;
  gap: 30px;
}
.guarantee__image {
  flex: 1;
  text-align: center;
}
.guarantee__image img {
  width: 52%;
  border-radius: 50%;
  margin: 0 auto;
}
.guarantee__content {
  flex: 1;
  text-align: center;
}
.guarantee__note {
  font-size: 20px;
  line-height: 35px;
  margin-top: 10px;
}

/* --- Kits --- */
.kits {
  display: flex;
  gap: 15px;
  justify-content: center;
}
.kit {
  flex: 1;
  text-align: center;
}
.kit a { display: block; }
.kit img {
  width: 85%;
  margin: 0 auto;
  transition: transform 0.3s ease;
}
.kit img:hover {
  transform: scale(1.03);
}

/* --- FAQ Accordion --- */
.faq {
  max-width: 940px;
  margin: 0 auto;
}
.faq__item {
  border: 1px solid #BA191F;
  margin-bottom: -1px;
}
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  color: #BA191F;
  background: #fff;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  gap: 15px;
}
.faq__question:hover { opacity: 0.8; }
.faq__question.active { color: #000; }
.faq__icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.faq__question.active .faq__icon {
  transform: rotate(180deg);
}
.faq__answer {
  display: none;
  padding: 25px;
  background: #ECEFF0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
}
.faq__answer.open { display: block; }

/* --- WhatsApp Section --- */
.whatsapp {
  text-align: center;
}
.whatsapp__icon {
  width: 25%;
  margin: 0 auto 15px;
}
.whatsapp__icon img { width: 100%; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 15px 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}
.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.btn--primary {
  background: #61CE70;
  color: #fff;
}
.btn--whatsapp {
  background: #25D366;
  color: #fff;
}

/* --- Region Buttons (Depoimentos) --- */
.region-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  max-width: 350px;
  margin: 0 auto;
}
.btn--region {
  display: block;
  width: 100%;
  padding: 15px 25px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  border-radius: 10px;
  text-align: center;
}
.btn--norte { background: #179F2A; }
.btn--nordeste { background: #E09A33; }
.btn--centro-oeste { background: #E0CF15; }
.btn--sul { background: #2A81DF; }
.btn--sudeste { background: #B93A24; }

/* --- Obrigado (Success Page) --- */
.success {
  text-align: center;
}
.success__icon {
  width: 125px;
  height: 125px;
  margin: 0 auto 50px;
}
.success__icon svg {
  width: 100%;
  height: 100%;
  color: #fff;
}
.success__title {
  font-size: 35px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 35px;
}
.success__text {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
}
.success__card {
  max-width: 600px;
  margin: 30px auto 0;
  background: #fff;
  padding: 35px;
  border-radius: 8px;
  color: #000;
  text-align: center;
}
.success__card h3 {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 25px;
}
.success__card p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* --- Footer --- */
.footer {
  background: #000;
  padding: 50px 0;
  color: #fff;
}
.footer__columns {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}
.footer__col {
  flex: 1;
}
.footer__col-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}
.footer__col a {
  display: block;
  color: #62D8FF;
  font-size: 12px;
  margin-bottom: 5px;
}
.footer__col a:hover { text-decoration: underline; }
.footer__col img {
  width: 85%;
}
.footer__col p {
  font-size: 14px;
  line-height: 2;
}
.footer__empresa {
  margin-bottom: 15px;
}
.footer__empresa p {
  font-size: 14px;
}
.footer__divider {
  border: none;
  border-top: 1px solid #fff;
  margin: 15px 0;
}
.footer__meta-disclaimer {
  text-align: center;
  color: #ABABAB;
  font-size: 14px;
  margin-bottom: 20px;
}
.footer__copyright {
  text-align: center;
  font-size: 14px;
}
.footer__vantt {
  text-align: center;
  font-size: 12px;
  margin-top: 10px;
  color: #888;
}
.footer__vantt a {
  color: #888;
  text-decoration: underline;
}

/* --- Regional Testimonials Grid --- */
.region-testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 30px;
}
.region-testimonial {
  flex: 1 1 30%;
  text-align: center;
  max-width: 33%;
}
.region-testimonial img {
  width: 100%;
  margin-bottom: 10px;
}
.region-testimonial__name {
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

/* --- Gray Section Variant (Ofertas/Pote Extra) --- */
.section--gray {
  background: #E2E2E2;
}

/* --- Ofertas Banner Kits --- */
.kits--ofertas .kit img {
  width: 100%;
}

/* ============================================
   RESPONSIVE - Mobile First
   ============================================ */

@media (max-width: 768px) {
  .header__logo { width: 40%; }

  .section__title { font-size: 20px; }
  .section__text { font-size: 18px; }

  .hero { flex-direction: column; }
  .hero__image,
  .hero__content { flex: none; width: 100%; }
  .hero__content img { width: 75%; }

  .grid--2 > *,
  .grid--3 > *,
  .grid--4 > * { flex: 1 1 100%; }

  .benefits { flex-direction: column; gap: 25px; }
  .benefit img { width: 40%; }

  .complications { flex-wrap: wrap; }
  .complication { flex: 1 1 45%; }

  .anvisa { flex-direction: column; }
  .guarantee { flex-direction: column; }

  .testimonials__videos { flex-direction: column; align-items: center; }
  .testimonial-video { width: 80%; max-width: none; }
  .testimonials__images { flex-direction: column; align-items: center; }
  .testimonials__images img { max-width: 80%; }

  .kits { flex-direction: column; align-items: center; }
  .kit { width: 100%; }
  .kit img { width: 80%; margin-bottom: 20px; }

  .faq__question { font-size: 16px; }

  .whatsapp__icon { width: 30%; }

  .footer__columns { flex-direction: column; text-align: center; }
  .footer__col img { margin: 0 auto; width: 70%; }
  .footer__empresa { text-align: center; }

  .success__title { font-size: 24px; }

  .disclaimer__title { font-size: 20px; }
  .disclaimer__text { font-size: 18px; }
  .guarantee__note { font-size: 18px; }

  .region-testimonial { flex: 1 1 45%; max-width: 48%; }
}

/* ============================================
   ADVERTORIAL STYLES
   ============================================ */

/* --- Advertorial Base (Blog-style pages) --- */
.adv-page {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* --- Advertorial Layout (70/30) --- */
.adv-layout {
  display: flex;
  gap: 30px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 30px 15px;
}
.adv-content {
  flex: 7;
  min-width: 0;
}
.adv-sidebar {
  flex: 3;
  min-width: 0;
}
.adv-sidebar img {
  width: 100%;
  position: sticky;
  top: 20px;
}

/* --- Advertorial Header (DOUTORCIÊNCIA green bar) --- */
.adv-header {
  background: #1B8007;
  padding: 15px 0;
  text-align: center;
}
.adv-header__title {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}
.adv-header__title span {
  font-weight: 400;
  font-size: 16px;
}

/* --- Advertorial Footer (green) --- */
.adv-footer {
  background: #1B8007;
  padding: 35px 0;
  text-align: center;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}
.adv-footer a {
  color: #fff;
  text-decoration: underline;
}
.adv-footer p {
  margin-bottom: 10px;
}
.adv-footer__meta {
  font-size: 14px;
  margin-top: 15px;
}
.adv-footer__vantt {
  font-size: 12px;
  margin-top: 10px;
  color: rgba(255,255,255,0.7);
}
.adv-footer__vantt a {
  color: rgba(255,255,255,0.7);
}

/* --- Advertorial Typography --- */
.adv-content h1 {
  font-size: 32px;
  font-weight: 700;
  color: #D32F2F;
  line-height: 1.3;
  margin-bottom: 15px;
}
.adv-content h2 {
  font-size: 25px;
  font-weight: 700;
  color: #1976D2;
  line-height: 1.4;
  margin: 25px 0 10px;
}
.adv-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  margin: 20px 0 10px;
}
.adv-content p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #212121;
}
.adv-content ul,
.adv-content ol {
  padding-left: 25px;
  margin-bottom: 15px;
}
.adv-content li {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 8px;
}
.adv-content img {
  width: 100%;
  border-radius: 8px;
  margin: 15px 0;
}
.adv-content a {
  color: #D32F2F;
  text-decoration: underline;
  font-weight: 600;
}
.adv-content blockquote {
  border-left: 4px solid #D32F2F;
  padding: 10px 15px;
  margin: 15px 0;
  background: #f9f9f9;
}

/* --- Advertorial Yellow Highlight --- */
.adv-highlight {
  background: #FFE200;
  padding: 15px;
  font-size: 25px;
  font-weight: 700;
  margin: 20px 0;
}

/* --- Advertorial CTA Button --- */
.adv-cta {
  display: block;
  text-align: center;
  background: #D32F2F;
  color: #fff !important;
  padding: 16px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none !important;
  margin: 20px auto;
  max-width: 90%;
  font-size: 18px;
}
.adv-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  transition: all 0.3s ease;
}

/* --- Stock Counter --- */
.stock-counter {
  font-family: "Poppins", "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: bold;
  color: #D32F2F;
  text-align: center;
  padding: 20px;
  background: #FFF3E0;
  border: 3px solid #D32F2F;
  border-radius: 8px;
  max-width: 400px;
  margin: 30px auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
.stock-counter__number {
  font-size: 36px;
  color: #B71C1C;
  font-weight: bold;
  transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}
.stock-counter__arrow {
  font-size: 24px;
  color: #D32F2F;
  animation: stockPulse 1s infinite alternate;
}
@keyframes stockPulse {
  0% { opacity: 1; }
  100% { opacity: 0.5; }
}

/* --- Advertorial Carousel --- */
.adv-carousel {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  margin: 20px 0;
}
.adv-carousel__wrapper {
  display: flex;
  transition: transform 0.8s ease-in-out;
}
.adv-carousel__wrapper img {
  width: 100%;
  max-width: 100%;
  height: auto;
  flex-shrink: 0;
  border-radius: 0;
  margin: 0;
}
.adv-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #FFD700;
  color: #D32F2F;
  border: none;
  font-size: 28px;
  padding: 15px 20px;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 10;
}
.adv-carousel__btn:hover {
  background: #FFA500;
}
.adv-carousel__btn--prev { left: 10px; }
.adv-carousel__btn--next { right: 10px; }

/* --- Advertorial FAQ (inline style) --- */
.adv-faq-btn {
  background: #f2f2f2;
  color: #0A2463;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  margin-bottom: 10px;
  line-height: 1.4;
  font-family: 'Montserrat', sans-serif;
}
.adv-faq-btn:hover { background: #ddd; }
.adv-faq-panel {
  padding: 0 18px;
  display: none;
  background: #fff;
  border-left: 4px solid #D32F2F;
  margin-bottom: 20px;
}
.adv-faq-panel.open {
  display: block;
  padding: 15px 18px;
}

/* --- Advertorial: Colesterol (DOUTORCIÊNCIA) specific --- */
.adv-content--doutorciencia h2 {
  color: #000;
  font-size: 25px;
}
.adv-content--doutorciencia .adv-icon-list {
  list-style: none;
  padding-left: 0;
}
.adv-content--doutorciencia .adv-icon-list li {
  padding-left: 25px;
  position: relative;
}
.adv-content--doutorciencia .adv-icon-list li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  color: #1B8007;
  font-weight: 700;
}

/* --- Advertorial: Evite AVC (self-contained narrow) --- */
.adv-narrow {
  max-width: 768px;
  margin: 0 auto;
  padding: 20px;
}
.adv-narrow h1 {
  font-size: 32px;
  color: #D32F2F;
  text-align: center;
  line-height: 1.4;
}
.adv-narrow h2 {
  color: #D32F2F;
  text-align: center;
}

/* --- Advertorial: Extrato Natural (Portal Saude blue) --- */
.adv-page--portal-saude {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.adv-page--portal-saude .adv-content h1 {
  color: #000;
}
.adv-page--portal-saude .adv-content h2 {
  color: #000;
  font-size: 22px;
}
.adv-header--blue {
  background: #006DCA;
}
.adv-header--portal {
  background: #39A3FE;
  padding: 20px 0;
  text-align: center;
}
.adv-header--portal .adv-header__brand {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1.4px;
  line-height: 1.2;
  margin: 0;
}
.adv-header--portal .adv-header__label {
  font-size: 10px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin: 0;
}
.adv-footer--dark {
  background: #2E2E2F;
}
.adv-footer--dark .adv-footer__brand {
  font-size: 33px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

/* --- Advertorial: Image captions --- */
.adv-caption {
  background: #E2E2E2;
  padding: 8px 12px;
  font-size: 12px;
  color: #666;
  margin-top: -10px;
  margin-bottom: 20px;
  text-align: center;
}

/* --- Advertorial: Green CTA box --- */
.adv-cta-box {
  background: #1B8007;
  padding: 20px 25px;
  border-radius: 8px;
  margin: 25px 0;
  text-align: center;
}
.adv-cta-box h2,
.adv-cta-box p {
  color: #fff !important;
}
.adv-cta-box a {
  color: #fff;
  text-decoration: underline;
}

/* --- Advertorial: Update banner --- */
.adv-update-banner {
  background: #0ea671;
  padding: 15px 20px;
  border-radius: 8px;
  margin: 25px 0;
  color: #fff;
  font-size: 16px;
  text-align: center;
}

/* --- Advertorial: Doctor Q&A --- */
.adv-qa { margin: 20px 0; }
.adv-qa__question {
  font-weight: 700;
  margin-bottom: 5px;
}
.adv-qa__question .label-red { color: #ff0000; }
.adv-qa__answer .label-green { color: #008000; font-weight: 700; }

/* --- Advertorial: Icon list (generic green checks) --- */
.adv-check-list {
  list-style: none;
  padding: 0;
}
.adv-check-list li {
  padding: 8px 0 8px 30px;
  position: relative;
  font-size: 18px;
  line-height: 1.5;
}
.adv-check-list li::before {
  content: "\2714";
  color: #1B8007;
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* --- Responsive Advertorial --- */
@media (max-width: 768px) {
  .adv-layout {
    flex-direction: column;
  }
  .adv-sidebar {
    display: none;
  }
  .adv-content h1 { font-size: 26px; }
  .adv-content h2 { font-size: 20px; }
  .adv-content p,
  .adv-content li { font-size: 18px; }
  .adv-highlight { font-size: 20px; }
  .adv-narrow { padding: 15px; }
  .adv-narrow h1 { font-size: 26px; }
  .stock-counter { max-width: 90%; font-size: 18px; }
  .stock-counter__number { font-size: 28px; }
  .adv-header__title { font-size: 18px; }
  .adv-header__title span { font-size: 14px; }
  .adv-header--portal .adv-header__brand { font-size: 25px; }
  .adv-footer--dark .adv-footer__brand { font-size: 28px; }
  .adv-page--portal-saude .adv-content h2 { font-size: 20px; }
}
