/* ============================================================
   RIBEIRO TEAM — Layout 03 · CLEAN
   Minimalista: branco, um único acento índigo, muito respiro
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:     #ffffff;
  --soft:   #f7f8fa;
  --card:   #ffffff;
  --txt:    #14172a;
  --mut:    #6b7186;
  --ind:    #4f46e5;
  --ind-d:  #4338ca;
  --line:   #ecedf3;
  --grad:   linear-gradient(120deg, #4f46e5, #06b6d4);
  --shadow: 0 1px 2px rgba(20,23,42,.04), 0 8px 24px rgba(20,23,42,.05);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 700; letter-spacing: -.025em; line-height: 1.14; }
::selection { background: var(--ind); color: #fff; }
a:focus-visible { outline: 2px solid var(--ind); outline-offset: 3px; }
section[id], header[id] { scroll-margin-top: 84px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ───── NAV ───── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 99;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px 5vw;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
#nav.sc { border-bottom-color: var(--line); }
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--txt);
  font-weight: 700; font-size: 16px;
}
.brand img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.brand b { color: var(--ind); }
.links { display: flex; gap: 30px; }
.links a {
  color: var(--mut); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.links a:hover { color: var(--txt); }
.navcta {
  background: var(--ind); color: #fff;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  padding: 10px 20px; border-radius: 10px;
  transition: background .2s;
}
.navcta:hover { background: var(--ind-d); }

/* ───── HERO ───── */
.hero {
  position: relative;
  padding: 160px 5vw 96px;
  text-align: center;
  overflow: hidden;
}

.pill {
  display: inline-block;
  background: var(--soft); color: var(--mut);
  border: 1px solid var(--line);
  font-size: 13px; font-weight: 600;
  padding: 7px 16px; border-radius: 999px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom: 22px;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.sub {
  max-width: 560px; margin: 0 auto 36px;
  color: var(--mut); font-size: 17px;
}
.actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  padding: 14px 28px; border-radius: 12px;
  transition: .2s;
}
.btn-grad {
  background: var(--ind); color: #fff;
}
.btn-grad:hover { background: var(--ind-d); transform: translateY(-2px); }
.btn-soft {
  background: var(--card); color: var(--txt);
  border: 1px solid var(--line);
}
.btn-soft:hover { border-color: var(--mut); }

/* foto + chips estáticos */
.hero-card {
  position: relative; z-index: 1;
  max-width: 420px; margin: 64px auto 0;
}
.hero-photo {
  border-radius: 24px;
  background: linear-gradient(165deg, #eceefb 0%, #e6f6fa 100%);
  box-shadow: 0 24px 60px rgba(20,23,42,.14);
  overflow: hidden;
}
.hero-photo img { width: 100%; height: auto; display: block; }
.chip {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px; font-weight: 600;
  padding: 9px 16px;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.chip b { color: var(--ind); }
.chip.c1 { top: 22px; left: -64px; }
.chip.c2 { top: 45%; right: -78px; }
.chip.c3 { bottom: 30px; left: -52px; }

/* entrada do hero */
.fx { opacity: 0; transform: translateY(18px); animation: up .7s cubic-bezier(.16,1,.3,1) forwards; }
.fx.d1 { animation-delay: .1s; } .fx.d2 { animation-delay: .2s; }
.fx.d3 { animation-delay: .3s; } .fx.d4 { animation-delay: .42s; }
@keyframes up { to { opacity: 1; transform: none; } }

/* ───── Seções ───── */
.sec { max-width: 1080px; margin: 0 auto; padding: 80px 5vw; }
.sec-head { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.tag {
  display: inline-block;
  color: var(--ind);
  font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 14px;
}
.sec-head h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
.sec-head p { color: var(--mut); }

/* reveal */
.rv { opacity: 0; transform: translateY(22px); transition: .6s cubic-bezier(.16,1,.3,1); }
.rv.show { opacity: 1; transform: none; }

/* ───── Cards ───── */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover {
  border-color: #d9dbe7;
  box-shadow: var(--shadow);
}
.card .ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  font-size: 22px;
  background: var(--soft);
  border-radius: 12px;
  margin-bottom: 18px;
}
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--mut); font-size: 14.5px; }

/* ───── Split (call) ───── */
.split {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.split-img {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #eceefb 0%, #e6f6fa 100%);
}
.split-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.split-txt { padding: 52px; }
.split-txt h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; }
.split-txt > p { color: var(--mut); margin-bottom: 24px; }
.checks { list-style: none; margin-bottom: 32px; }
.checks li {
  position: relative;
  padding: 8px 0 8px 34px;
  font-weight: 500; font-size: 15px;
}
.checks li::before {
  content: "✓";
  position: absolute; left: 0; top: 6px;
  width: 22px; height: 22px;
  background: var(--soft); color: var(--ind);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}

/* ───── Acordeão do método ───── */
.acc { max-width: 720px; margin: 0 auto; display: grid; gap: 10px; }
.acc details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s;
}
.acc details[open] { border-color: #d9dbe7; }
.acc summary {
  list-style: none;
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px;
  font-weight: 600; font-size: 16px;
  cursor: pointer;
  user-select: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary b {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--soft);
  color: var(--ind);
  border-radius: 10px;
  font-size: 14px;
  transition: .2s;
}
.acc details[open] summary b { background: var(--ind); color: #fff; }
.acc .pm { margin-left: auto; position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.acc .pm::before, .acc .pm::after {
  content: ""; position: absolute; background: var(--mut); border-radius: 2px;
  transition: transform .3s;
}
.acc .pm::before { left: 0; right: 0; top: 7px; height: 2px; }
.acc .pm::after { top: 0; bottom: 0; left: 7px; width: 2px; }
.acc details[open] .pm::after { transform: scaleY(0); }
.acc details p {
  padding: 0 22px 20px 74px;
  color: var(--mut); font-size: 14.5px;
}

/* ───── Resultados ───── */
.results { max-width: 880px; margin: 0 auto; }
.res {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.res:hover { border-color: #d9dbe7; box-shadow: var(--shadow); }
.res .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.res .ph { position: relative; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; }
.res .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.res:hover .ph img { transform: scale(1.04); }
.res .ph span {
  position: absolute; bottom: 10px; left: 10px;
  background: rgba(255,255,255,.92); color: var(--txt);
  font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
}
.res .ph span.aft { background: var(--ind); color: #fff; }
.res figcaption {
  text-align: center; padding: 14px 0 6px;
  font-weight: 600; font-size: 14px; color: var(--mut);
}

/* ───── Banner CTA ───── */
.banner {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 24px;
  text-align: center;
  color: var(--txt);
  padding: 80px 30px;
}
.banner::before, .banner::after { content: none; }
.banner h2 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 12px; }
.banner p { color: var(--mut); font-weight: 500; margin-bottom: 32px; }

/* ───── Footer ───── */
footer {
  max-width: 1080px; margin: 0 auto;
  padding: 40px 5vw 64px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--mut); font-size: 13px; font-weight: 500;
}
footer a { color: var(--ind); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ───── Botão flutuante de WhatsApp ───── */
#wapp {
  position: fixed; bottom: 24px; right: 24px; z-index: 97;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
}
#wapp:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(37,211,102,.5); }
#wapp svg { width: 30px; height: 30px; fill: #fff; }

/* ───── Responsivo ───── */
@media (max-width: 900px) {
  .links { display: none; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-img img { max-height: 320px; }
  .chip.c1 { left: 8px; }
  .chip.c2 { right: 8px; }
  .chip.c3 { left: 8px; }
}

@media (max-width: 560px) {
  .hero { padding: 120px 20px 70px; }
  .sec { padding: 56px 20px; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .split-txt { padding: 32px 24px; }
  .acc details p { padding-left: 22px; }
  .banner { padding: 60px 22px; border-radius: 20px; }
  .actions { flex-direction: column; }
  .btn { text-align: center; }
  footer { padding-bottom: 90px; }
  #wapp { bottom: 16px; right: 16px; width: 52px; height: 52px; }
  #wapp svg { width: 28px; height: 28px; }
}
