/* Achei Cuidador - styles.css */
:root{
  --brand:#612299;
  --cta:#FA4B00;
  --muted:#A9AAAE;
  --success:#02FB68;

  --bg:#FFFFFF;
  --bg-soft:#F7F7FB;
  --text:#12131A;
  --border:#E7E7EF;

  --radius:18px;
  --shadow:0 18px 40px rgba(18, 19, 26, .10);
  --shadow-soft:0 10px 25px rgba(18, 19, 26, .08);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
}
a{ color:inherit; text-decoration:none; }

/* Cor do texto principal do hero */
.brand-pill{
  color: #612299;
}

.hero h1{
  color: #612299;
}


.container{
  width:min(1100px, calc(100% - 40px));
  margin:0 auto;
}
.container-r{
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* HEADER */
.header{
  position: sticky;
  top: 0;
  z-index: 40;
  background: #612299; /* cor da marca */
  border-bottom: none;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 16px 0; /* um pouco mais alto para acomodar logo maior */
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 0;
}
/* ✅ LOGO MAIOR NO HEADER */
.brand img{
  height: 68px;   /* aumentado */
  width: auto;
  display:block;
}

.nav{
  display:flex;
  align-items:center;
  gap:16px;
  color: rgba(18,19,26,.72);
  font-weight: 700;
  font-size: 14px;
}
.nav a:hover{ color: var(--brand); }

.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

/* HERO */
.hero{
  position:relative;
  overflow:hidden;
  padding: 48px 0 64px;
  background:
    radial-gradient(900px 520px at 15% 10%, rgba(64,13,232,.18), transparent 60%),
    radial-gradient(700px 420px at 80% 25%, rgba(250,75,0,.14), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid{
  display:grid;
  gap:28px;
  align-items:center;
  grid-template-columns: 1.05fr .95fr;
}

.brand-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
  border-radius:999px;
  box-shadow: var(--shadow-soft);
  font-weight:600;
  font-size: 13px;
}
.dot{
  width:10px;height:10px;border-radius:999px;background:var(--success);
  box-shadow: 0 0 0 4px rgba(2,251,104,.14);
}

h1{
  margin: 14px 0 10px;
  font-size: clamp(32px, 4vw, 46px);
  line-height:1.08;
  letter-spacing:-0.02em;
}
.sub{
  margin: 0 0 22px;
  color: rgba(18,19,26,.82);
  font-size: 16px;
  line-height:1.6;
  max-width: 56ch;
}

.cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  margin-top: 8px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 7px;
  border:1px solid transparent;
  font-weight:700;
  cursor:pointer;
  transition: transform .08s ease, box-shadow .2s ease, opacity .2s ease, background .2s ease, border-color .2s ease;
  user-select:none;
  min-height: 46px;
  white-space:nowrap;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: var(--cta);
  color:#fff;
  box-shadow: 0 14px 26px rgba(250,75,0,.20);
}
.btn-primary:hover{ opacity:.95; }

.btn-outline{
  background: rgba(255,255,255,.72);
  color: var(--brand);
  border-color: rgba(64,13,232,.22);
  box-shadow: var(--shadow-soft);
}
.btn-outline:hover{ border-color: rgba(64,13,232,.35); }

.how-steps{
  list-style: none;
  padding: 0;
}

.how-steps li{
  position: relative;
  padding-left: 28px;
  line-height: 1.8;
}

.how-steps li::before{
  content: "✓";
  position: absolute;
  left: 0;
  color: #000000;
  font-weight: 900;
}

/* ===== CONTATO ===== */
.contact-form{
  margin-top: 32px;
  max-width: 720px;
}

.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form .field{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form textarea{
  resize: vertical;
}

.captcha{
  margin: 16px 0 20px;
}

@media (max-width: 640px){
  .form-grid{
    grid-template-columns: 1fr;
  }
}

.store-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top: 16px;
}
.store-btn{
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
  display:flex;
  align-items:center;
  gap:12px;
  cursor:pointer;
  min-width: 210px;
  transition: transform .08s ease, border-color .2s ease, box-shadow .2s ease;
}
.store-btn:hover{
  border-color: rgba(64,13,232,.22);
  box-shadow: 0 14px 30px rgba(18,19,26,.10);
}
.store-icon{
  width:38px;height:38px;border-radius:12px;
  display:grid;place-items:center;
  background: rgba(64,13,232,.10);
  color: var(--brand);
  font-weight:900;
}
.store-meta{
  display:flex;
  flex-direction:column;
  gap:2px;
  line-height:1.1;
}
.store-meta small{ color: rgba(18,19,26,.66); font-weight:600; }
.store-meta strong{ font-size: 14px; }
.badge{
  margin-left:auto;
  padding: 7px 10px;
  border-radius:999px;
  border:1px solid rgba(169,170,174,.45);
  color: rgba(18,19,26,.70);
  font-weight:800;
  font-size: 12px;
  background: rgba(255,255,255,.85);
}

.trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 18px;
}
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.75);
  color: #000000;
  font-weight:700;
  font-size: 13px;
}
.chip .check{
  width:18px;height:18px;border-radius:6px;
  display:grid;place-items:center;
  background: rgba(0,0,0,.10);
  color: #000000;
  font-weight:900;
}

/* Side card */
.side-card{
  border:1px solid var(--border);
  border-radius: 22px;
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 18px;
}
.side-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom: 14px;
}
.logo-box{
  width:56px;height:56px;border-radius:18px;
  background: rgba(64,13,232,.10);
  display:grid;
  place-items:center;
  padding:10px;
  overflow:hidden;
}
.logo-box img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  display:block;
}
.tag{
  font-size:12px;
  font-weight:900;
  color:#0A2A17;
  background: rgba(2,251,104,.16);
  border: 1px solid rgba(2,251,104,.30);
  padding: 8px 10px;
  border-radius:999px;
  white-space:nowrap;
}
.side-title{
  margin: 6px 0 10px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing:-0.01em;
}
.side-list{
  display:grid;
  gap:10px;
}
.mini{
  border:1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255,255,255,.75);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.mini-left{
  display:flex; flex-direction:column; gap:4px;
  min-width: 0;
}
.mini-left strong{ font-size: 13px; }
.mini-left span{ font-size: 12px; color: rgba(18,19,26,.62); }
.status{
  font-size:12px;
  font-weight:900;
  color:#0A2A17;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(2,251,104,.14);
  border: 1px solid rgba(2,251,104,.30);
  white-space:nowrap;
}
.politica h2{
  margin-top: 28px;
  margin-bottom: 10px;
  color: #612299;
  font-size: 18px;
}

.politica p{
  margin-bottom: 12px;
  line-height: 1.7;
}

.politica ul{
  margin: 10px 0 18px;
  padding-left: 20px;
}

.politica li{
  margin-bottom: 8px;
}

/* Sections */
.section{
  padding: 56px 0;
}
.section.soft{
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

/* Responsivo */
@media (max-width: 980px){
  .nav{ display:none; }
}
@media (max-width: 900px){
  .hero{ padding: 40px 0 52px; }
  .hero-grid{ grid-template-columns: 1.05fr .95fr; }
  .side-card{ order: 2; }
}
@media (max-width: 520px){
  .container{ width: calc(100% - 28px); }
  .store-btn{ min-width: 100%; }
  .btn{ width: 100%; }
  .cta-row{ gap: 10px; }
  .header-inner{ padding: 12px 0; }
  /* ✅ Logo grande, mas controlado no mobile */
  .brand img{ height: 44px; }
}

/* Modal */
.modal-overlay{
  position:fixed;
  inset:0;
  background: rgba(10,10,16,.55);
  display:none;
  align-items:center;
  justify-content:center;
  padding: 18px;
  z-index: 50;
}
.modal-overlay.open{ display:flex; }

.modal{
  width: min(560px, 100%);
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px rgba(0,0,0,.28);
  overflow:hidden;
  transform: translateY(4px);
  animation: pop .14s ease-out forwards;
}
@keyframes pop{ to{ transform: translateY(0); } }
.modal-header{
  padding: 16px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(64,13,232,.08), rgba(255,255,255,0));
}
.modal-header strong{ font-size: 14px; letter-spacing:-0.01em; }
.close{
  border:1px solid var(--border);
  background:#fff;
  border-radius: 12px;
  width: 42px;
  height: 38px;
  cursor:pointer;
  font-weight:900;
  color: rgba(18,19,26,.70);
}
.modal-body{ padding: 18px; display:grid; gap: 14px; }
.modal-title{ font-size: 20px; font-weight: 900; letter-spacing:-0.02em; margin: 0; }
.modal-sub{ margin: 0; color: rgba(18,19,26,.75); line-height:1.55; }

.segmented{ display:flex; gap:10px; flex-wrap:wrap; }
.segmented input{ display:none; }
.segmented label{
  flex: 1 1 auto;
  text-align:center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 800;
  cursor:pointer;
  user-select:none;
  transition: border-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.segmented input:checked + label{
  border-color: rgba(64,13,232,.25);
  box-shadow: 0 12px 22px rgba(64,13,232,.10);
  color: var(--brand);
}

.field{ display:grid; gap:8px; }
.field label{ font-size: 12px; font-weight: 900; color: rgba(18,19,26,.70); }
.input{
  width:100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  outline:none;
  font-weight: 700;
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input:focus{
  border-color: rgba(64,13,232,.35);
  box-shadow: 0 0 0 4px rgba(64,13,232,.10);
}
.hint{ font-size: 12px; color: rgba(18,19,26,.60); }

.modal-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top: 4px; }
.btn-whats{
  background: rgba(64,13,232,.08);
  border: 1px solid rgba(64,13,232,.20);
  color: var(--brand);
}

.success-box{
  display:none;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(2,251,104,.30);
  background: rgba(2,251,104,.12);
  color:#0A2A17;
  font-weight: 800;
  line-height:1.35;
}

.error{
  display:none;
  font-size: 12px;
  font-weight: 800;
  color: #B00020;
}
.header .btn-outline{
  background: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255,255,255,.7);
}

.header .btn-outline:hover{
  background: rgba(255,255,255,.12);
  border-color: #FFFFFF;
}

/* Reserva a coluna direita (para a foto) sem colocar card */
.hero-spacer{
  min-height: 520px;
}
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-spacer{ display:none; }
}

/* ===== HERO (imagem 4) como fundo – versão definitiva ===== */
.hero{
  min-height: 640px;
  background-image:
    linear-gradient(
      90deg,
      rgba(247,247,251,0.98) 0%,
      rgba(247,247,251,0.92) 34%,
      rgba(247,247,251,0.62) 48%,
      rgba(247,247,251,0.10) 60%,
      rgba(247,247,251,0.00) 66%
    ),
    url("assets/images/hero-achei-4.jpg") !important;
  background-size: auto, cover !important;
  background-position: left center, 85% center !important;
  background-repeat: no-repeat !important;
}

/* Mantém o conteúdo do hero sempre na coluna esquerda */
.hero-grid > section{
  max-width: 620px;
}

/* Mobile: texto acima e imagem como fundo discreto */
@media (max-width: 900px){
  .hero{
    min-height: auto;
    padding-top: 72px;
    background-image:
      linear-gradient(
        180deg,
        rgba(247,247,251,0.98) 0%,
        rgba(247,247,251,0.90) 55%,
        rgba(247,247,251,0.55) 80%,
        rgba(247,247,251,0.00) 100%
      ),
      url("assets/images/hero-achei-4.jpg") !important;
    background-size: auto, cover !important;
    background-position: top center, center top !important;
  }
}

/* Espaçamento extra entre texto do hero e botões */
.hero-description{
  margin-bottom: 36px;
}


/* ===== Como funciona (Família x Cuidador) ===== */
.section-title{
  margin:0 0 10px;
  color: var(--brand);
  letter-spacing:-0.02em;
}
.section-sub{
  margin:0 0 22px;
  color: rgba(18,19,26,.78);
  line-height:1.6;
  max-width: 78ch;
}

.how-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.how-card{
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255,255,255,.80);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.how-card h3{
  margin: 10px 0 12px;
  font-size: 18px;
  letter-spacing:-0.01em;
}

.how-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 16px;
  color: #fff;
  background: var(--brand);
  border: 1px solid rgba(255,255,255,.20);
}

.how-badge-alt{
  background: var(--cta);
}

.how-list{
  margin: 0;
  padding-left: 18px;
  display:grid;
  gap: 10px;
  color: rgba(18,19,26,.82);
  line-height: 1.55;
  font-weight: 600;
}

.how-list strong{
  font-weight: 900;
  color: rgba(18,19,26,.92);
}

@media (max-width: 900px){
  .how-grid{ grid-template-columns: 1fr; }
}


/* ===== MENU MOBILE (correção sem alterar conteúdo) ===== */
.menu-toggle{
  display:none;
  border: 2px solid rgba(255,255,255,.70);
  background: rgba(255,255,255,.10);
  color: #fff;
  border-radius: 12px;
  height: 42px;
  padding: 0 12px;
  font-weight: 900;
  cursor: pointer;
  line-height: 1;
}

.site-nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap: wrap;
}

.brand{ flex: 0 0 auto; }
.site-nav{ flex: 1 1 auto; justify-content:flex-end; }

@media (max-width: 980px){
  .menu-toggle{ display:inline-flex; align-items:center; justify-content:center; }

  .brand img{ height: 44px; }

  .site-nav{
    display:none;
    position:absolute;
    left: 12px;
    right: 12px;
    top: 78px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(97,34,153,.98);
    box-shadow: 0 18px 40px rgba(18,19,26,.18);
    border: 1px solid rgba(255,255,255,.18);
    flex-direction: column;
    align-items: stretch;
    gap: 10px;

    max-height: calc(100vh - 110px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav.open{ display:flex; }

  .site-nav .btn{ width: 100%; justify-content:center; }
  .header-inner{ position: relative; }
}

/* ===== WhatsApp flutuante ===== */
.whatsapp-float{
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  z-index: 9999;
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float img{
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover{
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}

@media (max-width: 640px){
  .whatsapp-float{
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}
