/*
Theme Name: Achei no Precinho
Theme URI: https://example.com/
Author: OpenAI
Description: Tema WordPress de landing page para o grupo Achei no Precinho.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: achei-no-precinho
*/

:root {
  --bg-1: #fff8f3;
  --bg-2: #ffece2;
  --bg-3: #fbe4d8;
  --card: rgba(255, 250, 246, 0.96);
  --line: rgba(255, 123, 31, 0.18);
  --orange: #ff7b1f;
  --orange-strong: #f26500;
  --orange-soft: #ffbe97;
  --charcoal: #1b1713;
  --charcoal-soft: #322821;
  --peach: #ffd8c8;
  --peach-strong: #f7b79f;
  --rose: #f3a7a3;
  --text: #7b5a49;
  --text-soft: #a07d6c;
  --white: #fffdfb;
  --shadow: 0 24px 60px rgba(54, 32, 16, 0.14);
  --pill: 999px;
  --radius-xl: 34px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  font-family: 'Nunito', system-ui, sans-serif;
  background:
    radial-gradient(circle at 14% 14%, rgba(255, 123, 31, 0.10), transparent 18%),
    radial-gradient(circle at 84% 16%, rgba(243, 167, 163, 0.13), transparent 18%),
    radial-gradient(circle at 52% 86%, rgba(255, 190, 151, 0.18), transparent 24%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 55%, var(--bg-3) 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.card {
  position: relative;
  width: min(100%, 430px);
  min-height: min(92vh, 760px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 28px 24px 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, var(--card) 100%);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
}

.card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 26px;
  border: 1px solid rgba(255, 123, 31, 0.10);
  pointer-events: none;
  z-index: -1;
}

.bg-circle,
.bg-heart {
  position: absolute;
  pointer-events: none;
  z-index: -2;
}

.bg-circle {
  border-radius: 999px;
  filter: blur(8px);
}

.bg-circle-top {
  width: 210px;
  height: 210px;
  top: -72px;
  right: -56px;
  background: radial-gradient(circle, rgba(255,123,31,.20), rgba(255,123,31,0) 72%);
}

.bg-circle-bottom {
  width: 190px;
  height: 190px;
  left: -58px;
  bottom: -44px;
  background: radial-gradient(circle, rgba(243,167,163,.22), rgba(243,167,163,0) 72%);
}

.bg-heart::before,
.bg-heart::after {
  content: "❤";
  position: absolute;
  font-size: 20px;
  opacity: .28;
}

.bg-heart-left::before {
  color: var(--orange);
  top: 74px;
  left: 28px;
}

.bg-heart-left::after {
  color: var(--rose);
  top: 128px;
  left: 52px;
}

.bg-heart-right::before {
  color: var(--orange);
  top: 82px;
  right: 30px;
}

.bg-heart-right::after {
  color: var(--rose);
  top: 138px;
  right: 54px;
}

.logo-wrap {
  display: block;
}

.logo {
  width: 164px;
  max-width: 58vw;
  height: auto;
  border-radius: 28px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 16px 30px rgba(70, 42, 22, 0.10);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 16px;
  border-radius: var(--pill);
  background: linear-gradient(90deg, rgba(255,123,31,.14), rgba(243,167,163,.18));
  color: var(--orange-strong);
  border: 1px solid rgba(255,123,31,.10);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .6px;
}

.hero-title {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: clamp(2.3rem, 7vw, 3.4rem);
  line-height: .88;
  color: var(--charcoal);
  font-weight: 800;
  text-shadow: 0 2px 0 rgba(255,255,255,.55);
}

.headline {
  max-width: 320px;
  font-size: clamp(1rem, 3.5vw, 1.18rem);
  line-height: 1.22;
  font-weight: 900;
  color: var(--orange-strong);
  text-wrap: balance;
}

.cta {
  width: 100%;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--pill);
  background: linear-gradient(180deg, #31e06f 0%, #25d366 55%, #1ebe5d 100%);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 28px rgba(37, 211, 102, 0.28);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  filter: brightness(.99);
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.34);
}

.pulse {
  animation: pulseButton 1.8s ease-in-out infinite;
}

@keyframes pulseButton {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}

.cta-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.cta-icon svg {
  width: 100%;
  height: 100%;
}

.socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.social {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--line);
  color: var(--charcoal-soft);
  box-shadow: 0 10px 18px rgba(54, 32, 16, 0.08);
  transition: transform .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.social:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(54, 32, 16, 0.12);
  border-color: rgba(255,123,31,.26);
}

.social-instagram:hover,
.social-facebook:hover {
  color: var(--orange-strong);
}

.social svg {
  width: 21px;
  height: 21px;
}

.mini-text {
  max-width: 320px;
  font-size: .95rem;
  line-height: 1.36;
  font-weight: 700;
  color: var(--text);
}

.social-proof {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 24px);
  width: min(92vw, 360px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 251, 248, 0.94);
  border: 1px solid rgba(255, 123, 31, 0.12);
  box-shadow: 0 14px 30px rgba(54, 32, 16, 0.12);
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
}

.social-proof.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.social-proof-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(255, 123, 31, 0.14);
  flex-shrink: 0;
}

.social-proof p {
  font-size: .96rem;
  font-weight: 700;
}

.social-proof strong {
  color: var(--charcoal);
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

@media (max-width: 520px) {
  .screen {
    padding: 10px;
  }

  .card {
    min-height: calc(100vh - 20px);
    padding: 20px 18px 20px;
    gap: 12px;
  }

  .logo {
    width: 150px;
  }

  .eyebrow {
    font-size: 11px;
    min-height: 32px;
    padding: 8px 14px;
  }

  .headline {
    max-width: 292px;
  }

  .cta {
    min-height: 52px;
    font-size: 1rem;
  }

  .mini-text {
    font-size: .92rem;
  }

  .social-proof {
    bottom: 10px;
    width: min(94vw, 350px);
  }
}

@media (max-height: 740px) {
  .card {
    gap: 10px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .logo {
    width: 138px;
  }

  .hero-title {
    font-size: clamp(2rem, 6.7vw, 2.8rem);
  }

  .headline {
    font-size: .98rem;
  }

  .mini-text {
    font-size: .88rem;
  }

  .social {
    width: 42px;
    height: 42px;
  }
}
