/*
Theme Name: AWH Marketing Médico
Author: AWH
Description: Tema clássico da AWH para serviços e conteúdo de marketing médico.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: awh
*/

/* ========================================================================== 
   1. Foundations and design tokens
   ========================================================================== */

:root {
  --font-primary: "Inter", Arial, sans-serif;
  --heading-weight: 500;
  --body-weight: 400;
  --bs-body-font-family: var(--font-primary);
  --bs-font-sans-serif: var(--font-primary);
  --green: #00f58a;
  --green-dark: #00ba6a;
  --black: #030303;
  --black-soft: #121414;
  --ink: #101922;
  --muted: #73808d;
  --panel: #0b111c;
  --panel-2: #172231;
  --line: #e7ebef;
  --white: #ffffff;
  --maxw: 1240px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: var(--body-weight);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button,
input,
textarea,
select {
  font-family: inherit;
}

h1,
h2 {
  font-weight: var(--heading-weight);
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

/* ==========================================================================
   2. Shared layout and components
   ========================================================================== */

.container {
  --bs-gutter-x: 56px;
  max-width: calc(var(--maxw) + var(--bs-gutter-x));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 76px;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #15181c;
  line-height: 1;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: 76px;
  height: auto;
}

.site-footer .brand-logo {
  width: 84px;
}

@media (max-width: 575px) {
  .brand-logo {
    width: 72px;
  }

  .site-footer .brand-logo {
    width: 80px;
  }
}

.brand i {
  width: 24px;
  height: 24px;
  background: var(--green);
  transform: rotate(45deg);
  border-radius: 45% 45% 6px 45%;
  margin-left: 4px;
  position: relative;
}

.brand i::before,
.brand i::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--green);
  border-radius: 50%;
}

.brand i::before {
  left: -12px;
  top: 0;
}

.brand i::after {
  top: -12px;
  left: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 26px;
}

.site-nav a {
  font-size: 15px;
  font-weight: 700;
  color: #222a32;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 24px;
  border-radius: 5px;
  background: var(--green);
  color: #03130b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  border: 0;
  cursor: pointer;
  box-shadow: none;
  transition: transform .2s ease, background .2s ease;
}

.btn:hover {
  background: #13ff9a;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 9px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--ink);
  border-radius: 999px;
}

.icon-bubble,
.line-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(0, 245, 138, .16);
  color: var(--green);
  display: grid;
  place-items: center;
}

.icon-bubble svg,
.line-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-section {
  padding: 90px 0;
  background: #151716;
  color: var(--white);
}

.portrait-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .22);
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 18%;
}

.site-footer {
  padding: 46px 0;
  background: var(--white);
}

.site-footer .footer-brand {
  font-size: 30px;
}

.brand-awh {
  letter-spacing: -0.06em;
}

.brand-awh i {
  width: auto;
  height: auto;
  margin-left: 1px;
  background: transparent;
  border-radius: 0;
  transform: none;
  color: var(--green);
  font-style: normal;
  line-height: 1;
}

.brand-awh i::before,
.brand-awh i::after {
  display: none;
}

.btn::after {
  content: ">";
  margin-left: 10px;
  font-size: 13px;
  line-height: 1;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-dropdown > a::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: -14px;
  min-width: 250px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 22px 45px rgba(9, 17, 28, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .18s ease;
}

@media (min-width: 861px) {
  .nav-dropdown-panel::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 19px;
  }
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 5px;
}

.nav-dropdown-panel a:hover,
.nav-dropdown-panel a:focus-visible {
  background: transparent;
  color: var(--green-dark);
}

.hero-badges span {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--green);
  border: 1px solid rgba(0, 245, 138, .45);
  background: rgba(0, 245, 138, .08);
  font-size: 12px;
  font-weight: 800;
}

.about-sub {
  color: var(--green);
  font-weight: 800;
}

.footer-columns p {
  margin: 16px 0 0;
  color: #0f171d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.footer-columns h2 {
  margin: 0 0 14px;
  color: #111820;
  font-size: 14px;
}

.footer-columns div > a:not(.brand) {
	display: block;
  width: fit-content;
  margin: 8px 0;
  color: #77818a;
  font-size: 13px;
	text-align: left;
  transition: color .18s ease;
}

.footer-columns div > a:not(.brand):hover,
.footer-columns div > a:not(.brand):focus-visible {
  color: var(--green-dark);
}

.footer-columns .footer-cookie-settings {
  display: block;
  width: fit-content;
  margin: 8px 0;
  padding: 0;
  color: #77818a;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  text-align: left;
  transition: color .18s ease;
}

.footer-columns .footer-cookie-settings:hover,
.footer-columns .footer-cookie-settings:focus-visible {
  color: var(--green-dark);
}

.footer-columns div > a.instagram-link:not(.brand) {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #111820;
  font-weight: 700;
  transition: color .2s ease;
}

.instagram-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8fff4;
  color: #007d4d;
  border: 1px solid rgba(0, 125, 77, .24);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.instagram-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-columns .instagram-link:hover,
.footer-columns .instagram-link:focus-visible {
  color: var(--green-dark);
}

.footer-columns .instagram-link:hover .instagram-icon,
.footer-columns .instagram-link:focus-visible .instagram-icon {
  background: var(--green);
  border-color: var(--green);
  color: #00140a;
}

.footer-bottom {
  gap: 20px;
  padding-top: 24px;
  color: #8b949d;
  font-size: 12px;
}

.footer-credit {
  margin-left: 6px;
  opacity: .78;
}

.footer-credit a {
  text-decoration: underline;
  text-decoration-color: rgba(139, 148, 157, .45);
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.footer-credit a:hover {
  color: var(--green-dark);
  text-decoration-color: currentColor;
}

.btn-awh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 24px;
  border: 0;
  border-radius: 5px;
  background: var(--green);
  color: #03130b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease;
}

.btn-awh:hover {
  background: #13ff9a;
  color: #03130b;
  transform: translateY(-2px);
}

.btn-awh::after {
  content: ">";
  margin-left: 10px;
  font-size: 13px;
}

/* ==========================================================================
   3. Home page
   ========================================================================== */

.hero {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .96) 72%, #000 100%),
    radial-gradient(circle at 48% 0%, rgba(0, 245, 138, .13), transparent 34%),
    #000;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  padding: 76px 0;
  --bs-gutter-x: 78px;
}

.hero .hero-badges {
  width: fit-content;
  justify-content: flex-start;
  align-items: center;
  margin-right: 0;
  margin-left: 0;
}

.hero .hero-badges span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  font-size: 11px;
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  max-width: 520px;
  color: var(--white);
  font-size: clamp(34px, 4.2vw, 51px);
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}

.price-pill {
  display: inline-flex;
  margin: 26px 0 18px;
  padding: 12px 18px;
  border-radius: 9px;
  background: #1d2023;
  color: #d7dde2;
  font-size: 13px;
  font-weight: 600;
}

.video-card {
  position: relative;
  min-height: 246px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .7)),
    #f4f4f4;
  border: 9px solid #292b2f;
  box-shadow: 0 24px 55px rgba(0, 0, 0, .45);
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 80% 80%, rgba(0, 245, 138, .26), transparent 38%);
  z-index: -1;
}

.video-card p {
  position: absolute;
  right: 36px;
  bottom: 24px;
  margin: 0;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
  color: #5b6269;
  text-align: center;
}

.dark-section {
  padding: 90px 0;
  background: #000;
  color: var(--white);
}

.split-grid {
  --bs-gutter-x: 56px;
}

.section-copy h2,
.differentials h2,
.content-head h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-copy p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.dark-copy p {
  color: rgba(255, 255, 255, .82);
}

.about-section .section-copy .btn {
  margin-top: 20px;
}

.differentials h2 {
  text-align: center;
  margin-bottom: 48px;
}

.content-section {
  padding: 86px 0;
  background: #0f1112;
  color: var(--white);
}

.content-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.article-grid > .col {
  display: flex;
}

.article-grid article {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 455px;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .24);
}

.article-grid h3 {
  margin: 0;
  min-height: 48px;
  overflow: hidden;
  color: #101922;
  font-size: 19px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-grid p {
  margin: 10px 0 0;
  min-height: 44px;
  overflow: hidden;
  color: #64707b;
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-subtitle {
  margin: 18px 0 0;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading h2,
.section-heading p {
  margin: 0;
}

.section-heading h2 {
  color: #fff;
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1.1;
}

.section-heading p {
  margin-top: 14px;
  color: #6f7a83;
  font-size: 16px;
  font-weight: 600;
}

.services-section .section-heading h2 {
  color: var(--ink);
}

.services-section .section-heading p {
  color: #68737c;
}

.services-section {
  padding-top: 108px;
  background:
    linear-gradient(180deg, #eef4f1 0%, #f7f9f8 36%, #ffffff 100%);
  position: relative;
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 180px;
  background:
    radial-gradient(640px 180px at 50% 0%, rgba(0, 245, 138, .16), transparent 70%),
    linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.services-section .container {
  position: relative;
  z-index: 1;
}

.service-card {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  border: 0;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  justify-content: flex-end;
  box-shadow: 0 24px 55px rgba(0, 0, 0, .28);
  transition: transform .28s ease, box-shadow .28s ease;
}

.service-card img {
  width: 100%;
  height: 245px;
  object-fit: cover;
}

.service-card div {
  position: relative;
  display: block;
  flex: none;
  width: 100%;
  min-height: 0;
  margin-top: auto;
  padding: 30px 26px;
}

.service-card h3 {
  margin: 0;
  color: #fff;
  font-size: 21px;
  line-height: 1.2;
}

.service-card p {
  max-height: 160px;
  margin: 13px 0 20px;
  overflow: hidden;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  opacity: 1;
}

.service-card a,
.article-grid a {
  display: inline-flex;
  margin-top: auto;
  color: #007d4d;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card a::after,
.article-grid a::after {
  content: ">";
  margin-left: 8px;
}

.differentials {
  padding: 96px 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .94)),
    radial-gradient(circle at 50% 0, rgba(0, 245, 138, .18), transparent 42%),
    #000;
}

.strategic-inner {
  max-width: 760px;
}

.strategic-inner h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.strategic-inner p {
  margin: 18px auto 28px;
  max-width: 680px;
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
}

.content-head p {
  max-width: 680px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
}

.blog-head-row {
  gap: 28px;
  margin-bottom: 34px;
}

.blog-head-row .content-head {
  margin-bottom: 0;
}

.blog-top-button {
  flex: 0 0 auto;
  margin-bottom: 6px;
}

.article-grid time {
  display: block;
  margin-top: 24px;
  margin-bottom: 12px;
  color: #8a939b;
  font-size: 12px;
  font-weight: 800;
}

.services-grid {
  align-items: stretch;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 70px rgba(0, 0, 0, .38);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .48) 44%, rgba(0, 0, 0, .94) 100%),
    linear-gradient(135deg, rgba(0, 245, 138, .26), rgba(0, 245, 138, 0) 54%);
}

.service-card > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform .55s ease;
}

.service-card:hover > img {
  transform: scale(1.11);
}

.article-thumb {
  margin: 0;
  height: 235px;
  flex: 0 0 235px;
  overflow: hidden;
  background: #06120e;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.article-grid article:hover .article-thumb img {
  transform: scale(1.07);
}

.article-grid article > time,
.article-grid article > h3,
.article-grid article > p,
.article-grid article > a {
  margin-left: 24px;
  margin-right: 24px;
}

.video-card.design-video-card {
  width: 100%;
  max-width: 540px;
  min-height: 0;
  aspect-ratio: 4 / 3;
  padding: 2px;
  position: relative;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(150deg, var(--green) 0%, rgba(0, 245, 138, .38) 34%, rgba(255, 255, 255, .22) 70%);
  box-shadow: none;
  display: block;
  overflow: visible;
}

.video-card.design-video-card::before,
.video-card.design-video-card::after {
  display: none;
}

.design-video-card .video-inner {
  position: absolute;
  inset: 2px;
  width: auto;
  height: auto;
  border-radius: 20px;
  background: #101a17;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.design-video-card .video-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 280px at 20% 6%, rgba(0, 245, 138, .22), transparent 58%),
    linear-gradient(160deg, #10241c 0%, #15211d 56%, #0c1512 100%);
}

.design-video-card .video-pulse {
  position: absolute;
  inset: 0 0 auto;
  height: 44%;
  opacity: .7;
  z-index: 1;
}

.design-video-card .institutional-video-shell {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
  pointer-events: none;
  transition: opacity .25s ease;
}

.design-video-card.is-playing .institutional-video-shell {
  z-index: 4;
  pointer-events: auto;
}

.design-video-card :where(.institutional-video-player, .institutional-video-preview) {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.design-video-card .institutional-video-player {
  object-fit: contain;
}

.design-video-card .institutional-video-preview {
  object-fit: cover;
}

.design-video-card iframe.institutional-video-player {
  position: absolute;
  inset: 0;
}

.design-video-card .video-tag {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35);
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.design-video-card .play-btn {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(3px);
  transition: transform .22s ease, background .22s ease;
}

.design-video-card .play-btn:hover {
  transform: scale(1.06);
  background: rgba(0, 245, 138, .72);
}

.design-video-card .play-btn:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.design-video-card .play-btn:disabled:hover {
  transform: none;
  background: rgba(255, 255, 255, .08);
}

.design-video-card .play-btn svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
  margin-left: 3px;
}

.design-video-card .video-caption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 700;
}

.design-video-card .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}

.design-video-card :where(.video-pulse, .video-tag, .play-btn, .video-caption) {
  transition: opacity .2s ease, visibility .2s ease, transform .22s ease, background .22s ease;
}

.design-video-card.is-playing :where(.video-pulse, .video-tag, .play-btn, .video-caption) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.design-video-card .institutional-video-fallback {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, .62);
  font-weight: 700;
}

.difference-section {
  padding: 86px 0 96px;
  background: #151716;
  color: #fff;
}

.difference-section h2 {
  margin: 0 0 48px;
  text-align: center;
  color: #fff;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
}

.difference-grid article {
  padding: 6px 12px 18px;
}

.difference-grid h3 {
  margin: 18px 0 8px;
  color: #fff;
  font-size: 18px;
  line-height: 1.15;
}

.difference-grid p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 600;
}

.article-grid a {
  margin-bottom: 26px;
}
