/* MayPhone — estilos compartilhados (site e página de venda).
   Cores tiradas da logo: azul-marinho #1B2C46 e verde #A6CD53. Fonte Outfit (local, licença OFL). */
@font-face { font-family: "Outfit"; font-weight: 400; font-display: swap; src: url("../fonts/outfit-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 600; font-display: swap; src: url("../fonts/outfit-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 700; font-display: swap; src: url("../fonts/outfit-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #1b2c46;
  --navy-900: #12203a;
  --navy-700: #263b5c;
  --green: #a6cd53;
  --green-700: #4d7a12; /* verde para texto sobre fundo claro (contraste AA) */
  --green-50: #f1f8e3;
  --ink: #142033;
  --muted: #55627a;
  --line: #e3e8ef;
  --surface: #f6f8fb;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(18, 32, 58, 0.08);
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--tint { background: var(--surface); }
.section--navy { background: var(--navy); color: var(--white); }
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); margin-bottom: 12px; }
.section--navy .eyebrow, .hero .eyebrow { color: var(--green); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.section--navy .lead, .hero .lead { color: #c9d4e5; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--green { background: var(--green); color: var(--navy-900); box-shadow: 0 8px 20px rgba(166, 205, 83, .35); }
.btn--green:hover { background: #b6d96a; }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); }
.btn--block { width: 100%; }
.btn svg { width: 22px; height: 22px; flex: none; }

/* Cabeçalho */
.header { position: sticky; top: 0; z-index: 50; background: rgba(27, 44, 70, .97); backdrop-filter: saturate(140%) blur(8px); }
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.header__logo img { height: 30px; width: auto; }
.nav { display: none; }
.nav a { color: #dbe4f1; text-decoration: none; font-weight: 500; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { color: var(--white); background: rgba(255, 255, 255, .07); }
.header .btn { min-height: 44px; padding: 8px 16px; font-size: .95rem; }
@media (min-width: 900px) { .nav { display: flex; gap: 4px; } }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(166, 205, 83, .18), transparent 60%), var(--navy); color: var(--white); padding: 56px 0 72px; overflow: hidden; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero h1 .hl { color: var(--green); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; color: #dbe4f1; }
.hero__ticks li { display: flex; gap: 10px; align-items: flex-start; }
@media (min-width: 900px) { .hero { padding: 88px 0 104px; } .hero__grid { grid-template-columns: 1.15fr .85fr; } }

.tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: var(--navy-900); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; margin-top: 2px; }

/* Ilustração do hero (cartões, sem imitar produto real) */
.stack { position: relative; min-height: 340px; }
.stack__card { position: absolute; background: var(--white); color: var(--ink); border-radius: 22px; padding: 20px 22px; box-shadow: 0 24px 50px rgba(0, 0, 0, .25); width: min(320px, 86%); }
.stack__card:nth-child(1) { top: 0; right: 0; transform: rotate(3deg); }
.stack__card:nth-child(2) { top: 120px; left: 0; transform: rotate(-3deg); }
.stack__card:nth-child(3) { top: 236px; right: 6%; transform: rotate(1.5deg); background: var(--green); color: var(--navy-900); }
.stack__card strong { display: block; font-size: 1.15rem; }
.stack__card span { color: var(--muted); font-size: .95rem; }
.stack__card:nth-child(3) span { color: var(--navy); }
@media (max-width: 899px) { .stack { display: none; } }

/* Cartões e grades */
.grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 700px) and (max-width: 999px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-top: 4px; }
.card p:last-child { margin-bottom: 0; }
.card--navy { background: var(--navy); color: var(--white); border-color: transparent; }
.card--navy p { color: #c9d4e5; }
.icon { width: 48px; height: 48px; border-radius: 14px; background: var(--green-50); color: var(--green-700); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.card--navy .icon { background: rgba(166, 205, 83, .16); color: var(--green); }
.icon svg { width: 26px; height: 26px; }
.link-arrow { font-weight: 600; color: var(--green-700); text-decoration: none; }
.card--navy .link-arrow { color: var(--green); }
.link-arrow:hover { text-decoration: underline; }

/* Passos */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--green); font-weight: 700; align-items: center; justify-content: center; margin-bottom: 14px; }
.section--navy .steps li { background: var(--navy-700); border-color: transparent; color: var(--white); }
.section--navy .steps li p { color: #c9d4e5; }
.section--navy .steps li::before { background: var(--green); color: var(--navy-900); }

/* Formulário */
.form { display: grid; gap: 16px; }
@media (min-width: 700px) { .form--2 { grid-template-columns: repeat(2, 1fr); } .form .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field select, .field input {
  width: 100%; min-height: 50px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid #cfd8e4; background: var(--white);
  font: inherit; color: var(--ink);
}
.field select:focus, .field input:focus { border-color: var(--navy); outline: 3px solid rgba(166, 205, 83, .5); outline-offset: 0; }
.field .hint { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.form-card { background: var(--white); color: var(--ink); border-radius: 24px; padding: 28px; box-shadow: 0 24px 50px rgba(0, 0, 0, .18); }
.note { font-size: .88rem; color: var(--muted); }

/* Selos */
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--green-50); color: var(--green-700); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .9rem; }
.section--navy .badge, .hero .badge { background: rgba(166, 205, 83, .15); color: var(--green); }

/* Marcas atendidas */
.brands { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.brands span { border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 20px; font-weight: 600; background: var(--white); }
.brands span.main { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Dúvidas */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 1.08rem; padding: 18px 40px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; color: var(--green-700); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 12px; }

/* Aviso de segurança */
.alert { border-left: 5px solid var(--green); background: var(--green-50); border-radius: 12px; padding: 18px 20px; }

/* Rodapé */
.footer { background: var(--navy-900); color: #b8c4d6; padding: 56px 0 96px; font-size: .95rem; }
.footer a { color: #dbe4f1; }
.footer__grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer img { height: 30px; width: auto; margin-bottom: 14px; }
.footer h3 { color: var(--white); font-size: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding-top: 20px; font-size: .85rem; }

/* Botão flutuante de WhatsApp (celular) */
.float-wa { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.float-wa svg { width: 32px; height: 32px; }

/* Aviso de configuração pendente (só aparece se o WhatsApp não foi configurado) */
.config-warning { background: #fff3cd; color: #5c4400; text-align: center; padding: 10px 16px; font-size: .9rem; font-weight: 600; }

/* Vitrine (página de venda) */
.products { display: grid; gap: 18px; }
@media (min-width: 640px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .products { grid-template-columns: repeat(3, 1fr); } }
.product { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.product__img { aspect-ratio: 4 / 3; background: var(--surface); display: flex; align-items: center; justify-content: center; }
.product__img img { width: 100%; height: 100%; object-fit: cover; }
.product__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .78rem; font-weight: 600; border-radius: 999px; padding: 3px 10px; background: var(--surface); color: var(--muted); }
.tag--new { background: var(--navy); color: var(--white); }
.tag--ready { background: var(--green-50); color: var(--green-700); }
.product__price { font-size: 1.6rem; font-weight: 700; color: var(--navy); }
.product__price small { display: block; font-size: .85rem; font-weight: 400; color: var(--muted); }
.product .btn { margin-top: auto; }
.empty { text-align: center; padding: 36px 24px; border: 2px dashed #cfd8e4; border-radius: var(--radius); background: var(--white); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media (min-width: 900px) { .float-wa { display: none; } .footer { padding-bottom: 56px; } }

/* Fotos de cena (kit visual) — imagens ilustrativas */
.media { position: relative; margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); background: var(--navy-900); }
.media img { width: 100%; height: auto; display: block; }
.media figcaption { position: absolute; right: 12px; bottom: 10px; font-size: .72rem; color: rgba(255, 255, 255, .7); background: rgba(18, 32, 58, .55); padding: 2px 8px; border-radius: 999px; }
.media__badge { position: absolute; left: 16px; bottom: 16px; background: var(--green); color: var(--navy-900); border-radius: 16px; padding: 12px 16px; font-weight: 600; max-width: 70%; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }
.media__badge span { display: block; font-weight: 400; font-size: .9rem; }
.hero__media { order: -1; }
@media (min-width: 900px) { .hero__media { order: 0; } }
.split-media { display: none; }
@media (min-width: 900px) { .split-media { display: block; } }
