/* =====================================================
   DropBlue - Soluções de Backup em Nuvem
   ===================================================== */
:root {
  --blue-900: #0b2f66;
  --blue-800: #123d85;
  --blue-700: #1e4fa3;   /* "Drop" */
  --blue-500: #3ba7e8;   /* "Blue" */
  --blue-300: #7fd4ff;
  --blue-100: #e6f4fd;
  --blue-50:  #f3f9fe;
  --yellow:   #ffd23f;
  --ink:      #1f2937;
  --ink-soft: #4b5563;
  --muted:    #6b7280;
  --line:     #e5eaf1;
  --white:    #ffffff;
  --radius:   14px;
  --shadow:   0 10px 30px rgba(11, 47, 102, .10);
  --shadow-lg:0 24px 60px rgba(11, 47, 102, .18);
  --font-body: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-head: 'Quicksand', 'Nunito', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-700); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--blue-900); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 500; }
h1 strong { font-weight: 700; color: var(--blue-700); font-style: italic; text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.1rem; color: var(--ink-soft); }
.container { width: min(1180px, 92%); margin-inline: auto; }
.narrow { width: min(820px, 92%); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue-500); margin-bottom: .6rem;
}
.eyebrow--yellow { color: var(--yellow); }
.wordmark { font-family: var(--font-head); color: var(--blue-500); white-space: nowrap; }
.wordmark b { color: var(--blue-700); font-weight: 700; }
.section--dark .wordmark, .section--dark .wordmark b, .section--blue .wordmark, .section--blue .wordmark b { color: var(--white); }
.section--dark .wordmark { color: var(--blue-300); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 999px; font-weight: 800; font-family: var(--font-body);
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-size: 1rem; line-height: 1;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--primary { background: var(--blue-700); color: var(--white); }
.btn--primary:hover { background: var(--blue-800); }
.btn--accent { background: var(--blue-500); color: var(--white); }
.btn--accent:hover { background: #2b95d6; }
.btn--ghost { background: transparent; color: var(--blue-700); border-color: var(--blue-700); }
.btn--ghost:hover { background: var(--blue-100); }
.btn--small { padding: .55rem 1.1rem; font-size: .9rem; }
.btn--block { width: 100%; }

/* ---------- Barra superior: login ---------- */
.topbar { background: var(--blue-900); color: var(--white); font-size: .9rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 46px; }
.topbar__contact { display: flex; gap: 1.5rem; }
.topbar__contact a { color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: .4rem; }
.topbar__contact a:hover { color: var(--white); }

.login { display: flex; align-items: center; gap: .5rem; padding: .35rem 0; }
.login__label { font-weight: 800; color: var(--blue-300); margin-right: .25rem; white-space: nowrap; }
.login input {
  height: 34px; padding: 0 .75rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1); color: var(--white); font-family: inherit; font-size: .9rem; width: 160px;
}
.login input::placeholder { color: rgba(255,255,255,.55); }
.login input:focus { outline: 2px solid var(--blue-500); outline-offset: 1px; background: rgba(255,255,255,.16); }
.login .btn { height: 34px; }
.login__forgot { color: rgba(255,255,255,.65); font-size: .8rem; margin-left: .25rem; white-space: nowrap; }
.login__forgot:hover { color: var(--white); text-decoration: underline; }
.login__msg { font-size: .8rem; font-weight: 700; color: #ffb4b4; white-space: nowrap; }
.login__msg:empty { display: none; }
.login__toggle {
  display: none; background: var(--blue-500); color: var(--white); border: 0; border-radius: 999px;
  padding: .45rem 1rem; font-weight: 800; font-family: inherit; cursor: pointer;
}

/* ---------- Cabeçalho ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 84px; }
.brand img { width: 230px; height: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.nav a:hover { color: var(--blue-700); }
.nav .btn { color: var(--white); }
.nav__burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.nav__burger span { display: block; height: 3px; background: var(--blue-700); border-radius: 3px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%); }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; padding: 5rem 0 4rem; position: relative; z-index: 1; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0; }
.hero__badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.2rem; color: var(--ink-soft); font-weight: 700; font-size: .95rem; }
.hero__badges li { display: inline-flex; align-items: center; gap: .4rem; }

.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.cloud { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #b9e8ff, #5ec2f4 60%, #3ba7e8); filter: blur(2px); opacity: .55; }
.cloud::before, .cloud::after { content: ""; position: absolute; border-radius: 50%; background: inherit; }
.cloud--1 { width: 260px; height: 160px; right: -60px; bottom: -40px; border-radius: 120px; }
.cloud--1::before { width: 140px; height: 140px; left: 30px; top: -60px; }
.cloud--1::after { width: 110px; height: 110px; left: 130px; top: -40px; }
.cloud--2 { width: 200px; height: 120px; right: 260px; bottom: -30px; border-radius: 100px; opacity: .35; }
.cloud--2::before { width: 110px; height: 110px; left: 30px; top: -50px; }
.cloud--3 { width: 160px; height: 100px; left: -40px; top: 60px; border-radius: 80px; opacity: .25; }
.cloud--3::before { width: 90px; height: 90px; left: 35px; top: -40px; }

.hero__visual { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 380px; }
.safe {
  position: relative; width: 240px; height: 290px; border-radius: 16px;
  background: linear-gradient(160deg, #2a5cb8, #123d85 60%, #0b2f66);
  box-shadow: var(--shadow-lg), inset 0 0 0 6px rgba(255,255,255,.06);
  transform: rotate(-6deg);
}
.safe::after {
  content: ""; position: absolute; inset: 0; border-radius: 16px; opacity: .18;
  background-image: repeating-linear-gradient(0deg, transparent 0 8px, rgba(255,255,255,.35) 8px 9px);
}
.safe__door { position: absolute; inset: 34px 26px 26px; border-radius: 12px; border: 3px solid rgba(255,255,255,.18); }
.safe__dial {
  position: absolute; left: 50%; top: 45%; width: 84px; height: 84px; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #2c2c2c, #050505 70%); border: 8px solid #d9dee5;
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
}
.safe__dial::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; transform: translate(-50%,-50%); border-radius: 50%; border: 3px solid #555; }
.safe__vents { position: absolute; right: 18px; top: 26px; display: grid; gap: 6px; }
.safe__vents i { display: block; width: 34px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.25); }
.safe__slot { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 90px; height: 6px; border-radius: 3px; background: rgba(0,0,0,.45); }
.binary {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); display: grid; gap: 4px;
  font-family: monospace; font-size: .8rem; color: var(--blue-700); opacity: .35; letter-spacing: 3px; text-align: center;
  animation: rain 3s linear infinite;
}
@keyframes rain { 0% { transform: translate(-50%, -10px); opacity: 0; } 30% { opacity: .35; } 100% { transform: translate(-50%, 70px); opacity: 0; } }

/* ---------- Seções ---------- */
.section { padding: 5rem 0; }
.section--soft { background: var(--blue-50); }
.section--dark { background: linear-gradient(135deg, var(--blue-900), var(--blue-800)); color: rgba(255,255,255,.9); }
.section--dark h2, .section--blue h2, .section--blue h3 { color: var(--white); }
.section--blue { background: var(--blue-700); color: rgba(255,255,255,.92); }
.section__head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section__head--light .lead { color: rgba(255,255,255,.85); }
.highlight { font-family: var(--font-head); font-size: 1.5rem; font-weight: 500; color: var(--white); margin-top: 1.5rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split--top { align-items: start; }
.split__text .btn { margin-top: .5rem; }

/* Teclado "PANIC" */
.panic { position: relative; width: 100%; max-width: 420px; aspect-ratio: 4/3; margin-inline: auto; border-radius: 20px;
  background: linear-gradient(160deg, #2b2b2b, #0e0e0e); box-shadow: var(--shadow-lg); display: grid; place-items: center; overflow: hidden; }
.panic__key {
  width: 42%; aspect-ratio: 1.2; border-radius: 12px; display: grid; place-items: center; font-weight: 900; letter-spacing: .1em;
  color: var(--white); font-size: 1.4rem; transform: rotate(-12deg);
  background: linear-gradient(160deg, #ff5a4e, #c0261a); box-shadow: 0 14px 30px rgba(0,0,0,.5), inset 0 2px 0 rgba(255,255,255,.4);
}
.panic__keys { position: absolute; inset: 0; pointer-events: none; }
.panic__keys i { position: absolute; width: 60px; height: 60px; border-radius: 10px; background: #1a1a1a; color: #999; font-style: normal; display: grid; place-items: center; font-weight: 700; box-shadow: inset 0 2px 0 rgba(255,255,255,.08), 0 4px 10px rgba(0,0,0,.6); }
.panic__keys i:nth-child(1) { left: 8%; top: 12%; }
.panic__keys i:nth-child(2) { right: 8%; top: 10%; }
.panic__keys i:nth-child(3) { right: 14%; bottom: 14%; }
.panic__keys i:nth-child(4) { left: 6%; bottom: 20%; }
.panic__keys i:nth-child(5) { left: 30%; bottom: 6%; }
.panic__keys i:nth-child(6) { right: 32%; top: 8%; }

/* Cards */
.grid { display: grid; gap: 1.4rem; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-size: 1.5rem; background: var(--blue-100); margin-bottom: 1rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.feature { padding: 1.6rem; border-radius: var(--radius); background: var(--blue-50); border: 1px solid var(--line); }
.feature__icon { font-size: 2rem; margin-bottom: .6rem; }
.feature p { margin: 0; color: var(--ink-soft); }

/* Chips e checklist */
.chips { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { background: var(--blue-100); color: var(--blue-800); font-weight: 700; padding: .5rem 1rem; border-radius: 999px; border-left: 5px solid var(--yellow); }
.checklist { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
.checklist li { padding-left: 2rem; position: relative; font-weight: 600; color: var(--ink-soft); }
.checklist li::before { content: "✔"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-500); color: var(--white); font-size: .75rem; display: grid; place-items: center; }

/* Passos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 1rem; counter-reset: step; }
.steps li { position: relative; text-align: center; padding: 1.2rem .6rem 0; }
.steps li::before { content: ""; position: absolute; top: 44px; left: 50%; width: 100%; height: 2px; background: rgba(255,255,255,.25); z-index: 0; }
.steps li:last-child::before { display: none; }
.steps__icon { position: relative; z-index: 1; display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto .9rem; border-radius: 50%; background: var(--white); font-size: 2.2rem; box-shadow: 0 10px 25px rgba(0,0,0,.25); }
.steps__n { position: absolute; top: 4px; left: calc(50% + 24px); width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: var(--blue-900); font-weight: 900; display: grid; place-items: center; font-size: .85rem; z-index: 2; }
.steps h3 { font-size: .95rem; color: var(--white); font-weight: 700; }

/* Stats */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.stat { background: var(--white); border-radius: var(--radius); padding: 1.6rem; text-align: center; box-shadow: var(--shadow); }
.stat strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--blue-700); }
.stat span { color: var(--muted); font-weight: 600; font-size: .9rem; }

/* Formulários */
.form { display: grid; gap: 1rem; background: var(--white); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form--light { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); box-shadow: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 700; font-size: .9rem; }
.form--light label { color: rgba(255,255,255,.9); }
.form input, .form textarea {
  font: inherit; padding: .75rem .9rem; border-radius: 10px; border: 1px solid var(--line); background: var(--blue-50); color: var(--ink); width: 100%;
}
.form--light input { background: rgba(255,255,255,.95); border-color: transparent; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--blue-500); outline-offset: 1px; }
.form textarea { resize: vertical; }
.form__msg { margin: 0; font-weight: 700; min-height: 1.2em; }
.form__msg.ok { color: #16a34a; }
.form--light .form__msg.ok { color: var(--yellow); }
.form__msg.err { color: #dc2626; }
.form--light .form__msg.err { color: #ffb4b4; }
.form input.invalid, .form textarea.invalid { outline: 2px solid #dc2626; }

.contact-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .6rem; font-weight: 700; }
.contact-list li { display: flex; align-items: center; gap: .6rem; }

/* Rodapé */
.footer { background: var(--blue-900); color: rgba(255,255,255,.8); padding: 3.5rem 0 1.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer__logo { width: 200px; margin-bottom: 1rem; background: var(--white); padding: .6rem .8rem; border-radius: 10px; }
.footer h4 { color: var(--white); margin-bottom: .8rem; }
.footer a { display: block; color: rgba(255,255,255,.75); margin-bottom: .45rem; }
.footer a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .85rem; text-align: center; }

/* WhatsApp flutuante */
.whatsapp { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--white); display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 10px 25px rgba(0,0,0,.25); z-index: 60; transition: transform .15s; }
.whatsapp:hover { transform: scale(1.08); }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .topbar__contact { display: none; }
}
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; padding: 3rem 0 2.5rem; }
  .hero__visual { min-height: 300px; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--white); padding: 1rem 4%; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); gap: .2rem; }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: .6rem; }
  .nav__burger { display: flex; }
  /* login vira botão + painel dobrável */
  .topbar__inner { flex-wrap: wrap; justify-content: flex-end; padding: .4rem 0; }
  .login__toggle { display: inline-flex; align-items: center; gap: .4rem; }
  .login { display: none; width: 100%; flex-wrap: wrap; order: 2; padding: .6rem 0 .8rem; }
  .login.open { display: flex; }
  .login__label { width: 100%; }
  .login input { flex: 1 1 140px; width: auto; }
}
@media (max-width: 560px) {
  .grid--4, .grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .brand img { width: 180px; }
}
