/*
Theme Name: 2GTD Medical Consulting - Desenvolvimento
Theme URI: https://2gtdmedicalconsulting.com.br/
Author: 2GTD Medical Consulting
Author URI: https://2gtdmedicalconsulting.com.br/
Description: Tema institucional da 2GTD com foco em consultoria integrada para desenvolvimento de dispositivos médicos, P&D terceirizado, bioengenharia, qualidade, regulação, industrialização, OEM e mercado.
Version: 2.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: 2gtd-medical-consulting-development
*/

:root {
  --gtd-navy: #061d34;
  --gtd-navy-2: #0a2a49;
  --gtd-blue: #174f7d;
  --gtd-gold: #e0b858;
  --gtd-gold-soft: #f0d58d;
  --gtd-cream: #f7f3e9;
  --gtd-ice: #edf3f6;
  --gtd-white: #ffffff;
  --gtd-ink: #092945;
  --gtd-muted: #50687c;
  --gtd-line: rgba(9, 41, 69, 0.16);
  --gtd-radius: 24px;
  --gtd-shadow: 0 24px 72px rgba(2, 20, 36, 0.18);
}

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

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

* {
  box-sizing: border-box;
}

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

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 1000;
  padding: 12px 18px;
  color: var(--gtd-navy);
  background: var(--gtd-gold);
  border-radius: 999px;
  font-weight: 700;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 29, 52, 0.96);
  border-bottom: 2px solid rgba(224, 184, 88, 0.55);
  backdrop-filter: blur(14px);
}

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

.brand-link {
  width: 300px;
  aspect-ratio: 2.1 / 1;
  flex: 0 0 auto;
  background: url("assets/logo-2gtd-hq.webp") center / contain no-repeat;
  border-radius: 8px;
}

.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: 25px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.015em;
}

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

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

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

.section {
  padding: clamp(84px, 9vw, 140px) 0;
}

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

.eyebrow {
  margin: 0 0 20px;
  color: #b98927;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-title {
  max-width: 940px;
  margin: 0;
  font-size: clamp(40px, 5.2vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.038em;
}

.section-intro {
  max-width: 830px;
  margin: 28px 0 0;
  color: var(--gtd-muted);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.48;
}

.hero {
  overflow: hidden;
  color: var(--gtd-white);
  background:
    radial-gradient(circle at 18% 18%, rgba(23, 79, 125, 0.42), transparent 34%),
    var(--gtd-navy);
}

.hero-grid {
  width: min(1440px, 100%);
  min-height: min(800px, calc(100svh - 92px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(500px, 0.98fr);
  align-items: stretch;
}

.hero-copy {
  width: min(720px, calc(100% - 48px));
  margin-left: max(24px, calc((100vw - 1280px) / 2));
  padding: 70px 40px 70px 0;
  align-self: center;
}

.hero-logo {
  width: min(650px, 100%);
  aspect-ratio: 2.1 / 1;
  margin: -30px 0 24px;
  background: url("assets/logo-2gtd-hq.webp") left center / contain no-repeat;
}

.hero .eyebrow,
.oem .eyebrow,
.contact .eyebrow {
  color: var(--gtd-gold);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(48px, 5.5vw, 78px);
  line-height: 0.99;
  letter-spacing: -0.045em;
}

.hero .lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.48;
}

.hero-visual {
  min-height: 720px;
  margin: 0;
  background:
    linear-gradient(90deg, var(--gtd-navy) 0%, rgba(6, 29, 52, 0.1) 24%, rgba(6, 29, 52, 0) 60%),
    url("assets/hero-product-development.jpg") center / cover no-repeat;
}

.hero-capabilities {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 25px 0 28px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
}

.hero-capabilities span {
  padding: 0 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-capabilities span:first-child {
  border-left: 0;
}

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

.cta-row.centered {
  justify-content: center;
}

.cta-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: var(--gtd-white);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.cta-button.secondary {
  background: rgba(255, 255, 255, 0.04);
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

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

.positioning-grid,
.knowhow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(370px, 0.95fr);
  gap: clamp(58px, 8vw, 112px);
  align-items: start;
}

.positioning-copy {
  padding-top: 12px;
  color: var(--gtd-muted);
}

.positioning-copy .statement {
  margin-top: 0;
  color: var(--gtd-ink);
  font-size: clamp(29px, 3vw, 44px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.positioning-copy p + p {
  margin-top: 24px;
}

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

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: clamp(48px, 8vw, 104px);
  align-items: end;
}

.section-heading-row .section-intro {
  margin: 0;
}

.services-grid {
  margin-top: 74px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--gtd-line);
  border-left: 1px solid var(--gtd-line);
}

.service-card {
  min-height: 330px;
  padding: 34px;
  border-right: 1px solid var(--gtd-line);
  border-bottom: 1px solid var(--gtd-line);
  background: var(--gtd-white);
  transition: background 180ms ease, transform 180ms ease;
}

.service-card:hover {
  position: relative;
  z-index: 2;
  background: var(--gtd-cream);
  transform: translateY(-4px);
  box-shadow: var(--gtd-shadow);
}

.service-index {
  display: block;
  margin-bottom: 48px;
  color: #ad7d20;
  font-size: 16px;
  font-weight: 800;
}

.service-card h3 {
  margin: 0 0 15px;
  font-size: 27px;
  line-height: 1.17;
}

.service-card p {
  margin: 0;
  color: var(--gtd-muted);
  font-size: 17px;
}

.clinical {
  color: var(--gtd-white);
  background:
    radial-gradient(circle at 88% 15%, rgba(23, 79, 125, 0.56), transparent 34%),
    var(--gtd-navy-2);
}

.clinical .section-intro {
  color: rgba(255, 255, 255, 0.73);
}

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

.clinical-card {
  min-height: 265px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.clinical-card.wide {
  grid-column: 1 / -1;
  min-height: 220px;
}

.clinical-code {
  display: block;
  margin-bottom: 48px;
  color: var(--gtd-gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.clinical-card h3 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.15;
}

.clinical-card p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

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

.lifecycle-list {
  margin: 72px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  border-top: 2px solid var(--gtd-gold);
}

.lifecycle-list li {
  min-height: 260px;
  padding: 31px 30px 34px 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--gtd-line);
}

.lifecycle-list li:not(:nth-child(3n + 1)) {
  padding-left: 30px;
  border-left: 1px solid var(--gtd-line);
}

.lifecycle-list .number {
  color: #ad7d20;
  font-size: 16px;
  font-weight: 800;
}

.lifecycle-list h3 {
  margin: 0 0 11px;
  font-size: 25px;
  line-height: 1.2;
}

.lifecycle-list p {
  margin: 0;
  color: var(--gtd-muted);
  font-size: 17px;
}

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

.oem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  gap: clamp(56px, 7vw, 96px);
  align-items: center;
}

.oem .section-title {
  font-size: clamp(39px, 4.6vw, 64px);
}

.oem .section-intro {
  color: rgba(255, 255, 255, 0.72);
}

.oem-list {
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.oem-list li {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.oem-list strong,
.oem-list span {
  display: block;
}

.oem-list strong {
  color: var(--gtd-white);
  font-size: 20px;
}

.oem-list span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 16px;
}

.oem-visual {
  min-height: 650px;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(6, 29, 52, 0.02), rgba(6, 29, 52, 0.24)),
    url("assets/oem-cleanroom.jpg") 58% center / cover no-repeat;
  border: 1px solid rgba(224, 184, 88, 0.4);
  border-radius: var(--gtd-radius);
  box-shadow: var(--gtd-shadow);
}

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

.text-link {
  display: inline-flex;
  margin-top: 34px;
  color: var(--gtd-blue);
  font-weight: 800;
  text-decoration-thickness: 2px;
}

.text-link span {
  margin-left: 8px;
  color: #ad7d20;
}

.knowhow-points {
  border-top: 2px solid var(--gtd-gold);
}

.knowhow-points article {
  padding: 27px 0;
  border-bottom: 1px solid var(--gtd-line);
}

.knowhow-points h3 {
  margin: 0 0 8px;
  font-size: 25px;
}

.knowhow-points p {
  margin: 0;
  color: var(--gtd-muted);
}

.contact {
  color: var(--gtd-white);
  background:
    radial-gradient(circle at 50% 20%, rgba(23, 79, 125, 0.7), transparent 42%),
    var(--gtd-navy);
}

.contact-inner {
  text-align: center;
}

.contact .section-title,
.contact .section-intro {
  margin-left: auto;
  margin-right: auto;
}

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

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

.contact-details {
  margin-top: 58px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
}

.contact-details a {
  color: var(--gtd-white);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  text-decoration: none;
}

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

.regulatory-note {
  max-width: 980px;
  margin: 54px auto 0;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
}

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

.footer-shell {
  width: min(1280px, calc(100% - 48px));
  min-height: 124px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.footer-shell .footer-center {
  text-align: center;
}

.footer-shell .footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

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

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

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

@media (max-width: 1100px) {
  .header-shell {
    min-height: 82px;
  }

  .brand-link {
    width: 250px;
  }

  .primary-nav {
    gap: 17px;
    font-size: 14px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr);
  }

  .hero-copy {
    margin-left: 24px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lifecycle-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lifecycle-list li:not(:nth-child(3n + 1)) {
    padding-left: 0;
    border-left: 0;
  }

  .lifecycle-list li:nth-child(even) {
    padding-left: 30px;
    border-left: 1px solid var(--gtd-line);
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 138px;
  }

  .header-shell {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 0 14px;
    gap: 3px;
  }

  .brand-link {
    width: 235px;
  }

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

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

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

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    width: min(100% - 48px, 760px);
    margin: 0 auto;
    padding: 54px 0 62px;
  }

  .hero-logo {
    max-width: 620px;
    margin-top: -24px;
  }

  .hero-visual {
    min-height: 520px;
    background:
      linear-gradient(180deg, var(--gtd-navy) 0%, rgba(6, 29, 52, 0.02) 20%),
      url("assets/hero-product-development.jpg") 55% center / cover no-repeat;
  }

  .hero-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    text-align: left;
  }

  .hero-capabilities span {
    padding: 11px 14px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .positioning-grid,
  .knowhow-grid,
  .section-heading-row,
  .oem-grid {
    grid-template-columns: 1fr;
  }

  .section-heading-row .section-intro {
    margin-top: 0;
  }

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

  .footer-shell {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 28px 0;
    text-align: center;
  }

  .footer-shell .footer-links {
    justify-content: center;
  }
}

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

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

  .section {
    padding: 76px 0;
  }

  .hero-copy {
    width: min(100% - 28px, 760px);
    padding-top: 40px;
  }

  .hero-logo {
    width: 100%;
    margin: -14px 0 16px;
  }

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

  .hero-visual {
    min-height: 390px;
    background-position: 58% center;
  }

  .hero-capabilities {
    grid-template-columns: 1fr;
  }

  .hero-capabilities span {
    padding-left: 0;
  }

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

  .cta-button {
    width: 100%;
  }

  .services-grid,
  .clinical-grid,
  .lifecycle-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    padding: 28px;
  }

  .service-index {
    margin-bottom: 34px;
  }

  .clinical-card.wide {
    grid-column: auto;
  }

  .lifecycle-list li,
  .lifecycle-list li:nth-child(even) {
    min-height: 0;
    padding: 28px 0;
    border-left: 0;
  }

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

  .contact-details {
    align-items: center;
    flex-direction: column;
  }

  .contact-details a {
    overflow-wrap: anywhere;
  }

  .footer-shell .footer-links {
    align-items: center;
    flex-direction: column;
    gap: 10px;
  }
}

@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;
  }
}
