/* ========================================================
   UltraCare — Programa de Suporte ao Paciente
   Styles: clean, responsive, mobile-first friendly
   ======================================================== */

/* ---------- 1. Design tokens (edit these to rebrand) ---------- */
:root {
  --color-primary: #7C1171;          /* main purple */
  --color-primary-dark: #821076;     /* deep purple bg */
  --color-primary-alt: #7F1173;      /* nav purple */
  --color-accent: #B51094;           /* magenta accent */
  --color-green: #8DC640;            /* green title accent */
  --color-green-soft: #BAD678;       /* table header */
  --color-whatsapp: #00D150;
  --color-text: #000000;
  --color-text-soft: #A7A7A7;
  --color-error: #cc0000;
  --color-bg-soft: #F9F9F9;
  --color-white: #FFFFFF;
  --color-border: #707070;

  --font-base: 'Sarabun', system-ui, sans-serif;

  --max-width: 1280px;
  --radius-pill: 30px;
  --radius-card: 12px;

  --transition: 0.25s ease;
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  line-height: 1.5;
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

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

/* ---------- 3. Reusable: buttons & titles ---------- */
.btn {
  display: inline-block;
  padding: 17px 70px;
  border-radius: var(--radius-pill);
  border: none;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  transition: transform var(--transition), opacity var(--transition);
}
.btn:hover { transform: translateY(-2px); opacity: 0.92; }

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

.link-underline {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
   font-size: 20px; /*added */
}

.section-title {
  text-align: center;
  color: var(--color-primary);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 16px;
}
.section-title .subtitle {
  display: block;
  font-size: 0.55em;
  margin-top: 8px;
}

/* ---------- 4. Header / nav ---------- */
.site-header {
  background: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand { display: flex; flex-direction: column; gap: 6px; }
.brand-logo { width: 220px; max-width: 60vw; }
.brand-tagline {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent);
  text-align: center;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.main-nav a {
  color: var(--color-primary-alt);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: color var(--transition);
}
.main-nav a:hover { color: var(--color-accent); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-close {
  display: none;
  background: transparent;
  border: 0;
  color: var(--color-primary);
  padding: 8px;
}
.nav-close svg { width: 32px; height: 32px; display: block; }

/* Mobile-only header inside the overlay (logo + tagline + close) */
.nav-mobile-header { display: none; }

/* ---------- 5. Hero ---------- */
.hero {
  background: var(--color-bg-soft);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  align-items: stretch;

}
.hero-text {
  display: flex;
  align-items: center;
  padding: 40px 0;
}
.hero-text h1 {
  margin: 0;
  color: var(--color-primary);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 35px);
  line-height: 1.2;
}
.hero-text h1 strong {
  display: block;
  font-weight: 700;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1;
  margin-top: 8px;
}
.hero-image {
    width: 100%;
    height: 100%;
    text-align: center;
}
.hero-image img,
.hero-img-desktop {
display: inline;
}
.hero-img-mobile {
  display: none;
  width: 100%;
  height: 100%;
  background: url('/wp-content/uploads/Banner-mobileNew-1.png') center center / cover no-repeat;
}

/* ---------- 6. Programa section ---------- */
.programa { padding: 80px 0 0; text-align: center; }
.programa-title {
  font-weight: 700;
  color: var(--color-primary);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.3;
  margin: 0 auto 32px;
  max-width: 1100px;
	font-size: 33px;  /* adding */
}
.programa-title span {
  display: block;
  font-size: 0.7em;
  margin-top: 12px;
font-size: 23px;  /* adding */
	
}
.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 100px;
}

/* Offer block (the dark image-overlay panel) */
.offers {
  background: url(/wp-content/uploads/Layer-image.png);
  background-size: cover;
  background-position: center;
  padding: 60px 0;
  color: var(--color-white);
      min-height: 550px;
    align-items: center;
    display: flex;
}
.offers-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
}
.offers h3 {
  font-weight: 400;
  font-size: clamp(34px, 4vw, 59px);
  line-height: 1.1;
  margin: 0;
}
.offers ul {
  list-style: disc;
  padding-left: 22px;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.55;
      text-align: left;
  margin: 0;
}
.offers ul li + li { margin-top: 14px; }

/* ---------- 7. How it works ---------- */
.how-it-works {
  position: relative;
  background: url('/wp-content/uploads/layer-image2.png');
  background-position:bottom ;
  background-size:cover ;
  padding: 80px 0 210px;
  overflow: hidden;
}
/* Decorative curve at the bottom-right of the section */

.how-it-works > .container { position: relative; z-index: 1; }

.steps {
  list-style: none;
  margin: 60px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.step { text-align: left; }
.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 0 18px;
  display: grid;
  place-items: start;
}
.step-icon svg { width: 100%; height: 100%; }
.step h3 {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 25px;
}
.step p {
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
  max-width: 240px;
}

.how-note {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  max-width: 750px;
  margin: 60px auto 24px;
}


.how-resi {
  text-align: center;
  font-size: 18px;
  max-width: 750px;
  margin: 33px auto 15px;
  line-height:28px;

}

/* Channels (WhatsApp / chat / e-mail icons row) */
.how-channels {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 0;
  margin: 50px 0 50px;
}
.how-channels a {
  display: block;
  width: 56px;
  height: 56px;
  transition: transform var(--transition);
}
.how-channels a:hover { transform: translateY(-3px); }
.how-channels svg { width: 100%; height: 100%; display: block; }

.how-eligibility {
  text-align: center;
  font-size: 18px;
  margin: 0 0 28px;
}
.cta-center { text-align: center; }
.reg-line {
  margin-top: 16px;
  font-size: 18px;
  text-decoration: underline;
}

/* ---------- 8. Form ---------- */
.form-section { padding: 80px 0; background: var(--color-white); }
.form-container { max-width: 1080px; }
.form-intro {
  text-align: center;
  font-size: 16px;
      margin: 12px 30px 80px;
}
.form-group-title {
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 20px;
  padding-top: 24px;
  border-top: 1px solid var(--color-text);
}
.form-group-title:first-of-type { border-top: 0; padding-top: 0; }

.precadastro-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row > label,  .form-row > .registration-wrapper > label{
  font-size: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-row > label.radio,
.form-row > label.checkbox {
  flex-direction: row;
}
.form-row-split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}
.non-hcp {
	display: none;
}
.non-hcp.show {
	display: flex;
}
.required { color: #FF0000 }
.optional {
    color: #000000;
}

.precadastro-form input[type="text"],
.precadastro-form input[type="email"],
.precadastro-form input[type="tel"],
.precadastro-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  font-family: inherit;
  font-size: 16px;
  border-radius: 4px;
}
.precadastro-form input:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}

/* Error state */
.precadastro-form input.is-invalid,
.precadastro-form .is-invalid input {
  border-color: var(--color-error);
}
.error-text {
  display: none;
  color: var(--color-error);
  font-size: 14px;
  margin-top: 6px;
  font-weight: 400;
}
.is-invalid > .error-text,
.form-row.is-invalid .error-text {
  display: block;
}

fieldset.form-row {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
fieldset.form-row legend {
  font-size: 18px;
  margin-bottom: 8px;
  padding: 0;
}
.radio, .checkbox {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 1.4;
  cursor: pointer;
}
.radio input, .checkbox input { margin-top: 4px; flex-shrink: 0; }

.form-consent { margin-top: 16px; }
.consent-subhead { font-weight: 400; margin: 8px 0; }
.consent-note { font-size: 14px; margin: 4px 0; }
.consent-note.bold { font-weight: 700; font-size: 18px; margin-top: 16px; }

.form-submit {
  align-self: flex-start;
  margin-top: 24px;
  min-width: 220px;
}

/* ---------- 9. Conditions ---------- */
.conditions {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 80px 0;
}
.condition {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
padding: 40px 0;
  border-bottom: 2px solid var(--color-white);
	position: relative !important;
	margin-bottom: 0 !important;
}
.condition:last-of-type { border-bottom: 0; }
.condition.reverse .condition-image { order: 2; }

.condition-image img {
  width: 380px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
}
.condition-text h3 {
  color: var(--color-green);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  margin: 0 0 16px;
}
.condition-text p {
  font-size: 20px;
  line-height: 1.6;
  margin: 0;
}

.references {
  border-top: 2px solid var(--color-white);
  padding-top: 24px;
  margin-top: 40px;
  font-size: 14px;
  line-height: 1.5;
}
.references h4 { font-weight: 700; margin: 0 0 8px; }
.references p { margin: 4px 0; }

/* ---------- 10. Associations table ---------- */
.associations {
  background: var(--color-bg-soft);
  padding: 80px 0;
}
.associations .section-title { color: var(--color-accent); }
.table-wrap {
  overflow-x: auto;
  margin: 40px 0 24px;
  -webkit-overflow-scrolling: touch;
}
.assoc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--color-white);
  min-width: 900px;
}
.assoc-table th,
.assoc-table td {
  border: 1px solid var(--color-border);
  padding: 12px;
  text-align: center;
  vertical-align: middle;
  line-height: 1.4;
}
.assoc-table thead th {
  background: var(--color-green-soft);
  font-weight: 700;
  font-size: 16px;
}
.assoc-table a {  word-break: break-word; }
.assoc-note {
  text-align: center;
  font-size: 15px;
  max-width: 900px;
  margin: 0 auto;
	    padding: 30px 10px;
}

/* ---------- 11. Contact ---------- */
.contact {
  position: relative;
  min-height: 685px;
  display: flex;
  align-items: center;
  padding: 60px 0;
  background: url('/wp-content/uploads/Contact-banner.png');
	background-size: cover;
}
.contact-grid {
  width: 100%;
}
.contact-text {
  max-width: 640px;
}
.contact h2 {
  color: var(--color-accent);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 59px);
  margin: 0 0 24px;
}
.contact-hours {
  font-size: 22px;
  margin: 45px 0 24px;
  color: var(--color-text);
}
.contact-info {
  font-size: 28px;
  line-height: 1.4;
  margin: 0;
  color: var(--color-text);
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 64px;
  height: 64px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 90;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 36px; height: 36px; }

/* ---------- 12. Footer ---------- */
.site-footer {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 48px 0 24px;

}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
}
.footer-brand { flex: 1 1 320px; }
.footer-logo { width: 250px; max-width: 100%; }
.footer-tagline { font-size: 14px; margin: 12px 0 12px; }
.footer-links {
  font-size: 13px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 50px 0px 20px;
}
.footer-links a { color: var(--color-white); transition: opacity var(--transition); }
.footer-links a:hover { opacity: 0.7; text-decoration: underline; }

.footer-partners {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-partner-logo {
  height: 100px;
  width: auto;
 
  object-fit: contain;
}

.footer-bottom {
  color: var(--color-white);
  text-align: center;
  font-family: var(--font-base);
  font-size: 12px;
  font-weight: 400;
  margin-top: 3rem;
  max-width: 932px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-bottom > p {
  margin: 0;
}

.footer-bottom > p >a{
  text-decoration: underline;
}


.footer-copy {
  text-align: center;
  font-size: 12px;
  opacity: 0.85;
  padding-top: 3rem;;
 
}
.footer-copy p { margin: 0; }

/* ========================================================
   RESPONSIVE BREAKPOINTS
   ======================================================== */

/* Tablet — up to 1024px */
@media (max-width: 1024px) {
  .main-nav ul { gap: 12px; }
  .main-nav a { font-size: 14px; }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-text { padding: 24px 0; }
  .hero-img-desktop { min-height: 320px; }

  .offers-inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .offers ul { text-align: left; max-width: 600px; margin: 0 auto; }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }

  .condition,
  .condition.reverse {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .condition.reverse .condition-image { order: 0; }
}

/* Mobile — up to 768px */
@media (max-width: 768px) {
	.step-icon img { object-position: center; }
  html { scroll-padding-top: 70px; }
.offers .desktop-br { display: none; }
.offers .desktop-br.second-br { display: inline; }
  /* Mobile nav: full-screen overlay menu */
  .nav-toggle { display: flex; }
.hero {
    background: #fff;
    overflow: hidden;
}
.programa-title span {
    padding: 10px 45px;
}
.programa-title{
      font-size: 35px;
}
.P032 {
    padding: 0 65px;
}
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--color-white);
    z-index: 200;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
    overflow-y: auto;
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
  }

  /* Header row inside the overlay: logo + tagline (center) + X close (right) */
  .nav-mobile-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 24px 16px 32px;
    border-bottom: 1px solid transparent;
  }
  .nav-mobile-header::before { content: ''; } /* spacer column */
  .nav-mobile-logo {
    width: 200px;
    max-width: 60vw;
    grid-column: 2;
    margin: 0 auto;
  }
  .nav-mobile-tagline {
    grid-column: 2;
    text-align: center;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 14px;
    margin: 6px 0 0;
  }
  .nav-close {
    display: block;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: start;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 36px;
    padding: 32px 24px 60px;
    margin: 0;
  }
  .main-nav a {
    font-size: 18px;
    color: var(--color-primary);
    text-align: center;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Prevent background scroll when menu is open */
  body.menu-open { overflow: hidden; }

.brand {
        align-items: baseline;
  text-align: center;
  margin: 0 auto;
          padding: 10px 10px;
}
.brand-logo { width: 180px; margin: 0; }
.brand-tagline { font-size: 12px; text-align: center; width: 100%; }
.header-inner {
  padding-top: 28px;
  padding-bottom: 20px;
  position: relative;
  justify-content: center;
}
.site-header .nav-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

  /* Hero stays side-by-side on mobile; image taller (portrait-style) */
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }
  .hero-text {padding: 16px 25px; }
  .hero-text h1 { font-size: 32px; }
  .hero-text h1 strong { font-size: 46px; margin-top: 4px; }
  .hero-image .hero-img-desktop { display: none !important; }
  .hero-image .hero-img-mobile {
    display: block !important;
    min-height: 400px;
  }

  .programa { padding: 48px 0 0; }
  .offers { padding: 48px 0; background: none; background-color:#7C1171}

  .how-it-works { padding: 48px 0; background: none; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  /* When stacked, center the step content so each looks balanced */
  .step { text-align: center; }
  .step-icon { margin-left: auto; margin-right: auto; place-items: center; }
  .step p { margin-left: auto; margin-right: auto; }

  /* Footer: stack the two columns and center on mobile */
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
  }
  .footer-brand { flex-basis: auto; }
  .footer-links { justify-content: center; }
  /* Partner logos stack vertically, centered */
  .footer-partners {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
  }
  .footer-partner-logo { height: 80px; }  /*48 */

  .form-section { padding: 48px 0; }
  .form-row-split { grid-template-columns: 1fr; }
  .form-group-title { font-size: 20px; }

  .conditions { padding: 48px 0; }
  .condition-text h3 { font-size: 26px; }
  .condition-text p { font-size: 17px; }

  .associations { padding: 48px 0; }
  .assoc-table { font-size: 13px; }
  .assoc-table th, .assoc-table td { padding: 8px; }

  .contact-hours { font-size: 18px; }
  .contact-info { font-size: 22px; }
  .contact {
    min-height: 500px;
    background-position: right center;
  }
  .contact-text {
    background: rgba(255, 255, 255, 0.85);
    padding: 24px;
    border-radius: 8px;
  }

  .whatsapp-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
  .whatsapp-float svg { width: 30px; height: 30px; }

  .btn { padding: 14px 28px; font-size: 20px; }
}

/* Small mobile — up to 480px */
@media (max-width: 480px) {
  .PR0{
    padding-right: 0px !important;
  }
  div#uc-external-popup {
    padding: 10px 50px;
}
div#uc-success-popup {
    padding: 10px 50px;
}
  .programa-title span {
    padding: 0px 18px;
}
  .P032{
      padding: 0 32px;
}
  .container { padding: 0 16px; }
  .hero-text h1 { font-size: 22px;margin-left: 20px;}
  .hero-text h1 strong { font-size: 38px; }
  .hero-img-mobile { min-height: 240px; }
  .section-title { font-size: 42px; }
	.section-title .subtitle{font-size: 24px; }
  .programa-title { font-size: 25px; }
  .offers h3 { font-size: 40px; }
  .offers ul { font-size: 16px; }
  .condition-text h3 { font-size: 28px; }
  .contact-info { font-size: 18px; }
  .cta-group {
    margin-bottom: 40px;  
}
.programa-title span {
    font-size: 20px;
}
    .FormBtnMbile {
        font-size: 16px;
        padding: 18px 60px !important;
    }
    .how-eligibility {

    font-size: 16px;

}
.contact h2{
font-size: 40px;
    line-height: 1;
}
.footer-menu li a {

    font-size: 12px;
}
    .hero-image .hero-img-mobile {
         min-height: 230px;
    
    }
        .hero-text {
        padding: 16px 12px;
    }
}
@media (max-width: 389px) {
  .footer-menu {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .footer-menu li {
        padding: 0px !important;
  }
  .footer-menu li:not(:last-child)::after {
    display: none;
  }
  
}
/* Custom Styles */

.precadastro-form .form-row p {
    margin: 0px;
}
.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.footer-link {
    padding: 0px;
}
.references-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.references-list li {
  margin-bottom: 8px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.references-list a {
  word-break: break-all;
}
.BorderTop {
    border-top: 1px solid #000 !important;
    margin-top: 20px;
    padding-top: 20px !important;
}
.BorderBottom {
    border-bottom: 1px solid #000 !important;
    margin-bottom: 20px;
    padding-bottom: 60px !important;
}
.Checkboxstyles input{
	transform: scale(1.7);
    margin-top: 9px;
    margin-right: 14px;
}
.UCSpreform span.wpcf7-form-control.wpcf7-radio {
    display: flex;
    flex-direction: column;
}
.UCSpreform .form-row {
    margin-bottom: 18px;
}
.UCSpreform span.wpcf7-list-item {
    margin-left: 0px;
    margin-bottom: 12px;
}
.UCSpreform span.wpcf7-list-item label {
    cursor: pointer;
}
  .uc-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
  }
  .uc-popup-overlay.is-open {
    display: flex;
    animation: ucFadeIn 0.3s ease-out;
  }
  @keyframes ucFadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  .uc-popup-box {
  background: #fff;
  border-radius: 45px;
  padding: 40px 30px 30px;
  text-align: center;
  max-width: 380px;
  width: 100%;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: ucSlideUp 0.4s ease-out;
  box-sizing: border-box;
  }
  @keyframes ucSlideUp {
    from {
      transform: translateY(20px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
.uc-popup-close {
position: absolute;
    top: -20px;
    right: -40px;
    width: 38px;
    height: 38px;
    border: none;
    background: #fff;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px 10px 10px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.uc-popup-close:hover {
  background: #f5f5f5;
}
  .uc-popup-check {
    width: 70px;
    height: 70px;
    background: #7cc242;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
  }
  .uc-popup-title {
    color: #7C1171;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 12px;
    line-height: 1.3;
  }
  .uc-popup-text {
    color: #555;
    font-size: 15px;
    margin: 0 0 25px;
    line-height: 1.5;
  }
  .uc-popup-ok {
    background: #6b1e6f;
    color: #fff;
    border: none;
    padding: 12px 60px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 1px;
    transition: background 0.2s;
  }
  .uc-popup-ok:hover {
    background: #5a1a5e;
  }
  body.uc-popup-open {
    overflow: hidden;
  }
  .wpcf7-response-output {
    display: none !important;
  }
.UCSpreform .btn.btn-primary.form-submit {
    cursor: pointer;
}

.UCSpreform input[type="checkbox"] {
    display: block;
    scale: 1.5;
    margin-right: 20px;
    position: relative;
    top: 4px;
}
.UCSpreform span.wpcf7-list-item label {
display: flex;
    align-items: baseline;
}
/* ============================================================
   ULTRAGENYX — SHARED CSS FOR LEGAL PAGES
   (Privacy Policy + Terms of Use)

   WHERE TO ADD THIS:
   WordPress Admin → Appearance → Customize → Additional CSS
   Paste everything below. Save & publish ONCE.

   FONT: Sarabun (weights 400 + 700 only).
   If your theme does NOT already load Sarabun, uncomment the
   @import line below.
   ============================================================ */

/* @import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@400;700&display=swap'); */

.ugx-legal {
  font-family: 'Sarabun', sans-serif;
  font-weight: 400;
  color: #333;
  line-height: 1.7;
  font-size: 16px;
  background: #fff;
}

/* ---------- Banner (full-width background image) ----------
   The banner element itself stretches edge-to-edge.
   The inner wrapper (.ugx-legal__banner-inner) is 1280px so the
   title aligns vertically with your site logo and nav above it.
*/
.ugx-legal__banner {
  position: relative;
  width: 100%;
  background-image: url('/wp-content/uploads/header_privacy_policy-scaled.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-color: #f3f3f3; /* fallback while image loads */
  overflow: hidden;
}

.ugx-legal__banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 70px 24px;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.ugx-legal__banner-title {
  font-family: 'Sarabun', sans-serif;
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 400;
  color: #2a2a2a;
  margin: 0 0 10px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.ugx-legal__banner-date {
  font-family: 'Sarabun', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #4a4a4a;
  margin: 0;
}

/* ---------- Content ---------- */
.ugx-legal__content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px 24px 70px;
  box-sizing: border-box;
}

.ugx-legal__content p {
  font-family: 'Sarabun', sans-serif;
  font-weight: 400;
  margin: 0 0 18px;
  text-align: justify;
}

.ugx-legal__content h2 {
  font-family: 'Sarabun', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #5d2c5f; /* Ultragenyx purple */
/*   margin: 38px 0 16px; */
   margin: 0 0 16px;
  line-height: 1.3;
  scroll-margin-top: 120px; /* offset so anchor links don't hide under fixed header */
}

.ugx-legal__content h3 {
  font-family: 'Sarabun', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #2a2a2a;
  margin: 24px 0 10px;
  line-height: 1.4;
}

.ugx-legal__content ul {
  font-family: 'Sarabun', sans-serif;
  font-weight: 400;
  margin: 0 0 18px;
  padding-left: 22px;
}

.ugx-legal__content ul li {
  margin-bottom: 10px;
}

.ugx-legal__content strong {
  font-family: 'Sarabun', sans-serif;
  font-weight: 700;
}

.ugx-legal__content a {
  font-family: 'Sarabun', sans-serif;
  font-weight: 400;
  color: #5d2c5f;
  text-decoration: underline;
  word-break: break-word;
}

.ugx-legal__content a:hover {
  color: #84b740; /* Ultragenyx green */
}

/* ---------- Highlight boxes (contact / final note) ---------- */
.ugx-legal__box {
  background: #f8f8f8;
  border-left: 4px solid #84b740;
  padding: 18px 22px;
  margin: 18px 0 24px;
  border-radius: 2px;
}

.ugx-legal__box p {
  font-family: 'Sarabun', sans-serif;
  font-weight: 400;
  margin: 0 0 6px;
  text-align: left;
}

.ugx-legal__box p:last-child {
  margin-bottom: 0;
}

.ugx-legal__box strong {
  font-family: 'Sarabun', sans-serif;
  font-weight: 700;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .ugx-legal__banner-inner {
    padding: 50px 18px;
  }
  .ugx-legal__content {
    padding: 35px 18px 50px;
  }
  .ugx-legal__content h2 {
    font-size: 19px;
  }
  .ugx-legal__content h3 {
    font-size: 16px;
  }
  .ugx-legal {
    font-size: 15px;
  }
	

}
/* External link popup - extra styles */
.uc-popup-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.uc-popup-btn {
  padding: 12px 24px;
  border-radius: 30px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  transition: opacity 0.2s, transform 0.2s;
  min-width: 160px;
}

.uc-popup-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.uc-popup-continue {
  background: #7C1171; /* change to your primary brand color */
  color: #fff;
}

.uc-popup-cancel {
    background: #fff;
    color: #7C1171;
    border: 2px solid #7C1171;
}

@media (max-width: 480px) {
  .uc-popup-actions {
    flex-direction: column;
  }
  .uc-popup-btn {
    width: 100%;
  }
}
.P100 {
    padding: 18px 100px;
}

/* Make footer menu items display inline */
.footer-menu {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.footer-menu li {
    list-style: none;
    position: relative;
    padding: 0 10px;
}

.footer-menu li:first-child {
    padding-left: 0;
}

.footer-menu li:last-child {
    padding-right: 0;
}

/* Add separator lines between menu items */
.footer-menu li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -9px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background-color: #ffffff;
    opacity: 0.7;
}

/* Style the menu links */
.footer-menu li a {
    color: #ffffff;
    text-decoration: none;
}

.footer-menu li a:hover {
    opacity: 0.8;
}
.ConfirmImgcls {
    max-width: 120%;
    position: relative;
    bottom: 14px;
}
.form-consent .declaracao-label {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: 10px;
  row-gap: 6px;
  flex-direction: row;
	    margin-left: 5px;
}
.form-consent .declaracao-label > .wpcf7-form-control-wrap {
  flex: 0 0 auto;
  order: 1;
}
.form-consent .declaracao-label .declaracao-text {
  flex: 1 1 0;
  min-width: 200px;
  order: 2;
  font-size: 16px;
  line-height: 1.4;
	    margin-left: 10px;
}
.form-consent .declaracao-label .wpcf7-not-valid-tip {
  flex: 1 0 100%;
  order: 3;
	    font-size: 16px;
    right: 4px;
    position: relative;
}
.form-consent .declaracao-label .wpcf7-list-item,
.form-consent .declaracao-label .wpcf7-list-item-label { margin: 0; }
.form-consent .declaracao-label .wpcf7-list-item-label { display: none; }

/* Undo the global checkbox display:block that's breaking the row */
.form-consent .declaracao-label input[type="checkbox"] {
  display: inline-block;
  position: static;
  top: auto;
  margin: 6px 0 0;

}
.form-consent .declaracao-label > .wpcf7-form-control-wrap {
  display: contents;
}
.F16{
font-size: 16px;
}
.MB40 {
    margin-bottom: 40px;
}
.references-paragraph {
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.references-paragraph strong {
  font-weight: 700;
}
.P032{
      padding: 0 32px;
}

/* adding */

.required-one {
   color: #767676;
}

@media (min-width: 769px) {
	h3.MB40 {
    margin-bottom: 51px;
}
	.condition {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
	padding: 0;
  border-bottom: 2px solid var(--color-white);
	position: relative !important;
	margin-bottom: 0 !important;
}
	
.condition:nth-child(1) .condition-image img {
    transform: translateY(10%);
}

.condition:nth-child(2) .condition-image img {
    margin-top: -40px;
    margin-bottom: -40px;
}

.condition:nth-child(4) .condition-image img {
    margin-top: -40px;
    margin-bottom: -40px;
}


.condition:nth-child(3) .condition-image img {
    margin-top: 40px;
    margin-bottom: 40px;
}

.condition:nth-child(5) .condition-image img {
    margin-top: 40px;
    margin-bottom: 40px;
}
}

@media (max-width: 768px) {

   .wpcf7-submit {
      display: block;
      margin-left: auto;
      margin-right: auto;
   }
	
	.footer-logo {
    display: block;
    margin: 0 auto;
}
.contact {
        min-height: 500px;
        background-position: 70% 0%;    
        background-size: auto 469px;      
        padding-top: 469px;
        background-repeat: no-repeat;
    }

}
.wpcf7-form-control-wrap[data-name="horario"] .wpcf7-list-item.first {
    display: none;
}

.hcp_block {
    display: none;
}
.wpcf7-not-valid-tip {
    font-size: 16px !important;

}
@media (min-width: 1024px) {
	.not_found_wrapper.wrapper {
text-align: center;
        width: 900px;
        margin: 0 auto;
        padding: 10px 50px;
}

}
.not_found_wrapper.wrapper {
    padding: 35px 50px;
    text-align: center;
}
.image_wrapper img {
    display: inline;
    width: 200px;
}
.image_wrapper {
    text-align: center;
}
.PCustom {
    padding: 6px 35px 10px 35px;
}
.BorderTop1 {
    border-top: 1px solid #000 !important;
    margin-top: 40px;
    padding-top: 20px !important;
}
<!-- ============================================================
     END — ULTRAGENYX POLÍTICA DE COOKIES
     ============================================================ -->
<style>
ul#menu-main-menu {
    display: none;
}
 
/* --- cookies table (scoped, so it works without touching Additional CSS) --- */
.ugx-legal__table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0;
}
.ugx-legal__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.ugx-legal__table th,
.ugx-legal__table td {
    border: 1px solid #d9d9d9;
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
}
.ugx-legal__table thead th {
    background: #f5f5f5;
    font-weight: 600;
}
@media (max-width: 600px) {
    .ugx-legal__table th,
    .ugx-legal__table td {
        padding: 10px;
    }
}
.Hightlighttext:hover {
    color: #7c1171;
    text-decoration: underline;
}