/* ============================================================
   IPL Informática — Premium Website
   Brand: forest green + warm cream + clean sans
   ============================================================ */

:root {
  --green-900: #063f0d;
  --green-800: #0b5a14;
  --green-700: #1f7a2a;
  --green-600: #2e8b3a;
  --green-500: #38653d;
  --green-400: #54a05e;
  --green-300: #8ac28f;
  --green-200: #a1c4a3;
  --green-100: #dceadc;
  --green-50: #f1f7f1;

  --cream: #fcf8f0;
  --cream-2: #f7f2e8;

  --blue: #166aea;
  --blue-soft: #e8f0fe;

  --ink: #1a2530;
  --ink-2: #2d3a47;
  --muted: #5b6773;
  --muted-2: #8a949e;

  --line: #e6ebe6;
  --line-2: #d9e0d9;

  --bg: #ffffff;
  --bg-soft: #f6faf6;

  --shadow-xs: 0 1px 2px rgba(6,63,13,.06);
  --shadow-sm: 0 4px 12px rgba(6,63,13,.08);
  --shadow-md: 0 12px 32px rgba(6,63,13,.12);
  --shadow-lg: 0 24px 60px rgba(6,63,13,.16);
  --shadow-xl: 0 40px 90px rgba(6,63,13,.2);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --container: 1240px;
  --header-h: 78px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul,ol { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,h5,h6 { margin: 0; font-family: 'Manrope', 'Inter', sans-serif; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); }
p { margin: 0; }
input,textarea,select { font: inherit; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-800);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--green-500); border-radius: 2px; }
.section-title { font-size: clamp(30px, 4vw, 46px); margin-top: 14px; }
.section-sub { color: var(--muted); font-size: 18px; max-width: 640px; margin-top: 16px; line-height: 1.6; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--green-500); border-radius: 2px; margin-left: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 15px; line-height: 1;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  color: #fff; box-shadow: 0 10px 24px rgba(46,139,58,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(46,139,58,.45); }
.btn-ghost {
  background: #fff; color: var(--green-800); border: 1.5px solid var(--green-200);
}
.btn-ghost:hover { background: var(--green-50); border-color: var(--green-400); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--green-900); transform: translateY(-2px); }
.btn-whatsapp { background: #0a6b60; color: #fff; box-shadow: 0 10px 24px rgba(10,107,96,.3); }
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(37,211,102,.4); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(230,235,230,.6);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(255,255,255,.92); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 46px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 18px; color: var(--green-800); letter-spacing: -.01em; }
.logo-text span { font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 3px; letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 10px 16px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav a:hover { background: var(--green-50); color: var(--green-700); }
.nav a.active { color: var(--green-700); background: var(--green-50); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .25s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 150px 0 110px;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(138,194,143,.35), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(22,106,234,.08), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, #ffffff 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(6,63,13,.06) 1px, transparent 1px);
  background-size: 28px 28px; opacity: .6; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-xs);
}
.hero-badge .dot { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg,var(--green-500),var(--green-700)); display: grid; place-items: center; color: #fff; font-size: 12px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 68px); margin-top: 22px; }
.hero h1 .accent { color: var(--green-700); position: relative; }
.hero h1 .accent::after { content: ""; position: absolute; left: 0; bottom: 4px; width: 100%; height: 10px; background: rgba(138,194,143,.45); z-index: -1; border-radius: 4px; }
.hero-lead { font-size: 19px; color: var(--muted); margin-top: 22px; max-width: 560px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; gap: 34px; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-stats .stat b { display: block; font-family: 'Manrope', sans-serif; font-size: 26px; font-weight: 800; color: var(--green-800); }
.hero-stats .stat span { font-size: 13px; color: var(--muted); font-weight: 500; }
.hero-visual { position: relative; }
.hero-card {
  background: #fff; border-radius: var(--radius-xl); padding: 22px;
  box-shadow: var(--shadow-xl); border: 1px solid var(--line);
  position: relative;
}
.hero-card img { border-radius: var(--radius-lg); width: 100%; height: 360px; object-fit: cover; }
.hero-float {
  position: absolute; background: #fff; border-radius: var(--radius-md);
  padding: 14px 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
}
.hero-float.f1 { top: -18px; right: -18px; }
.hero-float.f2 { bottom: 24px; left: -24px; }
.hero-float .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; }
.hero-float .ico.green { background: var(--green-100); color: var(--green-700); }
.hero-float .ico.blue { background: var(--blue-soft); color: var(--blue); }
.hero-float b { display: block; font-size: 15px; color: var(--ink); }
.hero-float span { font-size: 12px; color: var(--muted); }

/* ---------- Trust bar ---------- */
.trustbar { padding: 34px 0; background: var(--green-900); color: #fff; }
.trustbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item .ico { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.1); display: grid; place-items: center; font-size: 20px; }
.trust-item b { display: block; font-family: 'Manrope',sans-serif; font-size: 20px; font-weight: 800; }
.trust-item span { font-size: 13px; color: rgba(255,255,255,.7); }
.trust-divider { width: 1px; height: 40px; background: rgba(255,255,255,.15); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.about-visual { position: relative; }
.about-img-main { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img-main img { width: 100%; height: 520px; object-fit: cover; }
.about-img-badge {
  position: absolute; bottom: -24px; right: -24px;
  background: #fff; border-radius: var(--radius-lg); padding: 20px 24px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  text-align: center;
}
.about-img-badge b { display: block; font-family: 'Manrope',sans-serif; font-size: 34px; font-weight: 800; color: var(--green-700); }
.about-img-badge span { font-size: 12px; color: var(--muted); font-weight: 600; }
.about-content .section-sub { max-width: none; }
.about-quote {
  margin: 28px 0; padding: 22px 26px; border-left: 4px solid var(--green-500);
  background: var(--green-50); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic; color: var(--ink-2); font-size: 16px;
}
.timeline { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.tl-item { display: flex; gap: 16px; align-items: flex-start; }
.tl-dot { width: 44px; height: 44px; border-radius: 14px; background: var(--green-100); color: var(--green-900); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex-shrink: 0; font-family: 'Manrope',sans-serif; }
.tl-item h3 { font-size: 16px; margin-bottom: 2px; }
.tl-item p { font-size: 14px; color: var(--muted); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--green-400), var(--green-700)); opacity: 0; transition: opacity .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--green-200); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 58px; height: 58px; border-radius: 16px;
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  display: grid; place-items: center; margin-bottom: 20px; color: var(--green-700);
}
.service-icon img { width: 34px; height: 34px; object-fit: contain; }
.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.service-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag { font-size: 12px; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }

/* ---------- Brands marquee ---------- */
.brands { background: var(--bg-soft); padding: 56px 0; }
.brands-title { text-align: center; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 32px; }
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-soft), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg-soft), transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: scroll 40s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 26px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-pill); font-weight: 700; font-size: 14px; color: var(--ink-2);
  white-space: nowrap;
}
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Features / Why us ---------- */
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.feature { padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: .3s var(--ease); }
.feature:hover { border-color: var(--green-300); box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; margin-bottom: 16px; font-size: 22px; }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--muted); }

/* ---------- Testimonials ---------- */
.testimonials { background: linear-gradient(180deg, var(--green-50) 0%, #fff 100%); }
.test-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.test-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-xs);
}
.test-card .stars { color: #f5a623; font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.test-card p { color: var(--ink-2); font-size: 15px; line-height: 1.6; font-style: italic; }
.test-author { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.test-author .avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg,var(--green-400),var(--green-700)); color: #fff; display: grid; place-items: center; font-weight: 700; }
.test-author b { display: block; font-size: 14px; }
.test-author span { font-size: 12px; color: var(--muted); }
.google-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--muted); font-weight: 600; }

/* ---------- Contact / Support ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  transition: .25s var(--ease);
}
.contact-card:hover { border-color: var(--green-300); box-shadow: var(--shadow-sm); }
.contact-card .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.contact-card b { display: block; font-size: 15px; margin-bottom: 2px; }
.contact-card span, .contact-card a { font-size: 14px; color: var(--muted); }
.contact-card a:hover { color: var(--green-700); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); height: 260px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: 34px; box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: 24px; margin-bottom: 6px; }
.form-card p { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: var(--bg-soft); color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--green-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(56,101,61,.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-submit { margin-top: 8px; width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #fff; padding: 72px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: rgba(255,255,255,.7); font-size: 14px; margin-top: 14px; max-width: 320px; }
.footer-brand .logo-text strong { color: #fff; }
.footer-brand .logo-text span { color: rgba(255,255,255,.6); }
.footer-col h5, .footer-col h3 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.78); margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,.8); font-size: 14px; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; padding: 0; transition: .2s; }
.footer-social a:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.footer-social img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.6); }
.footer-bottom a { color: rgba(255,255,255,.8); }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  padding: 150px 0 70px;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.page-header::before { content:""; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 30px 30px; }
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: #fff; font-size: clamp(34px,5vw,56px); }
.page-header p { color: rgba(255,255,255,.8); font-size: 18px; margin-top: 14px; max-width: 640px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-card img { height: 280px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-main img { height: 360px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .test-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .nav.open { display: flex; }
  .menu-toggle { display: flex; }
  .header-cta .btn:not(.btn-sm) { display: none; }
  .hero { padding: 120px 0 70px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trustbar-inner { justify-content: center; }
  .trust-divider { display: none; }
  .hero-float { display: none; }
  .about-img-badge { right: 12px; bottom: 12px; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 34px; }
}