/* ---------------------------------------------------------------------------
   Plano Saúde Curitiba — LP reconstruída em HTML/CSS/JS (sem WordPress).
   As medidas vieram do CSS que o Elementor gerava para a página 11.

   A LP é uma coluna estreita centralizada: 100% da largura no mobile e 40%
   da viewport a partir de 768px. Era assim no original e é o que sustenta o
   desenho (pílulas, campos arredondados, o recorte em curva do topo).
--------------------------------------------------------------------------- */

:root {
  --roxo: #6E4FEB;   /* cor global "fdefbc3" do kit Elementor */
  --lima: #BDE521;   /* cor global "c87b544" */
  --cinza: #666666;  /* cor global "5467d48" */
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: #333;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* --- Faixas ------------------------------------------------------------- */

/* Cada faixa é a tal coluna centralizada. `overflow: hidden` segura os
   recortes em curva, que são desenhados um pouco mais largos que a faixa. */
.faixa {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-inline: 1px solid #EBEBEB;
  gap: 20px;
}

@media (min-width: 768px) {
  .faixa { max-width: 40%; }
}

.faixa--hero {
  background: var(--roxo);
  padding: 4rem 0;
}

.faixa--form {
  padding: 2rem 0;
  gap: 29px;
}

.faixa--rodape {
  background: var(--lima);
  padding: 30px;
}

@media (min-width: 768px) {
  .faixa--hero   { padding: 5rem; }
  .faixa--form   { gap: 3rem; }
  .faixa--rodape { padding: 10px; }
}

/* --- Recorte em curva ---------------------------------------------------- */

/* O mesmo SVG "curve" do Elementor, em negativo: a curva branca morde o roxo
   por baixo. Um fio a mais na largura evita a linha clara na emenda. */
.recorte {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  line-height: 0;
  direction: ltr;
}

.recorte svg {
  display: block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% + 1.3px);
  height: 59px;
}

@media (min-width: 768px) {
  .recorte svg { height: 100px; }
}

.recorte svg path { fill: #fff; }

/* --- Hero ---------------------------------------------------------------- */

.hero__marca { width: 90px; }

/* "a revo" / "lução": duas linhas desalinhadas de propósito — a primeira
   encostada à esquerda, a segunda à direita, só com o contorno em lima. */
.hero__titulo {
  display: flex;
  flex-direction: column;
  width: 162px;
  max-width: 100%;
}

@media (min-width: 768px) {
  .hero__titulo { width: 60%; }
}

.hero__titulo h1,
.hero__titulo p {
  margin: 0;
  line-height: 1.1;
  text-transform: uppercase;
  font-size: 38px;
}

.hero__titulo h1 {
  text-align: left;
  font-weight: 600;
  color: #fff;
}

.hero__titulo p {
  text-align: right;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--lima);
  text-stroke: 1px var(--lima);
}

@media (min-width: 768px) {
  .hero__titulo h1,
  .hero__titulo p { font-size: 48px; }
}

.hero__chamada {
  margin: 0;
  font-size: 19px;
  font-weight: 300;
  color: #fff;
  line-height: 1.3;
}

.hero__chamada b { font-weight: 700; }

@media (min-width: 768px) {
  .hero__chamada { font-size: 24px; }
}

/* --- Bloco do formulário ------------------------------------------------- */

.pilula {
  margin: 0;
  padding: 13px;
  width: 207px;
  max-width: 100%;
  text-align: center;
  font-size: 19px;
  font-weight: 400;
  color: var(--cinza);
  background: var(--lima);
  border-radius: 50px;
}

.subtitulo {
  margin: 0;
  font-size: 19px;
  font-weight: 300;
  color: var(--cinza);
  text-align: center;
  line-height: 1.35;
}

.subtitulo b { font-weight: 700; }

.destaque {
  margin: 0;
  padding: 13px;
  width: 207px;
  max-width: 100%;
  text-align: center;
  font-size: 19px;
  font-weight: 600;
  color: var(--cinza);
}

.fecho {
  margin: 0;
  width: 266px;
  max-width: 100%;
  text-align: center;
  font-size: 17px;
  font-weight: 300;
  color: var(--cinza);
  line-height: 1.4;
}

@media (min-width: 768px) {
  .pilula   { width: 53.415%; font-size: 22px; }
  .subtitulo,
  .destaque { font-size: 22px; }
  .destaque { width: auto; }
  .fecho    { width: 75.431%; font-size: 19px; }
}

/* --- Formulário ---------------------------------------------------------- */

.formulario {
  width: 280px;
  max-width: 100%;
}

@media (min-width: 768px) {
  .formulario { width: 100%; }
}

.campo { margin-bottom: 29px; }

.campo__rotulo {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 400;
  color: var(--cinza);
  line-height: 1;
}

/* O original sobrescrevia o arredondamento de 50px com um CSS próprio:
   cantos de 14px, fundo cinza-claro e sombra solta. */
.campo__entrada {
  display: block;
  width: 100%;
  padding: .5rem 1rem;
  border: 0;
  border-radius: 14px;
  background: #F5F5F5;
  box-shadow: 2px 4px 4px 2px rgba(0, 0, 0, .10);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--cinza);
  transition: box-shadow .3s;
}

.campo__entrada:focus {
  outline: 0;
  box-shadow: 2px 4px 4px 2px rgba(110, 79, 235, .25);
}

.opcoes {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.opcao {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--cinza);
  cursor: pointer;
}

.opcao input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--roxo);
  flex: 0 0 auto;
}

.botao {
  display: block;
  width: 100%;
  padding: .5rem 1rem;
  border: 0;
  border-radius: 50px;
  background: var(--roxo);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: opacity .3s;
}

.botao:hover:not(:disabled) { opacity: .88; }
.botao:disabled { cursor: progress; opacity: .7; }

/* Mensagens do formulário: as mesmas quatro do Elementor, na mesma tipografia. */
.recado {
  margin: 12px 0 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.35;
}

.recado[hidden] { display: none; }
.recado--ok  { color: var(--roxo); }
.recado--erro { color: #000; }

/* --- Rodapé -------------------------------------------------------------- */

.rodape__texto {
  margin: 0;
  width: 77.172%;
  max-width: 100%;
  text-align: center;
  font-size: 19px;
  font-weight: 600;
  color: var(--roxo);
  line-height: 1.35;
}

@media (min-width: 768px) {
  .rodape__texto { font-size: 22px; }
}

/* --- Página de obrigado -------------------------------------------------- */

.obrigado {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-inline: auto;
  border-inline: 1px solid #EBEBEB;
  background: var(--roxo);
}

@media (min-width: 768px) {
  .obrigado { max-width: 40%; }
}

.obrigado__miolo {
  position: relative;
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

@media (min-width: 768px) {
  .obrigado__miolo { min-height: 60vh; }
}

/* As ondas em lima que emendam o miolo roxo com a faixa de baixo. */
.ondas {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  line-height: 0;
  z-index: 0;
  transform: rotate(180deg);
}

.ondas svg {
  display: block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: calc(145% + 1.3px);
  height: 158px;
}

.ondas svg path { fill: var(--lima); }

.obrigado__miolo > *:not(.ondas) { position: relative; z-index: 1; }

.obrigado__marca { width: 74px; }

.obrigado__titulo {
  margin: 0;
  text-align: right;
  font-size: 37px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  color: transparent;
  -webkit-text-stroke: 1px var(--lima);
  text-stroke: 1px var(--lima);
}

@media (min-width: 768px) {
  .obrigado__titulo { font-size: 48px; }
}

.obrigado__texto {
  margin: 0;
  width: 71.04%;
  max-width: 100%;
  text-align: center;
  font-size: 19px;
  font-weight: 300;
  color: #fff;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .obrigado__texto { font-size: 20px; }
}

.obrigado__base {
  min-height: 25vh;
  background: var(--lima);
}

@media (min-width: 768px) {
  .obrigado__base { min-height: 40vh; }
}
