/* ====================================================================
   iLoup — folha de estilo principal
   Paleta: navy + azul ciano + branco (da logo iLoup)
   ==================================================================== */

:root {
  --blue: #1685d6;        /* azul interativo (contraste em branco) */
  --blue-700: #0f6cb0;
  --brand: #1ba3e0;       /* azul ciano da logo iLoup */
  --navy: #16294d;        /* navy da logo */
  --navy-900: #0e1d3a;
  --sky: #1ba3e0;
  --sky-300: #7dd3fc;
  --blue-100: #d4ecf9;
  --blue-50: #eef8fd;
  --ink: #0f172a;
  --gray: #64748b;
  --gray-300: #94a3b8;
  --line: #e2e8f0;
  --paper: #f8fafc;
  --white: #ffffff;

  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --maxw: 1180px;
  --radius: 16px;
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 40px rgba(15, 23, 42, 0.10);
  --shadow-blue: 0 8px 22px rgba(37, 99, 235, 0.28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue);
  display: inline-block;
}

/* ---------- Botões ---------- */
.btn {
  font-family: var(--display); font-weight: 700; font-size: 15px;
  padding: 13px 24px; border-radius: 10px; cursor: pointer; border: 0;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
  display: inline-flex; align-items: center; gap: 9px; line-height: 1;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37,99,235,.36); }
.btn-outline { background: #fff; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--blue-50); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-50); transform: translateY(-2px); }
.btn-ondark { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn-ondark:hover { background: rgba(255,255,255,.10); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(14,29,58,.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.10); transition: box-shadow .25s, background .25s;
}
.site-header.scrolled { background: rgba(14,29,58,.96); box-shadow: 0 6px 24px rgba(0,0,0,.28); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 42px; width: auto; display: block; }
.menu { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.menu a { color: #cbd5e1; transition: color .2s; position: relative; }
.menu a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--brand); transition: width .25s; }
.menu a:hover { color: #fff; } .menu a:hover::after { width: 100%; }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; border-radius: 2px; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 0; background: linear-gradient(180deg, var(--navy-900), var(--navy) 60%, #1e40af); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; opacity: .5; background:
  radial-gradient(620px 420px at 82% 12%, rgba(14,165,233,.30), transparent 70%),
  radial-gradient(500px 380px at 8% 90%, rgba(37,99,235,.35), transparent 70%); }
.hero-grid-bg { position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000, transparent 75%); }
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-bottom: 70px; }
.hero .eyebrow { color: var(--sky); }
.badge24 { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; margin-bottom: 22px; }
.badge24 .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--sky-300); box-shadow: 0 0 0 0 rgba(56,189,248,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(56,189,248,0); } 100% { box-shadow: 0 0 0 0 rgba(56,189,248,0); } }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -.03em; margin-bottom: 20px; }
.hero h1 .hl { color: var(--sky-300); }
.hero p.lead { font-size: 18px; color: #cbd5e1; max-width: 500px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--gray-300); display: flex; align-items: center; gap: 8px; }
/* foto do hero */
.hero-figure { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.14); }
.hero-figure img { width: 100%; height: 420px; object-fit: cover; display: block; }
.hero-figure .ribbon { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.92); color: var(--navy); font-family: var(--display); font-weight: 700; font-size: 13px; padding: 8px 14px; border-radius: 10px; display: flex; align-items: center; gap: 8px; backdrop-filter: blur(4px); }
.hero-figure .ribbon svg { width: 16px; height: 16px; stroke: var(--blue); }

/* stats */
.stats { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.12); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat { padding: 30px 16px; text-align: center; border-right: 1px solid rgba(255,255,255,.10); }
.stat:last-child { border-right: 0; }
.stat .n { font-family: var(--display); font-weight: 800; font-size: clamp(28px,3vw,38px); color: #fff; letter-spacing: -.02em; }
.stat .l { font-size: 13.5px; color: var(--gray-300); margin-top: 4px; }

/* ---------- Seções genéricas ---------- */
.pad { padding: 96px 0; }
.band { background: var(--paper); }
.dark { background: var(--navy-900); color: #fff; }
.sec-head { max-width: 660px; margin: 0 auto 54px; text-align: center; }
.sec-head h2 { font-family: var(--display); font-weight: 800; font-size: clamp(28px,3.6vw,42px); letter-spacing: -.02em; line-height: 1.1; margin: 14px 0; color: var(--ink); }
.dark .sec-head h2 { color: #fff; }
.sec-head p { color: var(--gray); font-size: 17px; }
.dark .sec-head p { color: #cbd5e1; }

/* ---------- Serviços (cards com foto) ---------- */
.grid-serv { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.scard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .25s, border-color .2s; display: flex; flex-direction: column; }
.scard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.scard .photo { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--blue-50); }
.scard .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.scard:hover .photo img { transform: scale(1.06); }
.scard .photo .chip { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--blue-700); font-family: var(--display); font-weight: 700; font-size: 12px; padding: 5px 11px; border-radius: 7px; backdrop-filter: blur(4px); }
.scard .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.scard h3 { font-family: var(--display); font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.scard p { font-size: 14.5px; color: var(--gray); }
.scard ul { list-style: none; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.scard li { font-size: 12.5px; font-weight: 500; color: var(--blue-700); background: var(--blue-50); padding: 5px 11px; border-radius: 7px; }
.scard .more { margin-top: auto; padding-top: 16px; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.scard .more svg { width: 15px; height: 15px; transition: transform .2s; }
.scard:hover .more svg { transform: translateX(4px); }

/* ---------- Galeria / nosso trabalho ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.gitem { position: relative; border-radius: 14px; overflow: hidden; }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gitem:hover img { transform: scale(1.08); }
.gitem::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(23,37,84,.78)); }
.gitem figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 2; color: #fff; font-family: var(--display); font-weight: 700; font-size: 15px; }
.gitem.tall { grid-row: span 2; } .gitem.wide { grid-column: span 2; }

/* ---------- Por que escolher ---------- */
.grid-why { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.why { display: flex; gap: 16px; }
.why .ico { width: 50px; height: 50px; flex: none; border-radius: 12px; background: var(--blue-50); display: grid; place-items: center; }
.why .ico svg { width: 25px; height: 25px; stroke: var(--blue); }
.why h3 { font-family: var(--display); font-weight: 700; font-size: 18px; margin-bottom: 5px; }
.why p { font-size: 14.5px; color: var(--gray); }

/* ---------- Como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 18px; }
.step { position: relative; text-align: center; }
.step .num { width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); color: var(--blue); font-family: var(--display); font-weight: 800; font-size: 20px; display: grid; place-items: center; position: relative; z-index: 2; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 27px; left: 60%; right: -40%; height: 2px; background: var(--blue-100); z-index: 1; }
.step h3 { font-family: var(--display); font-weight: 700; font-size: 16.5px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--gray); }

/* ---------- Blog cards ---------- */
.grid-blog { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .25s; display: flex; flex-direction: column; }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post .thumb { aspect-ratio: 16/9; overflow: hidden; }
.post .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post:hover .thumb img { transform: scale(1.06); }
.post .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post .cat { font-family: var(--display); font-weight: 700; font-size: 12px; color: var(--blue); text-transform: uppercase; letter-spacing: .05em; }
.post h3 { font-family: var(--display); font-weight: 700; font-size: 19px; margin: 10px 0; line-height: 1.25; }
.post p { font-size: 14.5px; color: var(--gray); }
.post .meta { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--gray-300); display: flex; gap: 14px; }

/* ---------- Quem faz (sobre) ---------- */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; }
.about-grid .about-photo { position: relative; }
.about-grid .about-photo img { width: 100%; border-radius: 18px; box-shadow: var(--shadow-md); display: block; }
.about-grid .about-photo .badge-card { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.95); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow-sm); }
.about-grid .about-photo .badge-card b { font-family: var(--display); font-size: 15px; color: var(--navy); display: block; }
.about-grid .about-photo .badge-card span { font-size: 12.5px; color: var(--gray); }
.about-grid h2 { font-family: var(--display); font-weight: 800; font-size: clamp(26px,3.4vw,38px); letter-spacing: -.02em; line-height: 1.1; margin: 12px 0 16px; color: var(--ink); }
.about-grid p { color: var(--gray); font-size: 16.5px; margin-bottom: 14px; }
.about-grid .sign { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 8px; }
.about-grid .sign div b { font-family: var(--display); font-size: 22px; color: var(--blue); display: block; }
.about-grid .sign div span { font-size: 13px; color: var(--gray); }
.dark .about-grid h2 { color: #fff; }
.dark .about-grid p { color: #cbd5e1; }
.dark .about-grid .sign div b { color: var(--sky-300); }
.dark .about-grid .sign div span { color: var(--gray-300); }
.dark .eyebrow { color: var(--sky-300); }

/* ---------- Antes / depois ---------- */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ba figure { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.ba figure img { width: 100%; height: 360px; object-fit: cover; display: block; }
.ba .tag-ba { position: absolute; top: 14px; left: 14px; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 8px; color: #fff; }
.ba .tag-ba.antes { background: rgba(15,23,42,.82); }
.ba .tag-ba.depois { background: var(--blue); }
.ba figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 14px; background: linear-gradient(transparent, rgba(15,23,42,.85)); color: #fff; font-size: 14px; }

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .ba { grid-template-columns: 1fr; }
  .ba figure img { height: 280px; }
}

/* ---------- Depoimentos ---------- */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.quote .stars { color: var(--blue); letter-spacing: 2px; margin-bottom: 14px; font-size: 15px; }
.quote p { font-size: 15px; color: var(--ink); margin-bottom: 18px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 15px; }
.quote .who b { display: block; font-size: 14px; } .quote .who span { font-size: 12.5px; color: var(--gray); }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(135deg, var(--navy-900), var(--blue-700)); color: #fff; text-align: center; padding: 92px 0; position: relative; overflow: hidden; }
.cta .hero-grid-bg { opacity: .6; }
.cta .wrap { position: relative; z-index: 2; }
.cta h2 { font-family: var(--display); font-weight: 800; font-size: clamp(30px,4.2vw,48px); letter-spacing: -.03em; line-height: 1.06; max-width: 740px; margin: 14px auto 16px; }
.cta p { color: #cbd5e1; font-size: 17px; max-width: 520px; margin: 0 auto 32px; }
.cta .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #cbd5e1; padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.site-footer h5 { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #93c5fd; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { font-size: 14px; color: #cbd5e1; } .site-footer ul a:hover { color: #fff; }
.foot-about p { font-size: 14px; color: var(--gray-300); max-width: 300px; margin-top: 14px; }
.foot-about .logo { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.10); padding-top: 24px; font-size: 13px; color: var(--gray-300); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,99,235,.5); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Artigo do blog ---------- */
.article-hero { padding: 130px 0 40px; background: linear-gradient(180deg, var(--navy-900), var(--navy)); color: #fff; }
.article-hero .crumb { font-size: 13px; color: var(--sky-300); margin-bottom: 16px; }
.article-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(28px,4vw,46px); line-height: 1.1; letter-spacing: -.02em; max-width: 820px; }
.article-hero .meta { margin-top: 18px; font-size: 14px; color: var(--gray-300); display: flex; gap: 16px; flex-wrap: wrap; }
.article-wrap { max-width: 760px; margin: 0 auto; padding: 56px 24px 90px; }
.article-wrap img.cover { width: 100%; border-radius: 14px; margin: -90px 0 40px; box-shadow: var(--shadow-md); position: relative; }
.article-wrap h2 { font-family: var(--display); font-weight: 700; font-size: 26px; margin: 38px 0 14px; letter-spacing: -.01em; }
.article-wrap h3 { font-family: var(--display); font-weight: 700; font-size: 20px; margin: 28px 0 10px; }
.article-wrap p { font-size: 17px; color: #334155; margin-bottom: 18px; }
.article-wrap ul, .article-wrap ol { margin: 0 0 18px 22px; color: #334155; font-size: 17px; }
.article-wrap li { margin-bottom: 8px; }
.article-wrap .callout { background: var(--blue-50); border-left: 4px solid var(--blue); border-radius: 10px; padding: 18px 22px; margin: 26px 0; font-size: 15.5px; color: var(--navy); }
.article-wrap .cta-inline { background: linear-gradient(135deg, var(--navy), var(--blue-700)); color: #fff; border-radius: var(--radius); padding: 30px; text-align: center; margin: 40px 0 0; }
.article-wrap .cta-inline h3 { color: #fff; margin-top: 0; }
.article-wrap .cta-inline p { color: #cbd5e1; }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.96); transition: opacity .6s ease, transform .6s ease; }
.reveal-scale.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-figure img { height: 320px; }
  .grid-serv, .grid-why, .quotes, .grid-blog { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); gap: 30px 18px; }
  .step::after { display: none; }
  .gallery { grid-template-columns: repeat(2,1fr); }
  .menu, .nav-cta { display: none; }
  .hamburger { display: block; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-serv, .grid-why, .quotes, .grid-blog, .steps, .gallery { grid-template-columns: 1fr; }
  .gitem.tall, .gitem.wide { grid-row: auto; grid-column: auto; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* mobile menu aberto */
.mobile-menu.open { display: block; position: fixed; inset: 70px 0 auto 0; z-index: 99; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 18px 24px 26px; }
.mobile-menu.open a { display: block; padding: 12px 0; font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-menu.open .btn { margin-top: 16px; width: 100%; justify-content: center; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .reveal-scale { opacity: 1; transform: none; }
}
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
