/* =========================================================
   Uniclin Pró-Saúde — Design System (POC)
   ---------------------------------------------------------
   Paleta monocromática teal (cor única da logo) + coral acento.
   Teal #099999 (principal) · Teal-deep #0a4747 (escuro/petróleo) · Coral #E75639 (acento)
   Tipografia: Raleway (headlines) + Libre Franklin (corpo)
   ========================================================= */

:root {
  /* Cores institucionais — paleta monocromática teal */
  --teal: #099999;        /* cor da logo */
  --teal-dark: #066b6b;   /* hover / texto sobre fundo claro */
  --teal-light: #67d8d7;  /* tints e detalhes claros */
  --teal-fixed: #85f4f4;  /* tints muito claros */
  --teal-soft: #e6f7f7;   /* backgrounds suaves */

  /* "navy" — agora teal escuro/petróleo, mesmo matiz da marca */
  --navy: #0a4747;        /* substitui navy: petróleo profundo */
  --navy-dark: #063030;   /* hover state escuro */
  --navy-light: #156c6c;  /* variante média do petróleo */
  --navy-soft: #e3f1f1;   /* background suave esverdeado */

  --coral: #E75639;
  --coral-dark: #c83e23;
  --coral-soft: #fce5df;

  /* Superfícies */
  --surface: #ffffff;
  --background: #f8fafb;
  --surface-low: #f2f4f5;
  --surface-container: #eceeef;
  --surface-high: #e6e8e9;

  /* Texto */
  --on-surface: #191c1d;
  --on-surface-variant: #3d4949;
  --outline: #6d7979;
  --outline-variant: #bcc9c8;

  /* Espaçamento (escala 8px) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 48px;
  --space-2xl: 80px;

  --max-width: 1280px;
  --margin-desktop: 64px;
  --margin-mobile: 16px;
}

/* Reset + base ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Libre Franklin', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--on-surface);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Raleway', system-ui, sans-serif;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.01em;
}

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

/* Tailwind extension (carregado pelo CDN no <head>) ----------- */
/* Definimos apenas helpers que não estão no Tailwind padrão.    */

.font-headline { font-family: 'Raleway', sans-serif; font-weight: 600; }
.font-body { font-family: 'Libre Franklin', sans-serif; }

.shadow-soft { box-shadow: 0 4px 16px rgba(19, 51, 110, 0.06); }
.shadow-card { box-shadow: 0 2px 8px rgba(19, 51, 110, 0.05); }
.shadow-card:hover { box-shadow: 0 8px 24px rgba(19, 51, 110, 0.10); }

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.icon-fill { font-variation-settings: 'FILL' 1; }

/* Animações --------------------------------------------------- */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
}
.hover-lift:hover { transform: translateY(-6px); }

.fade-in {
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Logo oficial (PNG) ----------------------------------------- */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo__img {
  height: 64px;
  width: auto;
  display: block;
}
@media (min-width: 768px) {
  .logo__img { height: 88px; }
}
.logo--inverted {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* Header / Nav ------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--outline-variant);
}
.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--margin-mobile);
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
@media (min-width: 768px) {
  .site-header__inner {
    padding: 0 var(--margin-desktop);
    height: 112px;
  }
}

.site-nav { display: none; gap: 28px; align-items: center; }
@media (min-width: 900px) { .site-nav { display: flex; } }
.site-nav a {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--on-surface-variant);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.site-nav a:hover { color: var(--teal); }
.site-nav a.is-active { color: var(--teal); border-bottom-color: var(--teal); }

.site-mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 8px;
  border: 1px solid var(--outline-variant);
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
}
@media (min-width: 900px) { .site-mobile-toggle { display: none; } }

.site-mobile-nav {
  display: none;
  padding: 8px 0 16px;
  border-top: 1px solid var(--outline-variant);
  background: var(--surface);
}
.site-mobile-nav.is-open { display: block; }
.site-mobile-nav a {
  display: block;
  padding: 14px var(--margin-mobile);
  font-weight: 600;
  color: var(--on-surface-variant);
  border-bottom: 1px solid var(--surface-low);
}
.site-mobile-nav a.is-active { color: var(--teal); }

/* Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(9,153,153,.25); }
.btn--secondary { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--secondary:hover { background: var(--teal-soft); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-dark); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--background); }
.btn--whatsapp { background: #25D366; color: #fff; }
.btn--whatsapp:hover { background: #1da851; }
.btn--lg { padding: 16px 28px; font-size: 15px; }

/* Cards ------------------------------------------------------- */
.card {
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--outline-variant);
  padding: 24px;
}
.card--soft { background: var(--surface-low); border-color: transparent; }

/* Section ----------------------------------------------------- */
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section--tight { padding: 48px 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--margin-mobile);
}
@media (min-width: 768px) {
  .container { padding: 0 var(--margin-desktop); }
}

.eyebrow {
  display: inline-block;
  background: var(--teal-fixed);
  color: #002020;
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.eyebrow--navy { background: var(--navy-soft); color: var(--navy); }
.eyebrow--coral { background: var(--coral-soft); color: var(--coral); }

/* Footer ------------------------------------------------------ */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 72px 0 0;
}
.site-footer h4 {
  color: var(--teal-light);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 600;
  margin-bottom: 18px;
}
.site-footer a {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  transition: color .2s;
}
.site-footer a:hover { color: #fff; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 24px 0;
  text-align: center;
  margin-top: 48px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.site-footer__grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
}

.social-icons { display: flex; gap: 10px; }
.social-icons a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.social-icons a:hover { background: var(--teal); transform: translateY(-2px); }

/* WhatsApp floating ------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.4);
  z-index: 40;
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float .material-symbols-outlined { font-size: 30px; }

/* Utilities --------------------------------------------------- */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Hero gradient bg ------------------------------------------- */
.hero-gradient {
  background:
    radial-gradient(at 0% 0%, rgba(9,153,153,0.10) 0%, transparent 40%),
    radial-gradient(at 100% 100%, rgba(19,51,110,0.08) 0%, transparent 40%),
    var(--surface-low);
}

/* Tag/chip --------------------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-low);
  color: var(--on-surface-variant);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--outline-variant);
}
.tag--teal { background: var(--teal-soft); color: var(--teal-dark); border-color: transparent; }
.tag--navy { background: var(--navy-soft); color: var(--navy); border-color: transparent; }

/* Form -------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--outline-variant);
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: var(--on-surface);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(9,153,153,0.15);
}
label { font-weight: 500; font-size: 14px; color: var(--on-surface-variant); display:block; margin-bottom: 6px; }

/* POC banner -------------------------------------------------- */
.poc-banner {
  background: var(--coral);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
}
.poc-banner strong { font-weight: 700; }
