:root {
  --phds-bg: #02060f;
  --phds-bg-alt: #050b18;
  --phds-surface: #0c1324;
  --phds-accent: #22d3ee;
  --phds-accent-soft: rgba(34, 211, 238, 0.12);
  --phds-text: #f9fafb;
  --phds-text-soft: #9ca3af;
  --phds-border: #1f2933;
  --phds-radius-lg: 18px;
  --phds-radius-md: 12px;
  --phds-radius-pill: 999px;
  --phds-shadow-soft: 0 22px 45px rgba(15, 23, 42, 0.9);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #0f172a, #020617 52%, #000 100%);
  color: var(--phds-text);
  -webkit-font-smoothing: antialiased;
}

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

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

/* Layout utilitário */

.phds-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.phds-section {
  padding: 3.5rem 0;
}

.phds-section--alt {
  background: radial-gradient(circle at top, #020617, #020617 52%, #000 100%);
}

.phds-section--contact {
  background: linear-gradient(145deg, #020617 0%, #020617 36%, #020617 100%);
}

.phds-section__header {
  text-align: left;
  margin-bottom: 2rem;
}

.phds-section__header h2 {
  font-size: 1.7rem;
  margin: 0 0 0.6rem;
}

.phds-section__header p {
  margin: 0;
  color: var(--phds-text-soft);
  font-size: 0.98rem;
}

.phds-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.26rem 0.8rem;
  border-radius: var(--phds-radius-pill);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: var(--phds-text-soft);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.phds-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22d3ee, #4f46e5);
}

.phds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border-radius: var(--phds-radius-pill);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.phds-btn--primary {
  background: linear-gradient(135deg, #22d3ee, #6366f1);
  border-color: rgba(148, 163, 184, 0.25);
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.4);
  color: #0b1120;
}

.phds-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 45px rgba(37, 99, 235, 0.6);
}

.phds-btn--ghost {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(148, 163, 184, 0.3);
  color: var(--phds-text-soft);
}

.phds-btn--ghost:hover {
  background: rgba(15, 23, 42, 1);
  color: var(--phds-text);
}

/* Header */

.phds-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(2, 6, 23, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.95);
}

.phds-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.05rem 0;
}

.phds-logo img {
  height: 68px;
  width: auto;
}

.phds-header__menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.9);
  cursor: pointer;
  padding: 0 7px;
}

.phds-header__menu-toggle span {
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.phds-header__menu-toggle.is-open span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.phds-header__menu-toggle.is-open span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.phds-nav {
  position: fixed;
  inset: 3.5rem 0 auto 0;
  padding: 1rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: rgba(2, 6, 23, 0.98);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
  transform: translateY(-110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out,
    visibility 0.2s ease-out;
}

.phds-nav a {
  padding: 0.7rem 0.4rem;
  font-size: 0.95rem;
  color: var(--phds-text-soft);
}

.phds-nav a:hover {
  color: var(--phds-text);
}

.phds-nav__cta {
  margin-top: 0.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  border-radius: var(--phds-radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.85);
  color: var(--phds-text);
  text-align: center;
}

.phds-nav--open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Hero */

.phds-hero {
  padding: 3.5rem 0 2.5rem;
}

.phds-hero__content {
  max-width: 650px;
}

.phds-hero h1 {
  margin: 1.1rem 0 0.7rem;
  font-size: 2rem;
  line-height: 1.15;
}

.phds-hero h1 span {
  background: linear-gradient(135deg, #22d3ee, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.phds-hero__subtitle {
  margin: 0;
  color: var(--phds-text-soft);
  font-size: 0.97rem;
}

.phds-hero__slogan {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.phds-hero__actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.phds-hero__meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 1.6rem;
  font-size: 0.78rem;
  color: var(--phds-text-soft);
}

.phds-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.phds-hero__meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--phds-accent);
}

/* Cards & grids */

.phds-grid {
  display: grid;
  gap: 1.1rem;
}

.phds-grid--cards {
  grid-template-columns: 1fr;
}

.phds-card {
  background: radial-gradient(circle at top left, #111827 0, #020617 45%);
  border-radius: var(--phds-radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.9);
  padding: 1.2rem 1.1rem 1.1rem;
  box-shadow: var(--phds-shadow-soft);
}

.phds-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.phds-card p {
  margin: 0 0 0.7rem;
  color: var(--phds-text-soft);
  font-size: 0.9rem;
}

.phds-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #d1d5db;
  font-size: 0.85rem;
}

.phds-card li + li {
  margin-top: 0.25rem;
}

.phds-tech-grid {
  display: grid;
  gap: 0.9rem;
}

.phds-tech-group {
  padding: 0.9rem 1rem;
  border-radius: var(--phds-radius-md);
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: radial-gradient(circle at top left, #020617, #020617 45%);
}

.phds-tech-group h3 {
  margin: 0 0 0.3rem;
  font-size: 0.96rem;
}

.phds-tech-group p {
  margin: 0;
  color: var(--phds-text-soft);
  font-size: 0.86rem;
}

.phds-grid--sectors {
  grid-template-columns: 1fr;
}

.phds-chip-card {
  padding: 1rem 1.1rem;
  border-radius: var(--phds-radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: radial-gradient(circle at top left, #020617, #020617 45%);
}

.phds-chip-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
}

.phds-chip-card p {
  margin: 0;
  color: var(--phds-text-soft);
  font-size: 0.86rem;
}

/* Sobre */

.phds-about {
  display: grid;
  gap: 1.5rem;
}

.phds-about__content h2 {
  margin: 0 0 0.6rem;
  font-size: 1.5rem;
}

.phds-about__highlight {
  margin: 0 0 0.7rem;
  color: #e5e7eb;
  font-size: 0.96rem;
}

.phds-about__content p {
  margin: 0;
  color: var(--phds-text-soft);
  font-size: 0.9rem;
}

.phds-about__founder {
  padding: 1.1rem 1.1rem 1rem;
  border-radius: var(--phds-radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: linear-gradient(135deg, #020617, #020617 52%, #020617 100%);
}

.phds-about__founder h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.phds-about__founder p {
  margin: 0 0 0.6rem;
  color: var(--phds-text-soft);
  font-size: 0.86rem;
}

.phds-about__note {
  font-size: 0.8rem;
  color: #6b7280;
  font-style: italic;
}

/* Contato */

.phds-contact {
  display: grid;
  gap: 1.6rem;
}

.phds-form {
  padding: 1.2rem 1.1rem 1.3rem;
  border-radius: var(--phds-radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: radial-gradient(circle at top left, #020617, #020617 45%);
  box-shadow: var(--phds-shadow-soft);
}

.phds-form__row {
  display: grid;
  gap: 0.9rem;
}

.phds-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.phds-form__field label {
  font-size: 0.78rem;
  color: #e5e7eb;
}

.phds-form input,
.phds-form select,
.phds-form textarea {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 999px;
  border: 1px solid rgba(31, 41, 55, 0.95);
  padding: 0.65rem 0.85rem;
  color: var(--phds-text);
  font-size: 0.86rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;
}

.phds-form textarea {
  border-radius: 16px;
  min-height: 120px;
  resize: vertical;
}

.phds-form input::placeholder,
.phds-form textarea::placeholder {
  color: #6b7280;
}

.phds-form input:focus,
.phds-form select:focus,
.phds-form textarea:focus {
  border-color: var(--phds-accent);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.35);
}

.phds-form__hint {
  margin: 0.7rem 0;
  font-size: 0.78rem;
  color: var(--phds-text-soft);
}

.phds-contact__side h3 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
}

.phds-contact__side p {
  margin: 0 0 0.7rem;
  font-size: 0.88rem;
  color: var(--phds-text-soft);
}

.phds-contact__list {
  margin: 0;
  padding-left: 1.05rem;
  font-size: 0.86rem;
  color: #e5e7eb;
}

.phds-contact__list li + li {
  margin-top: 0.3rem;
}

/* Footer */

.phds-footer {
  border-top: 1px solid rgba(15, 23, 42, 1);
  background: #020617;
  padding: 1.4rem 0 1.7rem;
}

.phds-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.78rem;
  color: var(--phds-text-soft);
}

.phds-footer__brand span {
  display: block;
}

.phds-footer__links {
  display: flex;
  gap: 1rem;
}

.phds-footer__links a {
  color: #9ca3af;
}

.phds-footer__links a:hover {
  color: #e5e7eb;
}

/* Desktop */

@media (min-width: 768px) {
  .phds-header__menu-toggle {
    display: none;
  }

  .phds-nav {
    position: static;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 1.6rem;
    background: transparent;
    border-bottom: none;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .phds-nav a {
    padding: 0;
    font-size: 0.85rem;
  }

  .phds-nav__cta {
    margin-top: 0;
    padding: 0.4rem 0.9rem;
    border-radius: var(--phds-radius-pill);
    background: rgba(15, 23, 42, 0.9);
    font-size: 0.8rem;
    line-height: 1;
  }

  .phds-hero {
    padding: 4.5rem 0 3.5rem;
  }

  .phds-hero__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .phds-hero h1 {
    font-size: 2.3rem;
  }

  .phds-hero__actions {
    margin-top: 1.7rem;
  }

  .phds-hero__meta {
    flex-direction: row;
    gap: 1rem;
  }

  .phds-grid--cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .phds-tech-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .phds-about {
    grid-template-columns: 1.2fr 1fr;
    align-items: flex-start;
  }

  .phds-contact {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: flex-start;
  }

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

  .phds-footer__inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    column-gap: 2rem;
  }

  .phds-footer__brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .phds-footer__brand span {
    display: inline;
  }
}

