/* ==========================================================================
   Prohall Professional — LP Internacional de Distribuidor
   Paleta: preto quente (#0c0b09) + dourado (#E4B444). Tipografia Poppins.
   ========================================================================== */

/* ── Tokens ──────────────────────────────────────────────────────────────── */
:root {
  --ph-bg:          #0c0b09;
  --ph-bg-alt:      #100e0c;
  --ph-bg-card:     #131110;
  --ph-bg-card-2:   #151310;
  --ph-bg-deep:     #0a0908;
  --ph-line:        #241f1a;
  --ph-line-soft:   #1d1913;
  --ph-line-input:  #2a241d;
  --ph-gold:        #E4B444;
  --ph-gold-hover:  #f2cd74;
  --ph-ink:         #17140d;
  --ph-heading:     #fdfbf6;
  --ph-text:        #efe9dd;
  --ph-text-soft:   #cfc7b8;
  --ph-text-mute:   #b8b0a2;
  --ph-text-dim:    #9d958a;
  --ph-text-faint:  #8a8276;
  --ph-shell:       1240px;
  --ph-ease:        cubic-bezier(.22,.61,.36,1);
  /* Diz ao navegador que a página é escura: os controles nativos (lista do
     <select>, barras de rolagem, cursor de texto) passam a vir escuros. */
  color-scheme: dark;
}

/* ── Base ────────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background: var(--ph-bg);
  color: var(--ph-text);
  font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ph-gold); text-decoration: none; }
a:hover { color: var(--ph-gold-hover); }

img { max-width: 100%; }

/* Grid e flex não colapsam margem, então a margem padrão do browser em h2/h3/p
   somaria ao `gap` dos cards — o vão saía 43px onde o CSS pedia 14px. Quem
   controla o espaçamento é sempre o `gap` do container. */
h1, h2, h3, p, figure, blockquote { margin: 0; }

input, select, textarea, button { font-family: inherit; }
input::placeholder, textarea::placeholder { color: #8b8276; }
select option { background-color: #17150f; color: #efe9dd; }
select option:checked { background-color: #E4B444; color: #17140d; }

/* Wrapper de largura usado por todas as seções. */
.ph-shell {
  max-width: var(--ph-shell);
  margin: 0 auto;
  padding: 0 32px;
}

/* O header é sticky: sem isto o topo da seção some atrás dele ao clicar
   num link de âncora. */
section[id] { scroll-margin-top: 90px; }

.ph-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ── Animação de entrada ─────────────────────────────────────────────────── */
/* .ph-armed é aplicada pelo JS: sem JS o conteúdo já nasce visível. */
[data-reveal].ph-armed {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ph-ease), transform .8s var(--ph-ease);
}
[data-reveal].ph-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal].ph-armed { opacity: 1; transform: none; transition: none; }
}

/* ── Botões ──────────────────────────────────────────────────────────────── */
.ph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ph-gold);
  color: var(--ph-ink);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  padding: 15px 30px;
  border: none;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  transition: background .25s ease;
}
.ph-btn:hover { background: var(--ph-gold-hover); color: var(--ph-ink); }

.ph-btn--sm { font-size: 14px; padding: 14px 26px; }
.ph-btn--xs { font-size: 13px; padding: 11px 20px; }

.ph-btn--ghost {
  background: transparent;
  color: var(--ph-gold);
  border: 1px solid rgba(228,180,68,.4);
  font-size: 13px;
  font-weight: 500;
  padding: 11px 20px;
  gap: 9px;
}
.ph-btn--ghost:hover { background: rgba(228,180,68,.1); color: var(--ph-gold); }

/* ── Cabeçalhos de seção ─────────────────────────────────────────────────── */
.ph-eyebrow {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ph-gold);
  margin-bottom: 14px;
}

.ph-title {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
  font-weight: 600;
  color: var(--ph-heading);
  letter-spacing: -.02em;
  margin: 0 0 14px;
}
.ph-title em { color: var(--ph-gold); font-style: normal; }

.ph-lead {
  font-size: 16px;
  line-height: 1.65;
  color: #a79f92;
  margin: 0;
}

.ph-section-head {
  text-align: center;
  margin-bottom: 52px;
}
.ph-section-head .ph-lead { max-width: 620px; margin: 0 auto; }

/* Ícone dourado quadrado usado nos cards. */
.ph-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ph-gold);
  color: var(--ph-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph-icon--sm { width: 40px; height: 40px; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.ph-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12,11,9,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(228,180,68,.16);
}
.ph-header__inner {
  max-width: var(--ph-shell);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.ph-header__logo { height: 30px; width: auto; flex-shrink: 0; display: block; }

.ph-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  flex-wrap: wrap;
  font-size: 13px;
  letter-spacing: .04em;
}
.ph-nav a { color: var(--ph-text-soft); }
.ph-nav a:hover { color: var(--ph-gold); }

/* Alternador de idioma: <a> para funcionar sem JS. */
.ph-lang {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid #2c2720;
  border-radius: 999px;
  padding: 3px;
  background: #121010;
}
.ph-lang a {
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12px;
  letter-spacing: .08em;
  color: #8f8779;
}
.ph-lang a:hover { color: var(--ph-text-soft); }
.ph-lang a.is-active {
  background: rgba(228,180,68,.14);
  color: var(--ph-gold);
  font-weight: 600;
}

/* ── Menu lateral (mobile) ───────────────────────────────────────────────── */
/* O botão só existe abaixo de 900px — acima disso a .ph-nav dá conta. */
.ph-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid #2c2720;
  border-radius: 12px;
  background: #121010;
  color: var(--ph-text);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.ph-burger:hover { color: var(--ph-gold); border-color: rgba(228,180,68,.42); }

/* O container fica com [hidden] enquanto fechado: some do foco e do leitor
   de tela. O JS tira o hidden um quadro antes de abrir, para a transição
   do painel acontecer. */
.ph-drawer { position: fixed; inset: 0; z-index: 60; }
.ph-drawer[hidden] { display: none; }

.ph-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6,5,4,.68);
  opacity: 0;
  transition: opacity .3s ease;
}
.ph-drawer.is-open .ph-drawer__backdrop { opacity: 1; }

.ph-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(330px, 86vw);
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 16px 24px 32px;
  background: var(--ph-bg-alt);
  border-left: 1px solid rgba(228,180,68,.16);
  box-shadow: -26px 0 60px rgba(0,0,0,.55);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform .34s var(--ph-ease);
}
.ph-drawer.is-open .ph-drawer__panel { transform: none; }

.ph-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ph-line-soft);
}
.ph-drawer__close { display: inline-flex; margin-left: 0; }

.ph-drawer__nav { display: flex; flex-direction: column; }
.ph-drawer__nav a {
  padding: 15px 0;
  border-bottom: 1px solid var(--ph-line-soft);
  color: var(--ph-text);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .01em;
}
.ph-drawer__nav a:hover { color: var(--ph-gold); }

.ph-drawer__cta { width: 100%; }
.ph-drawer__lang { align-self: flex-start; }

.ph-drawer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--ph-line-soft);
  font-size: 13px;
}

/* Trava a rolagem do fundo enquanto o menu está aberto. */
body.ph-no-scroll { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .ph-drawer__panel, .ph-drawer__backdrop { transition: none; }
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.ph-hero {
  position: relative;
  overflow: hidden;
  background: var(--ph-bg);
}
.ph-hero__bg,
.ph-hero__scrim,
.ph-hero__fade {
  position: absolute;
  inset: 0;
}
.ph-hero__bg {
  background-image: url(../images/hero-equalize.webp);
  background-size: cover;
  background-position: 72% 28%;
  opacity: .6;
}
.ph-hero__scrim {
  background: linear-gradient(90deg, #0c0b09 0%, rgba(12,11,9,.94) 38%, rgba(12,11,9,.45) 68%, rgba(12,11,9,.8) 100%);
}
.ph-hero__fade {
  background: linear-gradient(180deg, rgba(12,11,9,.5) 0%, rgba(12,11,9,0) 24%, #0c0b09 100%);
}
.ph-hero__inner {
  position: relative;
  max-width: var(--ph-shell);
  margin: 0 auto;
  padding: 110px 32px 96px;
}
.ph-hero__col { max-width: 620px; }

.ph-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(228,180,68,.35);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ph-gold);
  margin-bottom: 26px;
}
.ph-hero__title {
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -.025em;
  margin: 0 0 20px;
  color: var(--ph-heading);
  max-width: 13ch;
  text-wrap: balance;
}
.ph-hero__title em { color: var(--ph-gold); font-style: normal; }
.ph-hero__text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ph-text-soft);
  max-width: 440px;
  margin: 0 0 34px;
}
.ph-hero__points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 20px 34px;
  max-width: 600px;
  margin: 0 0 38px;
  padding: 0;
  list-style: none;
}
.ph-hero__point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  color: #ded6c7;
}
.ph-hero__point svg { flex-shrink: 0; margin-top: 2px; }

/* ── Faixa de números ────────────────────────────────────────────────────── */
.ph-stats {
  background: linear-gradient(90deg, #0f0d0b 0%, #191510 50%, #0f0d0b 100%);
  border-top: 1px solid rgba(228,180,68,.22);
  border-bottom: 1px solid rgba(228,180,68,.22);
}
.ph-stats__grid {
  max-width: var(--ph-shell);
  margin: 0 auto;
  padding: 44px 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 34px 24px;
}
.ph-stat {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}
.ph-stat__num {
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 600;
  color: var(--ph-gold);
  letter-spacing: -.02em;
  line-height: 1;
}
.ph-stat__unit { font-size: 16px; font-weight: 400; margin-left: 2px; }
.ph-stat__plus { font-size: 22px; font-weight: 500; }
.ph-stat__label { font-size: 14px; color: var(--ph-text-dim); line-height: 1.5; }

/* ── Sobre ───────────────────────────────────────────────────────────────── */
.ph-about {
  padding: 104px 0;
  background: var(--ph-bg-alt);
  border-bottom: 1px solid var(--ph-line-soft);
}
.ph-about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 56px;
  align-items: center;
}
.ph-about__title { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; margin-bottom: 22px; }
.ph-about__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ph-text-mute);
  max-width: 480px;
  margin: 0 0 30px;
}
.ph-about__list {
  display: grid;
  align-content: start;
  background: #121010;
  border: 1px solid var(--ph-line);
  border-radius: 20px;
  overflow: hidden;
}
.ph-about__item {
  padding: 26px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: background .3s ease;
}
.ph-about__item + .ph-about__item { border-top: 1px solid var(--ph-line); }
.ph-about__item:hover { background: #171412; }
.ph-about__item-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ph-heading);
  margin-bottom: 6px;
}
.ph-about__item-text { font-size: 14px; line-height: 1.65; color: var(--ph-text-dim); }

/* ── Bloco de vídeo (placeholder de embed) ───────────────────────────────── */
.ph-video {
  padding: 96px 0;
  background: var(--ph-bg-alt);
  border-top: 1px solid var(--ph-line-soft);
  border-bottom: 1px solid var(--ph-line-soft);
}
.ph-video__inner { max-width: 900px; margin: 0 auto; padding: 0 32px; text-align: center; }
.ph-video__title {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.25;
  font-weight: 600;
  color: var(--ph-heading);
  margin: 0 0 34px;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.ph-video__title em { color: var(--ph-gold); font-style: normal; }

/* Moldura 16/9. Ao colar o <iframe>, ele ocupa a moldura inteira.
   O fundo listrado é só do quadro vazio: com vídeo, .ph-embed--video deixa o
   fundo preto para não aparecer padrão nenhum enquanto o player do Vimeo abre
   nem nas faixas laterais se o vídeo não for exatamente 16/9. */
.ph-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--ph-line-input);
  background: repeating-linear-gradient(135deg, #151310 0 12px, #1b1814 12px 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.ph-embed--video { background: #000; }
.ph-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Capa clicável: segura o player do Vimeo até a pessoa querer assistir, para
   os controles dele não ficarem por cima do quadro parado. */
.ph-embed__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph-embed__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ph-embed__cover .ph-embed__play {
  position: relative;
  transition: transform .25s var(--ph-ease), background .25s ease;
}
.ph-embed__cover:hover .ph-embed__play { background: var(--ph-gold-hover); transform: scale(1.08); }
.ph-embed__cover:focus-visible { outline: 2px solid var(--ph-gold); outline-offset: 3px; }

.ph-embed__play {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--ph-gold);
  color: var(--ph-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph-embed__play--sm { width: 60px; height: 60px; }
.ph-embed__hint {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--ph-text-faint);
  text-align: center;
  padding: 0 20px;
}

/* ── Produtos ────────────────────────────────────────────────────────────── */
.ph-products { padding: 104px 0; background: var(--ph-bg); }
.ph-products .ph-section-head { margin-bottom: 56px; }
.ph-products .ph-lead { max-width: 560px; }
.ph-products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
  gap: 22px;
}
/* grid-template-rows fixa a mídia em "auto": sem isso os cards de texto
   mais curto esticam a imagem e os nomes saem desalinhados na linha. */
.ph-product {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--ph-line);
  background: var(--ph-bg-card);
  transition: border-color .3s ease, transform .3s ease;
}
.ph-product:hover { border-color: #4a3d22; transform: translateY(-4px); }
.ph-product__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ph-bg-card-2);
}
.ph-product__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-product__body { padding: 22px 22px 26px; display: grid; gap: 10px; }
.ph-product__name { font-size: 17px; font-weight: 600; color: var(--ph-heading); }
.ph-product__desc { font-size: 13px; line-height: 1.65; color: var(--ph-text-dim); }

/* max-width + quebra: rótulos longos (o espanhol tem vários) precisam caber
   no card, senão o overflow:hidden do .ph-product corta o texto. */
.ph-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 28px);
  line-height: 1.3;
  background: rgba(12,11,9,.78);
  color: var(--ph-gold);
  border: 1px solid rgba(228,180,68,.3);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.ph-tag--solid { background: var(--ph-gold); color: var(--ph-ink); border-color: var(--ph-gold); }

/* ── Vantagens ───────────────────────────────────────────────────────────── */
.ph-advantages {
  padding: 104px 0;
  background: var(--ph-bg-alt);
  border-top: 1px solid var(--ph-line-soft);
  border-bottom: 1px solid var(--ph-line-soft);
}
/* gap de 1px sobre fundo escuro desenha as divisórias da grade. */
.ph-advantages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1px;
  background: var(--ph-line);
  border: 1px solid var(--ph-line);
  border-radius: 20px;
  overflow: hidden;
}
.ph-advantage {
  background: var(--ph-bg-alt);
  padding: 32px 30px;
  display: grid;
  gap: 10px;
  align-content: start;
  transition: background .3s ease;
}
.ph-advantage:hover { background: #15120f; }
.ph-advantage__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ph-heading);
  line-height: 1.35;
}
.ph-advantage__text { font-size: 14px; line-height: 1.65; color: var(--ph-text-dim); }

/* ── Depoimentos ─────────────────────────────────────────────────────────── */
.ph-testimonials { padding: 104px 0; background: var(--ph-bg); }
.ph-testimonials .ph-lead { max-width: 600px; }
.ph-testimonials__videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 22px;
  align-items: start;
  margin-bottom: 22px;
}
.ph-testimonials__videos .ph-embed { border-radius: 20px; gap: 14px; }
.ph-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 18px;
}
.ph-quote {
  background: var(--ph-bg-card-2);
  border: 1px solid var(--ph-line);
  border-radius: 18px;
  padding: 28px;
  display: grid;
  /* A citação absorve a sobra de altura e a assinatura fica colada embaixo,
     então a divisória alinha entre depoimentos de tamanhos diferentes. */
  grid-template-rows: 1fr auto;
  gap: 16px;
  margin: 0;
  transition: border-color .3s ease, transform .3s ease;
}
.ph-quote:hover { border-color: #4a3d22; transform: translateY(-3px); }
.ph-quote__text { font-size: 15px; line-height: 1.75; color: #c9c1b3; margin: 0; }
.ph-quote__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--ph-line);
}
.ph-quote__avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--ph-gold);
  color: var(--ph-ink);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
/* Com foto o dourado sai do fundo (apareceria pelas bordas enquanto a
   imagem carrega) e vira um aro fino em volta do rosto. */
.ph-quote__avatar--photo {
  background: var(--ph-bg-card);
  box-shadow: inset 0 0 0 1px rgba(228,180,68,.45);
}
.ph-quote__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ph-quote__name { font-size: 14px; font-weight: 600; color: var(--ph-heading); }
.ph-quote__place { display: block; font-size: 12px; color: var(--ph-text-faint); }

/* ── Impacto global ──────────────────────────────────────────────────────── */
.ph-impact {
  position: relative;
  overflow: hidden;
  background: #0b0a0e;
  border-top: 1px solid var(--ph-line-soft);
  border-bottom: 1px solid var(--ph-line-soft);
}
.ph-impact__bg,
.ph-impact__scrim { position: absolute; inset: 0; }
.ph-impact__bg {
  background-image: url(../images/world-map-gold.webp);
  background-size: cover;
  background-position: center;
  opacity: .85;
}
.ph-impact__scrim {
  background: linear-gradient(180deg, rgba(11,10,14,.92) 0%, rgba(11,10,14,.45) 32%, rgba(11,10,14,.88) 78%, #0b0a0e 100%);
}
.ph-impact__inner {
  position: relative;
  max-width: var(--ph-shell);
  margin: 0 auto;
  padding: 104px 32px;
}
/* O espaço grande deixa o mapa aparecer entre o título e o card. */
.ph-impact__head { text-align: center; margin-bottom: clamp(180px, 26vw, 320px); }
.ph-impact__head .ph-lead { max-width: 520px; margin: 0 auto; color: #b3aa9c; }
.ph-impact__card {
  background: rgba(12,11,9,.82);
  backdrop-filter: blur(10px);
  border: 1px solid var(--ph-line);
  border-radius: 20px;
  padding: 38px 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 34px;
}
.ph-impact__item { display: grid; gap: 12px; align-content: start; }
.ph-impact__item-title { font-size: 16px; font-weight: 600; color: var(--ph-heading); }
.ph-impact__item-text { font-size: 14px; line-height: 1.65; color: #b3aa9c; }
.ph-impact__cta { display: flex; justify-content: center; margin-top: 34px; }

/* ── Formulário ──────────────────────────────────────────────────────────── */
.ph-apply {
  padding: 104px 0;
  background: var(--ph-bg);
  border-top: 1px solid var(--ph-line-soft);
}
.ph-apply__head { text-align: center; max-width: 860px; margin: 0 auto 44px; }
.ph-apply__head .ph-title { margin-bottom: 18px; }
.ph-apply__head .ph-lead { line-height: 1.7; }

.ph-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 18px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.ph-step {
  display: grid;
  gap: 10px;
  align-content: start;
  background: var(--ph-bg-alt);
  border: 1px solid var(--ph-line);
  border-radius: 16px;
  padding: 24px 26px;
}
.ph-step__head { display: flex; align-items: center; gap: 12px; }
.ph-step__num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--ph-gold);
  color: var(--ph-ink);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ph-step__title { font-size: 15px; font-weight: 600; color: var(--ph-heading); }
.ph-step__text { font-size: 13px; line-height: 1.6; color: var(--ph-text-dim); }

.ph-form {
  background: var(--ph-bg-alt);
  border: 1px solid var(--ph-line);
  border-radius: 20px;
  padding: 40px;
  display: grid;
  gap: 22px;
}
.ph-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.ph-field { display: grid; align-content: start; }
/* Campo que ocupa a linha inteira do .ph-form__grid, em vez de metade. */
.ph-field--wide { grid-column: 1 / -1; }
.ph-field__label {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ph-text-faint);
  margin-bottom: 8px;
}
.ph-input {
  background: var(--ph-bg);
  border: 1px solid var(--ph-line-input);
  border-radius: 11px;
  padding: 14px 16px;
  color: #f3eee4;
  font-size: 14px;
  outline: none;
  width: 100%;
  transition: border-color .25s ease;
}
.ph-input:focus { border-color: var(--ph-gold); }
.ph-input--invalid { border-color: #c4553d; }
textarea.ph-input { resize: vertical; }

/* WhatsApp: caixa do DDI colada ao input, preenchida pelo país escolhido. */
.ph-phone {
  display: flex;
  align-items: stretch;
  background: var(--ph-bg);
  border: 1px solid var(--ph-line-input);
  border-radius: 11px;
  transition: border-color .25s ease;
}
.ph-phone:focus-within { border-color: var(--ph-gold); }
.ph-phone.ph-input--invalid { border-color: #c4553d; }
.ph-phone__ddi {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  font-size: 14px;
  color: var(--ph-gold);
  border-right: 1px solid var(--ph-line-input);
  white-space: nowrap;
  min-width: 62px;
}
.ph-phone .ph-input {
  border: none;
  background: transparent;
  border-radius: 0 11px 11px 0;
}

/* ── Seletor de DDI com bandeira ─────────────────────────────────────────
   O JS troca a caixa .ph-phone__ddi por este bloco. O que fica no HTML é
   só a caixa de texto, então sem JS nada aqui é usado. */
.ph-cc { position: relative; display: flex; }
/* O <select> some da vista, mas continua no formulário enviando o valor. */
.ph-cc__nativo { display: none; }

/* No campo País o botão ocupa a linha toda e imita .ph-input. */
.ph-cc--pais { display: block; }
.ph-cc--pais .ph-cc__toggle {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  background: var(--ph-bg);
  border: 1px solid var(--ph-line-input);
  border-radius: 11px;
  color: #f3eee4;
  transition: border-color .25s ease;
}
.ph-cc--pais .ph-cc__toggle:hover { color: #f3eee4; border-color: #3a3228; }
.ph-cc--pais .ph-cc__toggle:focus { border-color: var(--ph-gold); outline: none; }
.ph-cc--pais .ph-cc__toggle.ph-input--invalid { border-color: #c4553d; }
.ph-cc--pais .ph-cc__pop { width: 100%; }
.ph-cc__valor { text-align: left; }
.ph-cc__valor--vazio { color: #8b8276; }
.ph-cc__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  min-width: 96px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--ph-line-input);
  color: var(--ph-gold);
  font-size: 14px;
  cursor: pointer;
  transition: color .2s ease;
}
.ph-cc__toggle:hover { color: var(--ph-gold-hover); }
.ph-cc__code { line-height: 1; }
.ph-cc__chev { opacity: .65; transition: transform .2s ease; margin-left: auto; }
.ph-cc__toggle[aria-expanded="true"] .ph-cc__chev { transform: rotate(180deg); }

/* Aspecto 4:3 achatado para 22x16 — o aro escuro separa as bandeiras
   claras (Japão, Polônia) do fundo do campo. */
.ph-cc__flag {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.35);
  display: block;
  flex-shrink: 0;
}
/* Sem o [hidden] explícito, o display:block acima ganha do estilo do
   atributo e sobra um quadrado vazio enquanto nenhum país foi escolhido. */
.ph-cc__flag[hidden] { display: none; }

.ph-cc__pop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  width: min(330px, 80vw);
  background: var(--ph-bg-card);
  border: 1px solid var(--ph-line-input);
  border-radius: 12px;
  box-shadow: 0 26px 54px rgba(0,0,0,.6);
  overflow: hidden;
}
.ph-cc__list {
  max-height: 292px;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 6px;
  list-style: none;
}
.ph-cc__list:focus { outline: none; }
.ph-cc__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ph-text);
  cursor: pointer;
}
/* .is-active é o item sob o teclado; o hover não move essa marca. */
.ph-cc__opt:hover,
.ph-cc__opt.is-active { background: rgba(228,180,68,.12); }
.ph-cc__opt[aria-selected="true"] {
  background: var(--ph-gold);
  color: var(--ph-ink);
  font-weight: 500;
}
.ph-cc__name { flex: 1; }
.ph-cc__ddi { color: var(--ph-text-faint); font-size: 13px; }
.ph-cc__opt[aria-selected="true"] .ph-cc__ddi { color: rgba(23,20,13,.66); }
.ph-cc__check { opacity: 0; flex-shrink: 0; }
.ph-cc__opt[aria-selected="true"] .ph-cc__check { opacity: 1; }

.ph-form__submit { justify-self: start; padding: 16px 38px; letter-spacing: .04em; }
.ph-form__submit[disabled] { opacity: .6; cursor: progress; }
.ph-form__note { font-size: 12px; color: #7e776b; }
.ph-form__note--error { color: #e9917b; }

/* Card de obrigado — substitui o formulário depois do envio. */
.ph-success {
  background: var(--ph-bg-alt);
  border: 1px solid rgba(228,180,68,.3);
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 16px;
}
/* O card recebe foco por script só para o leitor de tela anunciar; o anel
   branco do browser nesse caso vira moldura na tela, então fica só no
   :focus-visible, que é quando o foco veio do teclado. */
.ph-success:focus { outline: none; }
.ph-success:focus-visible { outline: 2px solid var(--ph-gold); outline-offset: 3px; }
.ph-success__icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--ph-gold);
  color: var(--ph-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph-success__title { font-size: 22px; font-weight: 600; color: var(--ph-heading); margin: 0; }
.ph-success__text { font-size: 15px; line-height: 1.7; color: var(--ph-text-dim); max-width: 420px; margin: 0; }
.ph-hidden { display: none !important; }

/* ── Rodapé ──────────────────────────────────────────────────────────────── */
.ph-footer { background: var(--ph-bg-deep); border-top: 1px solid var(--ph-line-soft); }
.ph-footer__bar {
  max-width: var(--ph-shell);
  margin: 0 auto;
  padding: 30px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  font-size: 12px;
  color: #6f695f;
}
.ph-footer__logo { height: 28px; width: auto; display: block; }
.ph-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 14px;
}
.ph-footer__links a { color: var(--ph-text-mute); }
.ph-footer__links a:hover { color: var(--ph-gold); }
.ph-footer__end { display: flex; align-items: center; gap: 16px; }

/* Único link externo da página. */
.ph-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #2c2720;
  color: var(--ph-text-mute);
  flex-shrink: 0;
  transition: color .2s ease, border-color .2s ease;
}
.ph-social:hover { color: var(--ph-gold); border-color: rgba(228,180,68,.42); }

/* ── Responsivo ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ph-header__inner { gap: 14px 18px; padding: 14px 20px; }
  /* Tudo que estava no header passa para o menu lateral. */
  .ph-nav, .ph-header__cta, .ph-header__lang { display: none; }
  .ph-burger { display: inline-flex; }

  .ph-hero__inner { padding: 72px 24px 64px; }
  .ph-about, .ph-products, .ph-advantages, .ph-testimonials, .ph-apply { padding: 72px 0; }
  .ph-video { padding: 64px 0; }
  .ph-impact__inner { padding: 72px 24px; }
  .ph-about__grid { gap: 36px; }
}

@media (max-width: 640px) {
  .ph-shell { padding: 0 20px; }
  .ph-header__inner { padding: 12px 20px; }
  .ph-hero__inner { padding: 56px 20px 56px; }
  .ph-hero__title { max-width: none; }
  .ph-stats__grid { padding: 32px 20px; gap: 26px 16px; }
  .ph-video__inner, .ph-impact__inner { padding-left: 20px; padding-right: 20px; }
  .ph-impact__card { padding: 28px 24px; }
  .ph-form { padding: 26px 20px; }
  .ph-form__grid { grid-template-columns: 1fr; }
  .ph-form__submit { justify-self: stretch; }
  .ph-success { padding: 40px 24px; }
  .ph-footer__bar { padding: 26px 20px; gap: 18px; justify-content: center; text-align: center; }
  .ph-footer__links { justify-content: center; gap: 18px; }
}
