/* ============================================
   Civic CMS Brasil — Landing Page Governo Digital
   Design: Modern, Institutional, Conversion-focused
   ============================================ */

/* --- Variables --- */
:root {
  --primary: #2764AD;
  --primary-alt: #0C326F;
  --primary-light: #2764AD;
  --secondary: #2D6CC0;
  --accent: #2764AD;
  --accent-hover: #46AC44;
  --accent-light: #7FB3D8;
  --light-bg: #F4F6F9;
  --gray-section: #E2E5E9;
  --card-bg: #FFFFFF;
  --text: #1A1A2E;
  --text-light: #FFFFFF;
  --text-muted: #4B5563;
  --border: #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container: 1140px;
  --section-pad: 5rem;
  --transition: 0.25s ease;
}
@media (max-width: 767px) { :root { --section-pad: 3rem; } }

/* --- Reset --- */
*,*::before,*::after{box-sizing:border-box}
body{margin:0;font-family:var(--font-body);font-size:16px;font-weight:400;line-height:1.6;color:var(--text);background:#fff;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--secondary);text-decoration:none;transition:color var(--transition)}
a:hover{color:var(--primary-light)}
ul,ol{margin:0;padding:0}
.skip-link{position:absolute;top:-100%;left:0;z-index:9999;padding:.5rem 1rem;background:var(--primary);color:#fff;font-weight:600}
.skip-link:focus{top:0}

/* --- Typography --- */
h1,h2,h3,h4,h5{font-family:var(--font-heading);line-height:1.2;margin-top:0}

/* --- Container --- */
.container{width:100%;padding-right:1.5rem;padding-left:1.5rem;margin:0 auto}
@media(min-width:576px){.container{max-width:540px}}
@media(min-width:768px){.container{max-width:720px}}
@media(min-width:992px){.container{max-width:960px}}
@media(min-width:1200px){.container{max-width:1140px}}

/* --- Header --- */
.header{position:sticky;top:0;z-index:1000;background:#fff;border-bottom:1px solid var(--border);transition:box-shadow var(--transition)}
.header--scrolled{box-shadow:0 2px 20px rgba(0,0,0,0.06)}
.header__container{display:flex;align-items:center;justify-content:space-between;height:72px}
.header__logo{flex-shrink:0;display:flex;align-items:center}
.header__logo img{height:28px;width:auto}
@media(min-width:992px){.header__nav{display:flex;align-items:center;margin-left:auto}}
.header__menu{display:flex;list-style:none;align-items:center;gap:0.125rem}
.header__link{display:block;padding:0.5rem 1rem;font-size:0.875rem;font-weight:500;color:var(--text);border-radius:var(--radius-sm);transition:all var(--transition)}
.header__link:hover{color:var(--secondary);background:var(--light-bg)}
.header__link--cta{background:var(--accent);color:#fff;font-weight:700;padding:0.5rem 1.25rem}
.header__link--cta:hover{background:var(--accent-hover);color:#fff}

/* --- Hamburger --- */
.hamburger{display:flex;flex-direction:column;gap:5px;width:40px;height:40px;padding:0;border:none;background:transparent;cursor:pointer;z-index:1001}
@media(min-width:992px){.hamburger{display:none}}
.hamburger__line{display:block;width:22px;height:2.5px;background:var(--text);border-radius:2px;transition:all 0.3s}
.hamburger--active .hamburger__line:nth-child(1){transform:translateY(7.5px)rotate(45deg)}
.hamburger--active .hamburger__line:nth-child(2){opacity:0}
.hamburger--active .hamburger__line:nth-child(3){transform:translateY(-7.5px)rotate(-45deg)}
@media(max-width:991px){
  .header__nav{position:fixed;top:0;right:-100%;width:320px;height:100vh;background:#fff;padding:5rem 2rem 2rem;box-shadow:-5px 0 30px rgba(0,0,0,0.1);transition:right 0.35s;z-index:999;overflow-y:auto}
  .header__nav--open{right:0}
  .header__nav--open::before{content:'';position:fixed;top:0;left:0;width:100vw;height:100vh;background:rgba(0,0,0,0.3);z-index:-1}
  .header__menu{flex-direction:column;width:100%;gap:0.25rem}
  .header__link{width:100%;padding:0.75rem 1rem;font-size:1rem}
}

/* --- Hero Premium --- */
@property --hero-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.hero {
  position: relative;
  padding: 7.5rem 0 5.5rem;
  background: linear-gradient(160deg, #020810 0%, #040E24 20%, #0A1F44 45%, #102D5A 70%, #163F73 100%);
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 80px,
      rgba(127,179,216,0.018) 80px,
      rgba(127,179,216,0.018) 81px
    );
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(127,179,216,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127,179,216,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  z-index: 1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 700px at 72% 15%, rgba(39,100,173,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 500px 400px at 15% 85%, rgba(45,108,192,0.1) 0%, transparent 70%),
    radial-gradient(ellipse 350px 350px at 50% 50%, rgba(30,80,160,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Fotografia institucional opcional por página; o overlay preserva a leitura do hero. */
.hero__bg--photo {
  background-size: cover;
  background-position: center right;
}

@media (max-width: 767px) {
  .hero__bg--photo {
    background-position: 68% center;
  }
}

.hero__glow--1 {
  position: absolute;
  width: 800px;
  height: 800px;
  top: -20%;
  right: 0%;
  background: radial-gradient(circle, rgba(39,100,173,0.2) 0%, rgba(39,100,173,0.06) 40%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: heroGlowPulse 8s ease-in-out infinite;
}

.hero__glow--2 {
  position: absolute;
  width: 600px;
  height: 600px;
  bottom: -15%;
  left: -8%;
  background: radial-gradient(circle, rgba(96,165,250,0.14) 0%, rgba(96,165,250,0.04) 40%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: heroGlowPulse 10s ease-in-out 2.5s infinite;
}

.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero__particles::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(127,179,216,0.5);
  box-shadow:
    120px 100px 0 rgba(127,179,216,0.25),
    350px 250px 0 rgba(127,179,216,0.15),
    580px 150px 0 rgba(127,179,216,0.3),
    800px 350px 0 rgba(127,179,216,0.12),
    200px 450px 0 rgba(127,179,216,0.2),
    650px 500px 0 rgba(127,179,216,0.18),
    900px 180px 0 rgba(127,179,216,0.28),
    450px 80px 0 rgba(127,179,216,0.12),
    750px 480px 0 rgba(127,179,216,0.22),
    1050px 300px 0 rgba(127,179,216,0.16),
    50px 350px 0 rgba(96,165,250,0.2),
    980px 420px 0 rgba(96,165,250,0.15);
  animation: heroParticleDrift 28s linear infinite;
}

.hero__particles::after {
  content: '';
  position: absolute;
  width: 1.5px;
  height: 1.5px;
  border-radius: 50%;
  background: rgba(147,197,253,0.4);
  box-shadow:
    80px 200px 0 rgba(147,197,253,0.18),
    280px 350px 0 rgba(147,197,253,0.22),
    500px 100px 0 rgba(147,197,253,0.12),
    720px 420px 0 rgba(147,197,253,0.2),
    180px 550px 0 rgba(147,197,253,0.15),
    600px 300px 0 rgba(147,197,253,0.25),
    850px 120px 0 rgba(147,197,253,0.12),
    380px 480px 0 rgba(147,197,253,0.18),
    1020px 200px 0 rgba(96,165,250,0.14),
    200px 100px 0 rgba(96,165,250,0.1);
  animation: heroParticleDrift 32s linear 6s infinite;
}

.hero__grid {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.hero__content {
  flex: 0 0 45%;
  max-width: 45%;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
  padding: 0.4rem 1rem;
  background: rgba(127,179,216,0.08);
  border: 1px solid rgba(127,179,216,0.15);
  border-radius: 50px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74,222,128,0.6);
  animation: heroDotPulse 2.5s ease-in-out infinite;
}

.hero__title {
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hero__title--accent {
  background: linear-gradient(135deg, var(--accent-light) 0%, #93c5fd 50%, var(--accent-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroShimmer 6s ease-in-out infinite;
}

.hero__divider {
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-light), rgba(127,179,216,0.15));
  margin: 0 0 1.5rem;
  border-radius: 2px;
  position: relative;
}

.hero__divider::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-light);
  opacity: 0.5;
  box-shadow: 0 0 12px rgba(127,179,216,0.4);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 0 2.5rem;
  line-height: 1.75;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 1.5rem 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.hero__stat-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-light), #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.01em;
}

/* --- Hero Visual --- */
.hero__visual {
  flex: 0 0 55%;
  max-width: 55%;
  position: relative;
}

.hero__image-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.hero__image-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center, rgba(39,100,173,0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  filter: blur(40px);
}

.hero__image-frame::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 27px;
  padding: 3px;
  background: conic-gradient(
    from var(--hero-angle, 0deg),
    rgba(127,179,216,0.5) 0%,
    rgba(39,100,173,0.08) 20%,
    rgba(96,165,250,0.4) 40%,
    rgba(39,100,173,0.05) 60%,
    rgba(127,179,216,0.45) 80%,
    rgba(127,179,216,0.5) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  pointer-events: none;
  animation: heroBorderRotate 8s linear infinite;
}

.hero__image {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  box-shadow:
    0 25px 60px rgba(0,0,0,0.45),
    0 0 80px rgba(39,100,173,0.1),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.7s ease;
}

.hero__image-frame:hover .hero__image {
  transform: scale(1.02);
  box-shadow:
    0 30px 70px rgba(0,0,0,0.5),
    0 0 100px rgba(39,100,173,0.15),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}

.hero__image-overlay {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(
    155deg,
    rgba(10,31,68,0.35) 0%,
    rgba(10,31,68,0.1) 30%,
    transparent 50%,
    rgba(39,100,173,0.08) 80%,
    rgba(10,31,68,0.2) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* --- Dashboard Cards --- */
.hero__card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(10, 31, 68, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(127,179,216,0.18);
  border-radius: 12px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.06);
  z-index: 5;
  letter-spacing: 0.01em;
}

.hero__card i {
  font-size: 0.85rem;
  opacity: 0.8;
}

.hero__card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: heroDotPulse 2.5s ease-in-out infinite;
}

.hero__card-dot--green {
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74,222,128,0.5);
}

.hero__card-dot--blue {
  background: #60a5fa;
  box-shadow: 0 0 8px rgba(96,165,250,0.5);
  animation-delay: 0.3s;
}

.hero__card-dot--purple {
  background: #c084fc;
  box-shadow: 0 0 8px rgba(192,132,252,0.5);
  animation-delay: 0.6s;
}

.hero__card-dot--amber {
  background: #fbbf24;
  box-shadow: 0 0 8px rgba(251,191,36,0.5);
  animation-delay: 0.9s;
}

.hero__card-dot--red {
  background: #f87171;
  box-shadow: 0 0 8px rgba(248,113,113,0.5);
  animation-delay: 1.2s;
}

.hero__card--wcag {
  top: 8%;
  left: -5%;
  animation: heroCardFloat1 6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.hero__card--drupal {
  top: 4%;
  right: 5%;
  animation: heroCardFloat2 7s cubic-bezier(0.45, 0.05, 0.55, 0.95) 0.5s infinite;
}

.hero__card--ia {
  top: 46%;
  right: -6%;
  animation: heroCardFloat3 8s cubic-bezier(0.45, 0.05, 0.55, 0.95) 1s infinite;
}

.hero__card--multisite {
  bottom: 22%;
  left: -4%;
  animation: heroCardFloat2 7s cubic-bezier(0.45, 0.05, 0.55, 0.95) 1.5s infinite;
}

.hero__card--gov {
  bottom: 6%;
  right: 10%;
  animation: heroCardFloat1 6.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) 2s infinite;
}

/* --- Hero Keyframes --- */
@keyframes heroBorderRotate {
  from { --hero-angle: 0deg; }
  to { --hero-angle: 360deg; }
}

@keyframes heroGlowPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.06); }
}

@keyframes heroCardFloat1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes heroCardFloat2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes heroCardFloat3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes heroParticleDrift {
  0% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-12px) translateX(6px); }
  50% { transform: translateY(-4px) translateX(-4px); }
  75% { transform: translateY(-18px) translateX(2px); }
  100% { transform: translateY(0) translateX(0); }
}

@keyframes heroDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

@keyframes heroShimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}

/* --- Hero Responsive --- */
@media (max-width: 1199px) {
  .hero__grid { gap: 2.5rem; }
  .hero__card--ia { right: -4%; }
  .hero__card--multisite { left: -2%; }
}

@media (max-width: 991px) {
  .hero {
    min-height: auto;
    padding: 5rem 0 3.5rem;
  }
  .hero__grid {
    flex-direction: column;
    text-align: center;
  }
  .hero__content,
  .hero__visual {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
  .hero__content {
    order: 1;
  }
  .hero__visual {
    order: 2;
    margin-top: 1rem;
  }
  .hero__subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__stats {
    justify-content: center;
    justify-items: center;
  }
  .hero__divider {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__label {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__card--wcag { left: 3%; }
  .hero__card--drupal { right: 3%; }
  .hero__card--ia { right: 3%; }
  .hero__card--multisite { left: 3%; }
  .hero__card--gov { right: 6%; }
}

@media (max-width: 575px) {
  .hero {
    padding: 4rem 0 2.5rem;
  }
  .hero__stats {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.25rem;
  }
  .hero__card {
    padding: 0.45rem 0.75rem;
    font-size: 0.62rem;
    gap: 0.35rem;
    border-radius: 10px;
  }
  .hero__card i {
    font-size: 0.72rem;
  }
  .hero__card-dot {
    width: 5px;
    height: 5px;
  }
  .hero__card--drupal { right: 2%; top: 3%; }
  .hero__card--gov { right: 4%; }
  .hero__card--wcag { left: 2%; }
  .hero__card--multisite { left: 2%; }
  .hero__card--ia { right: 2%; }
}

/* --- Topbar --- */
.topbar{background:var(--primary-alt);color:rgba(255,255,255,.85);font-size:.8rem;padding:.45rem 0}
.topbar__container{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;justify-content:center;align-items:center}
.topbar__info{display:inline-flex;align-items:center;gap:.35rem;white-space:nowrap}
.topbar__info i{color:var(--accent-light);font-size:.85rem}
@media(max-width:767px){.topbar__info--desktop{display:none}}

/* --- Hero Checks --- */
.hero__checks{display:flex;flex-wrap:wrap;gap:.6rem 1.25rem;margin-bottom:2rem}
.hero__checks span{display:inline-flex;align-items:center;gap:.4rem;font-size:.85rem;color:rgba(255,255,255,.85);font-weight:500}
.hero__checks i{color:#4ade80;font-size:.8rem}

/* --- Hero Badge --- */
.hero__badge{display:inline-flex;align-items:center;gap:.5rem;padding:.4rem 1rem;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:rgba(255,255,255,.9);background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:50px;margin-bottom:1.25rem;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.hero__badge i{color:var(--accent-light)}

/* --- Hero Trust --- */
.hero__trust{display:flex;flex-wrap:wrap;gap:1rem;margin-top:2rem;border-top:1px solid rgba(255,255,255,.08);padding-top:1.5rem}
.hero__trust span{font-size:.85rem;color:rgba(255,255,255,.7);font-weight:500}
.hero__trust strong{color:#fff;font-weight:700}

/* --- Trust Bar --- */
.trust-bar{background:var(--light-bg);padding:1rem 0;border-bottom:1px solid var(--border)}
.trust-bar__items{display:flex;flex-wrap:wrap;gap:0.5rem 2rem;justify-content:center;align-items:center}
.trust-bar__item{display:inline-flex;align-items:center;gap:0.4rem;font-size:0.8rem;font-weight:600;color:var(--text-muted);white-space:nowrap}
.trust-bar__item i{color:var(--accent);font-size:0.9rem}

/* --- Buttons --- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:0.5rem;font-family:var(--font-body);font-weight:600;font-size:0.95rem;padding:0.8rem 1.75rem;border-radius:var(--radius-sm);border:2px solid transparent;cursor:pointer;transition:all var(--transition);text-align:center}
.btn--primary{background:var(--accent);color:#fff;border-color:var(--accent)}
.btn--primary:hover{background:var(--accent-hover);border-color:var(--accent-hover);color:#fff;transform:translateY(-2px);box-shadow:0 8px 25px rgba(27,74,138,0.4)}
.btn--secondary{background:transparent;color:#fff;border-color:rgba(255,255,255,0.4)}
.btn--secondary:hover{background:rgba(255,255,255,0.08);border-color:#fff}
.btn--lg{padding:0.9rem 2.25rem;font-size:1rem}
.btn--full{width:100%}

/* --- Sections --- */
.section{padding:var(--section-pad) 0}
.section--dark{background:var(--primary);color:#fff}
.section--light{background:var(--light-bg)}
.section--accent{background:linear-gradient(135deg,#0A1F44,#1B4A8A);color:#fff}
.section--cta{background:linear-gradient(135deg,#0A1F44,#1B4A8A);text-align:center}
.section__header{text-align:center;max-width:720px;margin:0 auto 3rem}
.section__tag{display:inline-block;padding:0.3rem 1rem;font-size:0.75rem;font-weight:700;text-transform:uppercase;letter-spacing:0.08em;border-radius:50px;background:rgba(27,74,138,0.1);color:var(--accent);margin-bottom:1rem}
.section__tag--light{background:rgba(255,255,255,0.12);color:var(--accent-light)}
.section__title{font-size:clamp(1.5rem,3vw,2.25rem);margin-bottom:0.75rem}
.section__title--light{color:#fff}
.section__desc{font-size:1.05rem;color:var(--text-muted);line-height:1.6}
.section__desc--light{color:rgba(255,255,255,0.85)}
.section__cta-wrapper{text-align:center;margin-top:2.5rem}

/* --- Grid --- */
.grid{display:grid;gap:1.5rem}
.grid--2{grid-template-columns:1fr}
.grid--3{grid-template-columns:1fr}
.grid--4{grid-template-columns:repeat(2,1fr)}
@media(min-width:768px){.grid--2{grid-template-columns:repeat(2,1fr)}.grid--3{grid-template-columns:repeat(2,1fr)}.grid--4{grid-template-columns:repeat(4,1fr)}}
@media(min-width:992px){.grid--3{grid-template-columns:repeat(3,1fr)}}
/* --- Cards --- */
.card{padding:2rem;border-radius:var(--radius);transition:all var(--transition)}
.card__icon{width:56px;height:56px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-sm);font-size:1.4rem;margin-bottom:1.25rem;background:rgba(27,74,138,0.1);color:var(--accent)}
.card__icon--gold,.card__icon--green{background:rgba(27,74,138,0.12);color:var(--accent)}
.card__title{font-size:1.1rem;margin-bottom:0.5rem}
.card__text{font-size:0.9rem;line-height:1.55;color:var(--text-muted);margin:0}

/* --- Benefit Cards --- */
.card--benefit{background:#fff;border:1px solid var(--border)}
.card--benefit:hover{box-shadow:var(--shadow-lg);border-color:transparent;transform:translateY(-4px)}

/* --- Segment Cards --- */
.segments{display:flex;flex-direction:column;gap:1.5rem}
.segment{padding:1.5rem;border-radius:var(--radius);border:1px solid var(--border);transition:all var(--transition)}
.segment:hover{border-color:var(--accent);box-shadow:var(--shadow-md);transform:translateX(4px)}
.segment__icon{display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center;border-radius:10px;background:rgba(27,74,138,0.1);color:var(--accent);font-size:1.15rem;margin-bottom:0.75rem}
.segment__title{font-size:1.1rem;margin-bottom:0.35rem}
.segment__text{font-size:0.9rem;color:var(--text-muted);line-height:1.5;margin-bottom:0.75rem}
.segment__link{font-weight:600;font-size:0.875rem;color:var(--accent);display:inline-flex;align-items:center;gap:0.35rem}
.segment__link:hover{color:var(--accent-hover)}
@media(min-width:768px){.segments{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}}

/* --- Impact Grid (cases com imagens) --- */
.impact-grid{display:grid;grid-template-columns:1fr;gap:2rem}
@media(min-width:768px){.impact-grid{grid-template-columns:repeat(3,1fr)}}
.impact-card{background:#fff;border-radius:var(--radius);border:1px solid var(--border);overflow:hidden;transition:all var(--transition)}
.impact-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-6px)}
.impact-card__image{width:100%;height:200px;overflow:hidden}
.impact-card__image img{width:100%;height:100%;object-fit:cover;transition:transform 0.5s ease}
.impact-card:hover .impact-card__image img{transform:scale(1.08)}
.impact-card__content{padding:1.5rem}
.impact-card__stat{display:inline-block;font-size:0.75rem;font-weight:700;text-transform:uppercase;letter-spacing:0.05em;color:var(--accent);margin-bottom:0.5rem}
.impact-card__stat strong{font-size:1.1rem}
.impact-card__title{font-size:1.1rem;margin-bottom:0.35rem}
.impact-card__text{font-size:0.85rem;color:var(--text-muted);line-height:1.55;margin:0}

/* --- Case Cards (original, mantido para fallback) --- */
.card--case{background:#fff;border:1px solid var(--border);text-align:center;padding:2.5rem 2rem}
.card--case:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px)}
.card__case-number{font-size:3rem;font-weight:800;color:var(--accent);font-family:var(--font-heading);line-height:1;margin-bottom:0.5rem}

/* --- Drupal Cards --- */
.drupal-showcase{display:grid;grid-template-columns:1fr;gap:2.5rem;align-items:center}
@media(min-width:992px){.drupal-showcase{grid-template-columns:1.5fr 1fr}}
.drupal-showcase__image{margin:0;border-radius:var(--radius);overflow:hidden;position:relative;aspect-ratio:3/2}
.drupal-showcase__image img{width:100%;height:100%;object-fit:cover;border-radius:var(--radius);display:block}
.drupal-showcase__image figcaption{position:absolute;bottom:0;left:0;right:0;padding:0.75rem 1rem;background:rgba(10,31,68,0.85);color:rgba(255,255,255,0.85);font-size:0.8rem;text-align:center;margin:0}
.card--drupal{background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.1);color:#fff;text-align:center;padding:1.75rem}
.card--drupal:hover{background:rgba(255,255,255,0.1);transform:translateY(-4px)}
.card--drupal .card__text{color:rgba(255,255,255,0.85)}
.card__drupal-icon{font-size:2rem;color:var(--accent-light);display:block;margin-bottom:1rem}

/* --- Process --- */
.process-with-image{display:grid;grid-template-columns:1fr;gap:2rem;align-items:start}
@media(min-width:992px){.process-with-image{grid-template-columns:1.2fr 1fr}}
.process{max-width:780px;margin:0 auto;display:flex;flex-direction:column;gap:1rem}
@media(min-width:992px){.process{margin:0}}
.process__image{display:none;border-radius:var(--radius);overflow:hidden;position:sticky;top:100px;aspect-ratio:3/4}
@media(min-width:992px){.process__image{display:block}}
.process__image img{width:100%;height:auto;min-height:500px;object-fit:cover;border-radius:var(--radius);display:block}
.process__step{display:flex;gap:1.25rem;align-items:flex-start;padding:1.25rem 1.5rem;background:rgba(255,255,255,0.06);border-radius:var(--radius);border:1px solid rgba(255,255,255,0.1);transition:all var(--transition)}
.section--light .process__step{background:#fff;border:1px solid var(--border);box-shadow:var(--shadow-sm)}
.section--light .process__info h3{color:var(--text)}
.section--light .process__info p{color:var(--text-muted)}
.process__step:hover{transform:translateX(6px);box-shadow:0 8px 30px rgba(0,0,0,0.2)}
.process__num{width:44px;height:44px;display:flex;align-items:center;justify-content:center;font-family:var(--font-heading);font-size:1.2rem;font-weight:700;border-radius:50%;background:var(--accent);color:#fff;flex-shrink:0}
.process__info{flex:1}
.process__info h3{font-size:1.05rem;margin-bottom:0.25rem;color:#fff}
.process__info p{font-size:0.9rem;color:rgba(255,255,255,0.88);line-height:1.5;margin:0}
@media(max-width:575px){.process__step{flex-direction:column;align-items:center;text-align:center}}

/* --- FAQ --- */
.faq{max-width:740px;margin:0 auto;display:flex;flex-direction:column;gap:0.75rem}
.faq__item{background:#fff;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden}
.faq__question{display:flex;justify-content:space-between;align-items:center;width:100%;padding:1.1rem 1.25rem;font-family:var(--font-body);font-size:0.95rem;font-weight:600;color:var(--text);border:none;background:transparent;cursor:pointer;text-align:left;gap:1rem}
.faq__question i{font-size:0.8rem;color:var(--text-muted);transition:transform 0.3s;flex-shrink:0}
.faq__question[aria-expanded="true"] i{transform:rotate(180deg)}
.faq__answer{max-height:0;overflow:hidden;transition:max-height 0.35s ease,padding 0.35s ease;padding:0 1.25rem}
.faq__answer > div{padding-bottom:1.1rem;font-size:0.9rem;color:var(--text-muted);line-height:1.6}
.faq__question[aria-expanded="true"] + .faq__answer{max-height:300px}

/* --- CTA Final --- */
.cta-final{max-width:680px;margin:0 auto;text-align:center}
.cta-final__title{font-size:clamp(1.5rem,3vw,2.25rem);color:#fff;margin-bottom:1rem}
.cta-final__text{font-size:1.05rem;color:rgba(255,255,255,0.8);margin-bottom:2rem;line-height:1.6}

/* --- Form --- */
.form-wrap{max-width:740px;margin:0 auto;background:#fff;border-radius:var(--radius);padding:3rem;box-shadow:var(--shadow-md);border:1px solid var(--border)}
@media(max-width:575px){.form-wrap{padding:1.5rem}}
.form{display:flex;flex-direction:column;gap:1.25rem}
.form__grid{display:grid;grid-template-columns:1fr;gap:1.25rem}
@media(min-width:768px){.form__grid{grid-template-columns:1fr 1fr}}
.form__group{display:flex;flex-direction:column;gap:0.35rem}
.form__label{font-size:0.85rem;font-weight:600;color:var(--text)}
.form__input{width:100%;padding:0.75rem 1rem;font-size:0.9rem;font-family:var(--font-body);border:1.5px solid var(--border);border-radius:var(--radius-sm);background:#fff;transition:all var(--transition);color:var(--text)}
.form__input:focus{outline:none;border-color:var(--secondary);box-shadow:0 0 0 4px rgba(45,108,192,0.2)}
.form__input::placeholder{color:#9CA3AF}
.form__select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center;padding-right:2.5rem}
.form__textarea{resize:vertical;min-height:90px}
.form__lgpd{font-size:0.75rem;color:var(--text-muted);text-align:center;margin:0}
.form__success{display:none;text-align:center;padding:2.5rem}
.form__success i{font-size:3rem;color:var(--accent-light);display:block;margin-bottom:1rem}
.form__success h3{font-size:1.35rem;margin-bottom:0.5rem}
.form__success p{color:var(--text-muted)}

/* --- Footer --- */
.footer{background:var(--primary);color:rgba(255,255,255,0.7);padding:3rem 0 0}
.footer__grid{display:grid;grid-template-columns:1fr;gap:2rem}
@media(min-width:768px){.footer__grid{grid-template-columns:2fr 1fr 1fr 1fr}}
.footer__brand img{margin-bottom:1rem}
.footer__brand p{font-size:0.85rem;line-height:1.6;max-width:300px}
.footer__col strong{display:block;font-size:0.85rem;font-weight:700;text-transform:uppercase;letter-spacing:0.05em;color:#fff;margin-bottom:1rem}
.footer__col{display:flex;flex-direction:column;gap:0.5rem}
.footer__col a{color:rgba(255,255,255,0.6);font-size:0.85rem;transition:color var(--transition)}
.footer__col a:hover{color:#fff}
.footer__col i{width:1.25rem}
.footer__bottom{border-top:1px solid rgba(255,255,255,0.08);padding:1.25rem 0;margin-top:2rem}
.footer__bottom p{font-size:0.8rem;text-align:center;margin:0;color:rgba(255,255,255,0.6)}

/* --- WhatsApp Float --- */
.whatsapp-float{position:fixed;bottom:20px;right:20px;z-index:99;width:56px;height:56px;display:flex;align-items:center;justify-content:center;background:#1a8a4a;color:#fff;font-size:1.6rem;border-radius:50%;box-shadow:0 4px 15px rgba(37,211,102,0.35);transition:all var(--transition)}
.whatsapp-float:hover{transform:scale(1.08);color:#fff;box-shadow:0 6px 25px rgba(37,211,102,0.45)}

/* --- Service Cards (Drupal, CiviCRM, IA, etc) --- */
.service-grid{display:grid;grid-template-columns:1fr;gap:1.5rem}
@media(min-width:768px){.service-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:992px){.service-grid{grid-template-columns:repeat(3,1fr)}}
.card--service{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:2rem;text-align:center;transition:all var(--transition)}
.card--service:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px);border-color:var(--accent)}
.card--service-icon{width:64px;height:64px;margin:0 auto 1.25rem;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(27,74,138,0.1);font-size:1.6rem;color:var(--accent)}
.card--service .card__title{font-size:1.15rem;margin-bottom:0.5rem}
.card--service .card__text{font-size:0.875rem}

/* --- Carrossel (CSS horizontal scroll) --- */
.carrossel{overflow:hidden;position:relative}
.carrossel__header{text-align:center;margin-bottom:2.5rem}
.carrossel__title{font-size:clamp(1.25rem,2.5vw,1.75rem);margin-bottom:0.5rem}
.carrossel__subtitle{font-size:0.95rem;color:var(--text-muted);margin:0}
.carrossel__track{display:flex;gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding-bottom:0.5rem}
.carrossel__track::-webkit-scrollbar{height:6px}
.carrossel__track::-webkit-scrollbar-track{background:rgba(0,0,0,0.05);border-radius:3px}
.carrossel__track::-webkit-scrollbar-thumb{background:var(--accent);border-radius:3px}
.carrossel__item{flex:0 0 140px;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;gap:0.75rem;padding:1.25rem 0.75rem;background:#fff;border-radius:var(--radius-sm);border:1px solid var(--border);transition:all var(--transition)}
.carrossel__item:hover{border-color:var(--accent);box-shadow:var(--shadow-sm)}
.carrossel__item-icon{width:56px;height:56px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;color:var(--accent);background:rgba(27,74,138,0.08);border-radius:12px}
.carrossel__item-label{font-size:0.8rem;font-weight:600;text-align:center;color:var(--text);line-height:1.2}
.carrossel__hint{text-align:center;font-size:0.75rem;color:var(--text-muted);margin-top:1rem}
.carrossel__hint i{margin-right:0.3rem}
@media(min-width:768px){.carrossel__item{flex:0 0 160px}}
@media(min-width:992px){.carrossel__item{flex:0 0 170px}}

/* --- Side Image (como reference) --- */
.side-image{display:grid;grid-template-columns:1fr;gap:0}
@media(min-width:992px){.side-image{grid-template-columns:1fr 1fr}}
.side-image__visual{min-height:320px;background:linear-gradient(135deg,var(--primary-alt),var(--primary));display:flex;align-items:center;justify-content:center;padding:0;overflow:hidden;position:relative}
.side-image__visual i{font-size:4rem;color:var(--accent-light);opacity:0.6}
.side-image__visual img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.side-image__text{padding:2.5rem;display:flex;flex-direction:column;justify-content:center;gap:1rem}
@media(min-width:992px){.side-image__text{padding:3rem 4rem 3rem 3rem}}
.side-image__text h3{font-size:1.25rem;margin:0}
.side-image__text p{font-size:0.9rem;margin:0;color:rgba(255,255,255,0.88);line-height:1.5}
.side-image__items{display:grid;grid-template-columns:1fr 1fr;gap:0.6rem;margin-top:0.5rem}
.side-image__item{display:flex;align-items:center;gap:0.5rem;font-size:0.85rem;color:rgba(255,255,255,0.85)}
.side-image__item i{color:var(--accent-light);font-size:0.75rem;width:16px}

/* --- Section--alt (dark blue como reference) --- */
.section--alt{background:var(--primary-alt);color:#fff}
.section--alt .section__title{color:#fff}
.section--alt .section__desc{color:rgba(255,255,255,0.8)}
.section--alt .section__tag{background:rgba(255,255,255,0.1);color:var(--accent-light)}
.section--gray{background:var(--gray-section);color:var(--text)}
.section--gray .section__title{color:var(--primary-alt)}
.section--gray .section__tag{background:rgba(27,74,138,0.1);color:var(--accent)}

/* --- Animations --- */
@keyframes fadeUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
.animate{animation:fadeUp 0.55s ease forwards}

/* --- Accessibility --- */
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:0.01ms!important;animation-iteration-count:1!important;transition-duration:0.01ms!important;scroll-behavior:auto!important}}
:focus-visible{outline:2px solid var(--secondary);outline-offset:2px}
.btn:focus-visible,.header__link:focus-visible,.faq__question:focus-visible{outline:2px solid var(--secondary);outline-offset:2px}
.btn--primary:focus-visible{outline-color:#fff;box-shadow:0 0 0 4px rgba(27,74,138,0.4)}

/* --- Drupal Reasons Cards (Por que governos escolhem Drupal) --- */
.drupal-reasons{display:grid;grid-template-columns:1fr;gap:1.25rem}
@media(min-width:640px){.drupal-reasons{grid-template-columns:repeat(2,1fr)}}
@media(min-width:992px){.drupal-reasons{grid-template-columns:repeat(4,1fr)}}
.reason-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:1.75rem 1.5rem;transition:all var(--transition);position:relative;overflow:hidden}
.reason-card::before{content:'';position:absolute;top:0;left:0;width:100%;height:3px;background:linear-gradient(90deg,var(--accent),var(--secondary));opacity:0;transition:opacity var(--transition)}
.reason-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px);border-color:transparent}
.reason-card:hover::before{opacity:1}
.reason-card__icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:rgba(27,74,138,0.08);color:var(--accent);font-size:1.3rem;margin-bottom:1rem}
.reason-card__title{font-size:1rem;margin-bottom:0.4rem;color:var(--primary)}
.reason-card__text{font-size:0.85rem;line-height:1.55;color:var(--text-muted);margin:0}

/* --- Print --- */
@media print{.header,.whatsapp-float{display:none}.hero{min-height:auto;padding:2rem 0;background:var(--primary)!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* --- Banner / Hero Image Component (reutilizável) --- */
.banner__image,.hero__image-frame{width:100%;overflow:hidden}
.banner__image img,.hero__image-frame img,.hero__image{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
