/*
Theme Name: 2GTD Medical Consulting
Theme URI: https://www.2gtd.com.br
Author: 2GTD Medical Consulting
Author URI: https://www.2gtd.com.br
Description: Tema institucional da 2GTD com foco em projetos OEM, portfólio para cirurgia cardíaca e CEC, P&D, ANVISA e estruturação de mercado.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: 2gtd-medical-consulting
*/

:root {
  --gtd-navy: #071f36;
  --gtd-navy-2: #0a2b4a;
  --gtd-blue: #1d5a8a;
  --gtd-gold: #d7ae54;
  --gtd-cream: #f5f1e7;
  --gtd-ice: #eef3f6;
  --gtd-white: #ffffff;
  --gtd-ink: #0b2946;
  --gtd-muted: #53697d;
  --gtd-line: rgba(11, 41, 70, 0.15);
  --gtd-radius: 20px;
  --gtd-shadow: 0 24px 70px rgba(3, 22, 39, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gtd-ink);
  background: var(--gtd-white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

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

.wp-site-blocks {
  padding: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 1000;
  padding: 12px 16px;
  color: var(--gtd-white);
  background: var(--gtd-navy);
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 31, 54, 0.96);
  border-bottom: 1px solid rgba(215, 174, 84, 0.35);
  backdrop-filter: blur(14px);
}

.header-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-link {
  display: inline-flex;
  width: 270px;
  height: 68px;
  flex: 0 0 auto;
  background: url("assets/logo-2gtd-navy.png") center / contain no-repeat;
  border-radius: 6px;
}

.brand-link span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.primary-nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--gtd-gold);
}

.primary-nav .nav-contact {
  padding: 10px 16px;
  color: var(--gtd-navy);
  background: var(--gtd-gold);
  border-radius: 999px;
}

.section {
  padding: clamp(76px, 9vw, 132px) 0;
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gtd-gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section-title {
  max-width: 920px;
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.section-intro {
  max-width: 820px;
  margin: 28px 0 0;
  color: var(--gtd-muted);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5;
}

.hero {
  min-height: min(820px, calc(100svh - 84px));
  display: flex;
  align-items: flex-end;
  color: var(--gtd-white);
  background:
    linear-gradient(90deg, rgba(4, 25, 45, 0.98) 0%, rgba(4, 25, 45, 0.83) 38%, rgba(4, 25, 45, 0.08) 73%),
    url("assets/hero-cec-portfolio.jpg") center / cover no-repeat;
}

.hero .section-inner {
  padding-top: 120px;
  padding-bottom: 100px;
}

.hero-copy {
  max-width: 720px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(46px, 6.4vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero .lead {
  max-width: 690px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.83);
  font-size: clamp(19px, 2vw, 25px);
}

.cta-row {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--gtd-white);
  font-weight: 700;
  text-decoration: none;
}

.cta-button.primary {
  color: var(--gtd-navy);
  background: var(--gtd-gold);
  border-color: var(--gtd-gold);
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.core-offer {
  background: var(--gtd-cream);
}

.core-layout,
.oem-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: clamp(56px, 8vw, 110px);
  align-items: start;
}

.core-statement {
  margin: 0;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.core-list,
.portfolio-list,
.process-list,
.expertise-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.core-list li,
.expertise-list li {
  padding: 22px 0;
  border-top: 1px solid var(--gtd-line);
}

.core-list li:first-child,
.expertise-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.core-list strong,
.expertise-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 21px;
}

.core-list span,
.expertise-list span {
  color: var(--gtd-muted);
}

.portfolio {
  background: var(--gtd-ice);
}

.portfolio-list {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 72px;
}

.portfolio-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  padding: 30px 0;
  border-top: 1px solid var(--gtd-line);
}

.portfolio-list .number,
.process-list .number {
  color: var(--gtd-gold);
  font-size: 18px;
  font-weight: 800;
}

.portfolio-list h3,
.process-list h3 {
  margin: 0 0 8px;
  font-size: 23px;
  line-height: 1.25;
}

.portfolio-list p,
.process-list p {
  margin: 0;
  color: var(--gtd-muted);
}

.oem {
  color: var(--gtd-white);
  background: var(--gtd-navy-2);
}

.oem .section-intro,
.oem .process-list p {
  color: rgba(255, 255, 255, 0.74);
}

.oem-visual {
  min-height: 560px;
  margin: 0;
  background: url("assets/oem-cleanroom.jpg") 58% center / cover no-repeat;
  border-radius: var(--gtd-radius);
  box-shadow: var(--gtd-shadow);
}

.process-list {
  margin-top: 48px;
}

.process-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.services {
  background: var(--gtd-white);
}

.services-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
}

.service-block {
  padding-top: 24px;
  border-top: 3px solid var(--gtd-gold);
}

.service-block h3 {
  margin: 0 0 16px;
  font-size: 27px;
  line-height: 1.18;
}

.service-block p {
  margin: 0;
  color: var(--gtd-muted);
}

.service-block ul {
  margin: 22px 0 0;
  padding-left: 20px;
  color: var(--gtd-muted);
}

.service-block li + li {
  margin-top: 8px;
}

.expertise {
  background: var(--gtd-cream);
}

.expertise-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 72px;
}

.contact {
  color: var(--gtd-white);
  background:
    radial-gradient(circle at 82% 25%, rgba(29, 90, 138, 0.55), transparent 34%),
    var(--gtd-navy);
}

.contact .section-title {
  color: var(--gtd-white);
}

.contact .section-intro {
  color: rgba(255, 255, 255, 0.76);
}

.contact-details {
  padding-top: 48px;
}

.contact-details a {
  display: block;
  margin-bottom: 16px;
  color: var(--gtd-white);
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 700;
  text-decoration: none;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--gtd-gold);
}

.regulatory-note {
  margin-top: 52px;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #041626;
}

.footer-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 110px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
}

.footer-shell a {
  color: var(--gtd-gold);
  text-decoration: none;
}

.standard-content {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 100px 0;
}

.standard-content h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
}

@media (max-width: 920px) {
  .header-shell {
    min-height: 76px;
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 0 14px;
    gap: 4px;
  }

  .brand-link {
    width: 220px;
    height: 54px;
  }

  .primary-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .primary-nav a {
    white-space: nowrap;
  }

  .primary-nav .nav-contact {
    display: none;
  }

  .hero {
    min-height: 760px;
    background-position: 62% center;
  }

  .hero .section-inner {
    padding-top: 210px;
    padding-bottom: 72px;
  }

  .core-layout,
  .oem-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .oem-visual {
    min-height: 420px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .section-inner,
  .header-shell,
  .footer-shell {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    min-height: 720px;
    background:
      linear-gradient(180deg, rgba(4, 25, 45, 0.28) 0%, rgba(4, 25, 45, 0.94) 52%, rgba(4, 25, 45, 1) 100%),
      url("assets/hero-cec-portfolio.jpg") 68% center / cover no-repeat;
  }

  .hero .section-inner {
    padding-top: 260px;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .portfolio-list,
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-list {
    column-gap: 0;
  }

  .cta-row {
    align-items: stretch;
    flex-direction: column;
  }

  .cta-button {
    width: 100%;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 28px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

