/* Charleston Odontologia · landing page de lentes de porcelana (Agência Conect) */
:root {
  --preto: #0e0e10;
  --grafite: #1b1b1f;
  --creme: #f6f1e8;
  --branco: #ffffff;
  --texto: #1f1f24;
  --texto-claro: #f3efe7;
  --muted: #6c6a66;
  --muted-claro: #b9b3a8;
  --ouro: #c9a24a;
  --ouro-2: #e3c470;
  --ouro-escuro: #9b7a2d;
  --linha: rgba(20, 20, 24, 0.1);
  --linha-clara: rgba(255, 255, 255, 0.12);
  --sombra: 0 18px 50px rgba(20, 16, 8, 0.12);
  --raio: 18px;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --texto-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 20px;
  --largura: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--texto-font); color: var(--texto); background: var(--creme);
  line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0 0 16px; letter-spacing: -0.01em; }
h1 { font-size: clamp(38px, 9vw, 64px); }
h2 { font-size: clamp(30px, 6.5vw, 46px); max-width: 20ch; }
h3 { font-size: 22px; margin-bottom: 8px; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--ouro); }
p { margin: 0 0 14px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--largura)); margin-inline: auto; }
.wrap--estreito { max-width: 760px; }
.muted { color: var(--muted); }
.eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--ouro); margin-bottom: 14px; }
.eyebrow--escuro { color: var(--ouro-escuro); }
.lead { font-size: 18px; color: var(--muted-claro); max-width: 52ch; }
.sub { color: var(--muted-claro); max-width: 60ch; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: var(--texto-font); line-height: 1.1; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--ouro { background: linear-gradient(135deg, var(--ouro-2), var(--ouro) 55%, var(--ouro-escuro)); color: #1a1407; box-shadow: 0 10px 26px rgba(201, 162, 74, 0.35); }
.btn--ouro:hover { box-shadow: 0 14px 32px rgba(201, 162, 74, 0.5); }
.btn--linha { background: transparent; color: var(--texto-claro); border-color: var(--linha-clara); }
.btn--linha:hover { border-color: var(--ouro); color: var(--ouro-2); }
.btn--escuro { background: var(--preto); color: var(--texto-claro); }
.btn--escuro:hover { background: var(--grafite); }
.btn--g { padding: 17px 26px; font-size: 16px; }
.btn--peq { padding: 10px 16px; font-size: 14px; }
.ico { width: 20px; height: 20px; flex: none; }

/* Topo */
.topo { position: sticky; top: 0; z-index: 40; background: rgba(14, 14, 16, 0.86); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--linha-clara); }
.topo__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.topo__marca img { height: 40px; width: auto; }
.topo__dir { display: flex; align-items: center; gap: 10px; }
.pill { display: none; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-claro); border: 1px solid var(--linha-clara); border-radius: 999px; padding: 6px 12px; }

/* Hero */
.hero { background: var(--preto); color: var(--texto-claro); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 70%; background: radial-gradient(60% 60% at 70% 30%, rgba(201, 162, 74, 0.22), transparent 70%); pointer-events: none; }
.hero__in { position: relative; display: grid; gap: 28px; padding: 44px 0 0; }
.hero__texto { padding-bottom: 8px; }
.hero__acoes { display: flex; flex-direction: column; gap: 12px; margin: 26px 0 22px; }
.hero__acoes .btn { width: 100%; }
.provas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 1px solid var(--linha-clara); padding-top: 18px; }
.provas li { display: flex; flex-direction: column; gap: 2px; }
.provas strong { font-family: var(--display); font-size: 21px; white-space: nowrap; font-weight: 700; color: var(--ouro-2); line-height: 1; }
.provas span { font-size: 12px; color: var(--muted-claro); line-height: 1.3; }
.hero__foto { margin: 0; position: relative; justify-self: center; width: min(100%, 420px); }
.hero__foto img { width: 100%; border-radius: var(--raio) var(--raio) 0 0; -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent); mask-image: linear-gradient(to bottom, #000 78%, transparent); }
.hero__foto figcaption { position: absolute; left: 14px; bottom: 18px; display: flex; flex-direction: column; background: rgba(14, 14, 16, 0.78); border: 1px solid var(--linha-clara); border-radius: 12px; padding: 10px 14px; backdrop-filter: blur(8px); }
.hero__foto figcaption strong { font-family: var(--display); font-size: 18px; }
.hero__foto figcaption span { font-size: 12px; color: var(--muted-claro); }

/* Seções */
.sec { padding: 64px 0; }
.sec--creme { background: var(--creme); }
.sec--escuro { background: var(--preto); color: var(--texto-claro); }
.sec--escuro h2 { color: var(--texto-claro); }
.cards { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.cards li { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio); padding: 22px 22px 20px; position: relative; }
.cards .num { font-family: var(--display); font-size: 14px; letter-spacing: 0.12em; color: var(--ouro-escuro); display: block; margin-bottom: 10px; }
.cards p { margin: 0; color: #46444f; font-size: 15px; }

/* Carrossel */
.carrossel { margin-top: 28px; position: relative; }
.carrossel__trilho { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.carrossel__trilho::-webkit-scrollbar { display: none; }
.carrossel__trilho figure { flex: 0 0 min(82vw, 440px); margin: 0; scroll-snap-align: center; position: relative; }
.carrossel__trilho img { border-radius: var(--raio); aspect-ratio: 1; object-fit: cover; width: 100%; }
.carrossel__trilho figcaption { position: absolute; bottom: 12px; left: 12px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(14, 14, 16, 0.7); color: var(--ouro-2); padding: 6px 10px; border-radius: 999px; }
.carrossel__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; }
.seta { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--linha-clara); background: transparent; color: var(--texto-claro); font-size: 18px; cursor: pointer; }
.seta:hover { border-color: var(--ouro); color: var(--ouro-2); }
.carrossel__pos { font-size: 13px; color: var(--muted-claro); min-width: 48px; text-align: center; font-variant-numeric: tabular-nums; }
.aviso { font-size: 12.5px; color: var(--muted-claro); margin-top: 22px; max-width: 64ch; }

/* Duas colunas */
.duas { display: grid; gap: 28px; align-items: center; }
.duas__foto { margin: 0; justify-self: center; width: min(100%, 460px); }
.duas__foto img { border-radius: var(--raio); box-shadow: var(--sombra); }
.duas__texto p { color: #46444f; }
.check { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.check li { padding-left: 30px; position: relative; font-weight: 500; }
.check li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ouro); }
.check li::after { content: ""; position: absolute; left: 5px; top: 7px; width: 8px; height: 5px; border-left: 2px solid #1a1407; border-bottom: 2px solid #1a1407; transform: rotate(-45deg); }

/* Passos */
.passos { list-style: none; counter-reset: p; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.passos li { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio); padding: 22px; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
.passos__n { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--preto); color: var(--ouro-2); font-family: var(--display); font-size: 22px; font-weight: 700; display: grid; place-items: center; }
.passos h3 { margin-top: 8px; }
.passos p { margin: 0; color: #46444f; font-size: 15px; }

/* Faixa */
.faixa { background: linear-gradient(135deg, #1a1710, #0e0e10 60%); color: var(--texto-claro); padding: 48px 0; border-top: 1px solid rgba(201, 162, 74, 0.25); border-bottom: 1px solid rgba(201, 162, 74, 0.25); }
.faixa__in { display: grid; gap: 22px; align-items: center; }
.faixa h2 { margin-bottom: 8px; }
.faixa p { color: var(--muted-claro); margin: 0; max-width: 52ch; }

/* Unidade */
address { font-style: normal; font-size: 17px; line-height: 1.5; margin-bottom: 18px; }
.difs { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.difs li { background: var(--branco); border: 1px solid var(--linha); border-radius: 14px; padding: 14px 16px; }
.difs h3 { font-family: var(--texto-font); font-size: 15px; font-weight: 600; margin: 0 0 2px; }
.difs p { margin: 0; font-size: 14px; color: var(--muted); }
.links { display: flex; flex-direction: column; gap: 8px; font-weight: 600; }
.links a { color: var(--ouro-escuro); text-decoration: none; }
.links a:hover { text-decoration: underline; }
.mapa { border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra); background: #ddd; aspect-ratio: 4 / 3; }
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; }

/* FAQ */
.faq { margin-top: 26px; border-top: 1px solid var(--linha); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-family: var(--display); font-size: 22px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--texto-font); font-weight: 300; font-size: 26px; color: var(--ouro-escuro); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: -4px 0 20px; color: #46444f; max-width: 62ch; }

/* Formulário */
.form { background: var(--branco); color: var(--texto); border-radius: var(--raio); padding: 24px; margin-top: 26px; display: grid; gap: 16px; box-shadow: var(--sombra); }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.form input, .form select { font: 500 16px var(--texto-font); color: var(--texto); padding: 13px 14px; border: 1px solid #d9d4ca; border-radius: 12px; background: #fbfaf7; width: 100%; }
.form input:focus, .form select:focus { outline: 2px solid var(--ouro); outline-offset: 1px; border-color: var(--ouro); }
.form__linha { display: grid; gap: 16px; }
.form .btn { width: 100%; margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lgpd { font-size: 12px; color: var(--muted); margin: 0; }
.ou { text-align: center; color: var(--muted-claro); margin-top: 22px; font-size: 15px; }
.ou a { color: var(--ouro-2); font-weight: 600; }

/* Rodapé */
.rodape { background: #09090b; color: var(--muted-claro); padding: 44px 0 110px; font-size: 14px; }
.rodape__in { display: grid; gap: 14px; }
.rodape img { height: 44px; width: auto; }
.rodape p { margin: 0; }
.rodape .muted { color: #7f7a72; font-size: 12.5px; line-height: 1.6; }
.rodape__links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.rodape__links a { color: var(--ouro-2); text-decoration: none; }

/* Barra fixa do celular */
.fixo { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(14, 14, 16, 0.92); border-top: 1px solid var(--linha-clara); backdrop-filter: blur(10px); transform: translateY(110%); transition: transform 0.25s ease; }
.fixo--on { transform: translateY(0); }
.fixo .btn { width: 100%; }

/* Obrigado */
.obrigado { min-height: 100svh; background: var(--preto); color: var(--texto-claro); display: grid; place-items: center; padding: 40px 0; text-align: center; }
.obrigado__in { display: grid; justify-items: center; gap: 6px; }
.obrigado img { height: 64px; width: auto; margin-bottom: 20px; }
.obrigado h1 { font-size: clamp(32px, 7vw, 52px); }
.obrigado .lead { margin-bottom: 26px; }
.obrigado a { color: var(--ouro-2); }

/* Tablet e desktop */
@media (min-width: 640px) {
  .pill { display: inline-block; }
  .provas strong { font-size: 24px; }
  .hero__acoes { flex-direction: row; }
  .hero__acoes .btn { width: auto; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .form__linha { grid-template-columns: 1fr 1fr; }
  .form { padding: 30px; }
  .form .btn { width: auto; justify-self: start; }
  .links { flex-direction: row; gap: 26px; }
}
@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .sec { padding: 96px 0; }
  .hero__in { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 40px; padding-top: 72px; min-height: 640px; }
  .hero__texto { padding-bottom: 72px; }
  .hero__foto { width: 100%; max-width: 520px; justify-self: end; }
  .provas { max-width: 560px; }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
  .duas { grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
  .duas--inv { grid-template-columns: 1fr 1fr; }
  .duas__foto { width: 100%; }
  .passos { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .faixa__in { grid-template-columns: 1fr auto; gap: 40px; }
  .rodape { padding-bottom: 48px; }
  .fixo { display: none; }
  .carrossel__trilho { padding-inline: max(var(--gutter), calc((100vw - var(--largura)) / 2)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fixo, .btn { transition: none; }
}
