/* =========================================================
   IMOOC — Apple Medical Premium Website
   Arquivo: styles.css
   ========================================================= */


/* RESET / BASE */
:root {
  --color-white: #ffffff;
  --color-soft-white: #f7f9fb;
  --color-light: #eef3f7;
  --color-border: rgba(12, 27, 43, 0.10);

  --color-black: #05070a;
  --color-graphite: #101820;
  --color-text: #17202a;
  --color-muted: #667085;

  --color-blue: #0b5cff;
  --color-blue-dark: #073b8e;
  --color-cyan: #4cc9f0;

  --shadow-soft: 0 24px 80px rgba(10, 31, 68, 0.08);
  --shadow-card: 0 18px 45px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 28px 70px rgba(15, 23, 42, 0.14);

  --radius-small: 14px;
  --radius-medium: 22px;
  --radius-large: 34px;
  --radius-full: 999px;

  --container: 1180px;
  --transition: 0.35s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Arial, sans-serif;
  background: var(--color-white);
  color: var(--color-text);
  line-height: 1.5;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}


/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo-area {
  display: flex;
  align-items: center;
  min-width: 120px;
}

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-full);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(16, 24, 40, 0.74);
  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--color-black);
}

.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  border-radius: var(--radius-full);
  background: var(--color-black);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 14px 34px rgba(5, 7, 10, 0.18);
  transition: var(--transition);
}

.header-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(5, 7, 10, 0.24);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(15, 23, 42, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--color-black);
  border-radius: 20px;
  transition: var(--transition);
}

.menu-toggle.active span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.active span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}


/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 20px;
  right: 20px;
  z-index: 999;
  padding: 22px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: none;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  padding: 14px 12px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 16px;
  color: var(--color-graphite);
}

.mobile-menu a:hover {
  background: rgba(11, 92, 255, 0.08);
}

.mobile-cta {
  background: var(--color-black);
  color: var(--color-white) !important;
  text-align: center;
  margin-top: 8px;
}


/* BUTTONS */
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
}

.primary-button {
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-dark));
  color: var(--color-white);
  box-shadow: 0 18px 40px rgba(11, 92, 255, 0.24);
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 54px rgba(11, 92, 255, 0.30);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-graphite);
  border: 1px solid rgba(15, 23, 42, 0.10);
}

.secondary-button:hover {
  transform: translateY(-3px);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}


/* HERO */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 170px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(76, 201, 240, 0.22), transparent 34%),
    radial-gradient(circle at 18% 20%, rgba(11, 92, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 13px;
  border-radius: var(--radius-full);
  background: rgba(11, 92, 255, 0.08);
  color: var(--color-blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  color: var(--color-black);
  max-width: 720px;
}

.hero-text h1 span {
  display: block;
  color: rgba(5, 7, 10, 0.58);
}

.hero-text p {
  max-width: 610px;
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.7;
  color: var(--color-muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-badges span {
  padding: 9px 13px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: rgba(16, 24, 40, 0.72);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  min-height: 620px;
  border-radius: 46px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(238, 243, 247, 0.68)),
    radial-gradient(circle at top right, rgba(76, 201, 240, 0.24), transparent 42%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  top: -90px;
  right: -70px;
  border-radius: 50%;
  background: rgba(11, 92, 255, 0.12);
  filter: blur(18px);
}

.hero-card img {
  width: 100%;
  height: 100%;
  min-height: 584px;
  object-fit: cover;
  border-radius: 34px;
  filter: saturate(1.02) contrast(1.02);
}

.floating-info {
  position: absolute;
  left: 34px;
  bottom: 34px;
  right: 34px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

.floating-info strong {
  display: block;
  font-size: 18px;
  color: var(--color-black);
  margin-bottom: 4px;
}

.floating-info small {
  color: var(--color-muted);
  font-weight: 600;
}


/* SECTION GENERAL */
section {
  position: relative;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.doctor-content h2,
.institute-box h2,
.statement-section h2,
.symptoms-content h2,
.final-cta-box h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--color-black);
}

.section-heading p {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-muted);
}


/* AUTHORITY */
.authority-section {
  padding: 110px 0;
  background: var(--color-white);
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.authority-card {
  position: relative;
  min-height: 290px;
  padding: 28px;
  border-radius: var(--radius-large);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  border: 1px solid var(--color-border);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: var(--transition);
}

.authority-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.authority-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -70px;
  bottom: -70px;
  border-radius: 50%;
  background: rgba(11, 92, 255, 0.08);
  transition: var(--transition);
}

.authority-card:hover::after {
  transform: scale(1.25);
}

.card-number {
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  color: var(--color-blue);
  margin-bottom: 52px;
}

.authority-card h3 {
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  color: var(--color-black);
}

.authority-card p {
  color: var(--color-muted);
  font-size: 15.5px;
  line-height: 1.65;
}


/* DOCTOR */
.doctor-section {
  padding: 120px 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(11, 92, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.doctor-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: 70px;
}

.doctor-image {
  position: relative;
  border-radius: 42px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
}

.doctor-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 32px;
}

.doctor-content p {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--color-muted);
}

.doctor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 32px;
}

.doctor-tags span {
  padding: 10px 13px;
  border-radius: var(--radius-full);
  background: rgba(11, 92, 255, 0.08);
  color: var(--color-blue-dark);
  font-size: 13px;
  font-weight: 800;
}


/* INSTITUTE */
.institute-section {
  padding: 100px 0;
  background: var(--color-white);
}

.institute-box {
  position: relative;
  padding: clamp(38px, 7vw, 82px);
  border-radius: 44px;
  background:
    radial-gradient(circle at 80% 10%, rgba(76, 201, 240, 0.16), transparent 32%),
    linear-gradient(135deg, #101820 0%, #05070a 100%);
  color: var(--color-white);
  overflow: hidden;
  box-shadow: 0 35px 90px rgba(5, 7, 10, 0.24);
}

.institute-box .eyebrow {
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.82);
}

.institute-box h2 {
  color: var(--color-white);
  max-width: 920px;
}

.institute-box p {
  max-width: 840px;
  margin-top: 26px;
  font-size: 19px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.68);
}


/* STATEMENT */
.statement-section {
  padding: 130px 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  text-align: center;
}

.statement-section h2 {
  max-width: 940px;
  margin: 0 auto;
  font-size: clamp(42px, 7vw, 84px);
}

.statement-section h2 span {
  display: block;
  color: rgba(5, 7, 10, 0.46);
}


/* SPECIALTIES */
.specialties-section {
  padding: 110px 0;
  background: var(--color-white);
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.specialty-card {
  padding: 34px;
  min-height: 330px;
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 90% 10%, rgba(11, 92, 255, 0.10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  border: 1px solid var(--color-border);
  box-shadow: 0 14px 44px rgba(15, 23, 42, 0.05);
  transition: var(--transition);
}

.specialty-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.specialty-card h3 {
  font-size: 30px;
  letter-spacing: -0.035em;
  color: var(--color-black);
  margin-bottom: 18px;
}

.specialty-card p {
  color: var(--color-muted);
  font-size: 16.5px;
  line-height: 1.75;
}


/* TREATMENTS */
.treatments-section {
  padding: 110px 0;
  background: #f7f9fc;
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.treatment-card {
  padding: 28px;
  min-height: 230px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
}

.treatment-card:hover {
  transform: translateY(-7px);
  background: var(--color-white);
  box-shadow: var(--shadow-hover);
}

.treatment-card h3 {
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--color-black);
  margin-bottom: 14px;
}

.treatment-card p {
  color: var(--color-muted);
  font-size: 15.8px;
  line-height: 1.7;
}


/* SYMPTOMS */
.symptoms-section {
  padding: 120px 0;
  background: var(--color-white);
}

.symptoms-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 70px;
}

.symptoms-content p {
  margin: 22px 0 34px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--color-muted);
}

.symptoms-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.symptoms-list span {
  display: flex;
  align-items: center;
  min-height: 74px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  color: var(--color-graphite);
  font-weight: 700;
}

.symptoms-list span::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  margin-right: 12px;
  background: var(--color-blue);
  box-shadow: 0 0 0 5px rgba(11, 92, 255, 0.12);
}


/* PROCESS */
.process-section {
  padding: 120px 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(76, 201, 240, 0.12), transparent 28%),
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  align-items: flex-start;
  padding: 30px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
}

.process-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-hover);
}

.process-item > span {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 18px;
  font-weight: 900;
}

.process-item h3 {
  font-size: 25px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  color: var(--color-black);
}

.process-item p {
  color: var(--color-muted);
  font-size: 16.5px;
  line-height: 1.7;
  max-width: 860px;
}


/* LOCATIONS */
.locations-section {
  padding: 110px 0;
  background: var(--color-white);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.location-card {
  min-height: 260px;
  padding: 32px;
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at top right, rgba(11, 92, 255, 0.10), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  border: 1px solid var(--color-border);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
}

.location-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.location-card h3 {
  font-size: 30px;
  letter-spacing: -0.035em;
  color: var(--color-black);
  margin-bottom: 22px;
}

.location-card p {
  padding: 11px 0;
  color: var(--color-muted);
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.location-card p:last-child {
  border-bottom: none;
}


/* FINAL CTA */
.final-cta-section {
  padding: 120px 0;
  background: #f7f9fc;
}

.final-cta-box {
  position: relative;
  padding: clamp(40px, 8vw, 90px);
  border-radius: 48px;
  background:
    radial-gradient(circle at 20% 20%, rgba(76, 201, 240, 0.18), transparent 34%),
    radial-gradient(circle at 90% 80%, rgba(11, 92, 255, 0.20), transparent 36%),
    linear-gradient(135deg, #05070a 0%, #101820 100%);
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
  box-shadow: 0 36px 100px rgba(5, 7, 10, 0.25);
}

.final-cta-box .eyebrow {
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.80);
  margin-left: auto;
  margin-right: auto;
}

.final-cta-box h2 {
  color: var(--color-white);
  max-width: 780px;
  margin: 0 auto;
}

.final-cta-box p {
  max-width: 690px;
  margin: 24px auto 34px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 19px;
  line-height: 1.75;
}

.final-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.final-cta-box .secondary-button {
  background: rgba(255, 255, 255, 0.10);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.18);
}

.final-cta-box small {
  display: block;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.44);
}


/* FOOTER */
.site-footer {
  padding: 70px 0;
  background: var(--color-white);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 40px;
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}

.site-footer p,
.site-footer a {
  display: block;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.8;
}

.site-footer strong {
  display: block;
  color: var(--color-black);
  margin-bottom: 14px;
  font-size: 15px;
}

.site-footer a:hover {
  color: var(--color-blue);
}


/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s ease,
    transform 0.85s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.22s;
}

.delay-3 {
  transition-delay: 0.32s;
}


/* RESPONSIVE */
@media (max-width: 1080px) {
  .main-nav {
    gap: 18px;
  }

  .hero-grid,
  .doctor-grid,
  .symptoms-grid {
    gap: 48px;
  }

  .authority-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .main-nav,
  .header-button {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero-section {
    min-height: auto;
    padding: 140px 0 80px;
  }

  .hero-grid,
  .doctor-grid,
  .symptoms-grid {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    max-width: 100%;
  }

  .hero-card {
    min-height: auto;
  }

  .hero-card img {
    min-height: 430px;
  }

  .doctor-image {
    max-width: 560px;
    margin: 0 auto;
  }

  .specialties-grid,
  .locations-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .logo-img {
    height: 36px;
  }

  .hero-section {
    padding: 124px 0 68px;
  }

  .hero-text h1 {
    font-size: clamp(40px, 14vw, 58px);
  }

  .hero-text p,
  .section-heading p,
  .doctor-content p,
  .institute-box p,
  .symptoms-content p,
  .final-cta-box p {
    font-size: 16.5px;
  }

  .hero-actions,
  .final-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-card {
    border-radius: 34px;
    padding: 12px;
  }

  .hero-card img {
    min-height: 360px;
    border-radius: 24px;
  }

  .floating-info {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }

  .authority-section,
  .doctor-section,
  .institute-section,
  .statement-section,
  .specialties-section,
  .treatments-section,
  .symptoms-section,
  .process-section,
  .locations-section,
  .final-cta-section {
    padding: 76px 0;
  }

  .authority-grid,
  .treatments-grid,
  .symptoms-list {
    grid-template-columns: 1fr;
  }

  .authority-card,
  .specialty-card,
  .treatment-card,
  .location-card {
    min-height: auto;
  }

  .process-item {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .process-item:hover {
    transform: translateY(-4px);
  }

  .institute-box,
  .final-cta-box {
    border-radius: 34px;
  }

  .statement-section h2 {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .hero-badges span,
  .doctor-tags span {
    font-size: 12px;
  }

  .section-heading h2,
  .doctor-content h2,
  .institute-box h2,
  .symptoms-content h2,
  .final-cta-box h2 {
    font-size: 34px;
  }
}

/* 404 PAGE */
.error-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 20%, rgba(11, 92, 255, 0.14), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(76, 201, 240, 0.18), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.error-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 90px 0;
}

.error-box {
  max-width: 760px;
  text-align: center;
}

.error-logo {
  display: inline-flex;
  justify-content: center;
  margin-bottom: 42px;
}

.error-logo img {
  height: 54px;
  width: auto;
}

.error-box .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.error-box h1 {
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  color: var(--color-black);
}

.error-box p {
  max-width: 620px;
  margin: 24px auto 34px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--color-muted);
}

.error-box .hero-actions {
  justify-content: center;
}

.error-box small {
  display: block;
  margin-top: 24px;
  color: var(--color-muted);
}

/* LEGAL PAGE */
.legal-page {
  background: #ffffff;
}

.legal-hero {
  padding: 170px 0 90px;
  background:
    radial-gradient(circle at 20% 20%, rgba(11, 92, 255, 0.12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.legal-hero h1 {
  max-width: 900px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  color: var(--color-black);
}

.legal-hero p {
  max-width: 720px;
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.75;
  color: var(--color-muted);
}

.legal-content {
  padding: 80px 0 110px;
}

.legal-box {
  max-width: 880px;
}

.legal-box h2 {
  margin-top: 46px;
  margin-bottom: 16px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: var(--color-black);
}

.legal-box h2:first-child {
  margin-top: 0;
}

.legal-box p {
  margin-bottom: 18px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--color-muted);
}

.legal-actions {
  margin-top: 44px;
}

@media (max-width: 680px) {
  .legal-hero {
    padding: 130px 0 64px;
  }

  .legal-content {
    padding: 60px 0 80px;
  }

  .legal-box h2 {
    font-size: 24px;
  }

  .legal-box p {
    font-size: 16px;
  }
}
/* =========================================================
   IMOOC — Atualização de identidade azul no topo
   ========================================================= */

:root {
  --imooc-blue: #0057b8;
  --imooc-blue-dark: #003f88;
  --imooc-blue-deep: #062b5f;
  --imooc-blue-soft: #eaf3ff;
  --imooc-cyan: #53c7f0;
}


/* HEADER AZUL PREMIUM */
.imooc-blue-header {
  padding: 12px 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(83, 199, 240, 0.28), transparent 34%),
    linear-gradient(135deg, var(--imooc-blue-deep) 0%, var(--imooc-blue) 48%, var(--imooc-blue-dark) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 45px rgba(0, 63, 136, 0.22);
}

.site-header.scrolled.imooc-blue-header {
  padding: 9px 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(83, 199, 240, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(6, 43, 95, 0.94) 0%, rgba(0, 87, 184, 0.94) 52%, rgba(0, 63, 136, 0.94) 100%);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}


/* LOGO NO TOPO */
.imooc-blue-header .logo-img {
  height: 44px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.14));
}


/* MENU DESKTOP NO AZUL */
.imooc-blue-header .main-nav {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.imooc-blue-header .main-nav a {
  color: rgba(255, 255, 255, 0.84);
}

.imooc-blue-header .main-nav a:hover {
  color: #ffffff;
}


/* BOTÃO DO TOPO */
.imooc-blue-header .header-button {
  background: #ffffff;
  color: var(--imooc-blue-deep);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.imooc-blue-header .header-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
}


/* MENU MOBILE COM TOPO AZUL */
.imooc-blue-header .menu-toggle {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.22);
}

.imooc-blue-header .menu-toggle span {
  background: #ffffff;
}

.mobile-menu {
  background:
    radial-gradient(circle at 20% 0%, rgba(83, 199, 240, 0.20), transparent 34%),
    linear-gradient(135deg, rgba(6, 43, 95, 0.96), rgba(0, 87, 184, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.mobile-menu a {
  color: rgba(255, 255, 255, 0.88);
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
}

.mobile-cta {
  background: #ffffff !important;
  color: var(--imooc-blue-deep) !important;
}


/* HERO COM MAIS PRESENÇA AZUL */
.hero-section {
  background:
    radial-gradient(circle at 78% 18%, rgba(83, 199, 240, 0.24), transparent 34%),
    radial-gradient(circle at 18% 20%, rgba(0, 87, 184, 0.16), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
}

.eyebrow {
  background: rgba(0, 87, 184, 0.09);
  color: var(--imooc-blue-dark);
}

.primary-button {
  background: linear-gradient(135deg, var(--imooc-blue), var(--imooc-blue-dark));
  box-shadow: 0 18px 40px rgba(0, 87, 184, 0.24);
}

.primary-button:hover {
  box-shadow: 0 24px 54px rgba(0, 87, 184, 0.32);
}

.hero-badges span {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(0, 87, 184, 0.10);
}

.symptoms-list span::before {
  background: var(--imooc-blue);
  box-shadow: 0 0 0 5px rgba(0, 87, 184, 0.12);
}

.doctor-tags span {
  background: rgba(0, 87, 184, 0.08);
  color: var(--imooc-blue-dark);
}

.card-number {
  color: var(--imooc-blue);
}

.site-footer a:hover {
  color: var(--imooc-blue);
}

/* =========================================================
   IMOOC — Laranja mais presente
   ========================================================= */

:root {
  --imooc-orange: #f47b20;
  --imooc-orange-dark: #d8630f;
  --imooc-orange-soft: #fff1e6;
}


/* TOPO AZUL COM DETALHE LARANJA */
.imooc-blue-header {
  position: fixed;
}

.imooc-blue-header::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 0;
  width: 180px;
  height: 180px;
  background: rgba(244, 123, 32, 0.18);
  filter: blur(34px);
  border-radius: 50%;
  pointer-events: none;
}


/* MENU */
.imooc-blue-header .main-nav a:hover {
  color: #ffffff;
  text-shadow: 0 0 16px rgba(244, 123, 32, 0.34);
}


/* BOTÃO DO TOPO */
.imooc-blue-header .header-button {
  background: linear-gradient(135deg, var(--imooc-orange), var(--imooc-orange-dark));
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(244, 123, 32, 0.28);
}

.imooc-blue-header .header-button:hover {
  box-shadow: 0 22px 46px rgba(244, 123, 32, 0.36);
}


/* EYEBROW */
.eyebrow {
  background: rgba(244, 123, 32, 0.12) !important;
  color: var(--imooc-orange-dark) !important;
}


/* BOTÃO PRINCIPAL */
.primary-button {
  background: linear-gradient(135deg, var(--imooc-orange), var(--imooc-orange-dark)) !important;
  color: #ffffff !important;
  box-shadow: 0 18px 40px rgba(244, 123, 32, 0.24) !important;
}

.primary-button:hover {
  box-shadow: 0 24px 54px rgba(244, 123, 32, 0.34) !important;
}


/* BOTÃO SECUNDÁRIO HOVER */
.secondary-button:hover {
  border-color: rgba(244, 123, 32, 0.24);
}


/* NÚMEROS DOS CARDS */
.card-number {
  color: var(--imooc-orange) !important;
}


/* DETALHE DECORATIVO DOS CARDS */
.authority-card::after {
  background: rgba(244, 123, 32, 0.10);
}

.specialty-card {
  background:
    radial-gradient(circle at 90% 10%, rgba(244, 123, 32, 0.10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.location-card {
  background:
    radial-gradient(circle at top right, rgba(244, 123, 32, 0.10), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
}


/* BADGES DO HERO */
.hero-badges span {
  border-color: rgba(244, 123, 32, 0.16);
}


/* TAGS DO MÉDICO */
.doctor-tags span {
  background: rgba(244, 123, 32, 0.10);
  color: var(--imooc-orange-dark);
}


/* BULLETS DOS SINTOMAS */
.symptoms-list span::before {
  background: var(--imooc-orange);
  box-shadow: 0 0 0 5px rgba(244, 123, 32, 0.14);
}


/* CTA FINAL */
.final-cta-box {
  background:
    radial-gradient(circle at 20% 20%, rgba(244, 123, 32, 0.18), transparent 34%),
    radial-gradient(circle at 90% 80%, rgba(0, 87, 184, 0.20), transparent 36%),
    linear-gradient(135deg, #062b5f 0%, #003f88 48%, #f47b20 130%);
}


/* FOOTER HOVER */
.site-footer a:hover {
  color: var(--imooc-orange);
}