/*
Theme Name: Gradient Health
Theme URI: https://gradienthealth.io
Author: Jocsã Naves
Description: Gradient Health theme.
Version: 1.0.0
Text Domain: gradienthealth
*/



/* ==== Header (component) ===================================== */
:root { --header-h: 72px; } /* ok ficar aqui, é específico do header */
.site-header { position:fixed; top:0; left:0; right:0; z-index:1000; background:transparent; transition:background .25s, box-shadow .25s, backdrop-filter .25s; }
.site-header.is-solid { background:#fff; box-shadow:0 6px 20px rgba(0,0,0,.06); }
.container.header-inner { max-width:1200px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:16px 20px; }
.menu-items { list-style:none; display:flex; gap:28px; margin:0; padding:0; }
.menu-items > li > a { text-decoration:none; font-weight:600; padding:8px 0; transition: color .2s; }
.site-header:not(.is-solid) .menu-items > li > a,
.site-header:not(.is-solid) .btn-cta,
.site-header:not(.is-solid) .site-title { color:#fff; }
.site-header.is-solid .menu-items > li > a { color: var(--gh-text-strong); }
/* Logo swap */
.site-logo img { height:64px; width:auto; }
.site-logo .logo-dark { display:none; }
.site-header.is-solid .logo-light { display:none; }
.site-header.is-solid .logo-dark  { display:inline; }
/* Offset content when header is fixed & solid from first paint */
body.header-solid { padding-top: var(--header-h); }

/* ==== Hero (component) ======================================= */
.hero { position:relative; color:#fff; }
.hero--fold { min-height:100svh; display:grid; align-items:center; }
.hero.has-overlay {
  background-image:
    linear-gradient(135deg, rgba(141,220,246,.70), rgba(111,114,249,.90)),
    var(--hero-bg);
  background-size: cover, cover;
  background-position: center, center;
}
.container.hero-inner { max-width:1200px; margin:0 auto; padding:min(6vw,64px) 20px; text-align:center; }
.hero-title   { font-size:clamp(28px,5vw,56px); line-height:1.1; margin:0 0 12px; color:#fff; }
.hero-subtitle{ font-size:clamp(16px,2vw,20px); opacity:.96; text-align: center; color: white; width: 80%; margin: 10px auto 24px auto;}
.hero-actions .btn-cta { background: var(--gh-gradient); color:#fff; border-radius:999px; padding:12px 18px; font-weight:500; box-shadow:0 8px 24px rgba(0,0,0,.15); }

/* body offsets */
body { padding-top:0; }
[id]{ scroll-margin-top: calc(var(--header-h) + 12px); }

/* ==== Header Mobile Fixes ===================================== */

/* Base header styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background .25s, box-shadow .25s, backdrop-filter .25s;
}

.site-header.is-solid {
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
}

.site-header .d-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo styling */
.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  z-index: 1001;
}

.site-brand .logo {
  height: 48px;
  width: auto;
  display: block;
}

.site-brand .logo-dark {
  display: none;
}

.site-header.is-solid .logo-light {
  display: none;
}

.site-header.is-solid .logo-dark {
  display: block;
}

/* ===== Desktop Navigation (default) ===== */
.nav-toggle {
  display: none; /* Hidden on desktop */
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 28px;
  align-items: center;
}

.nav-list li {
  position: relative;
}

.nav-list > li > a {
  text-decoration: none;
  font-weight: 600;
  padding: 8px 0;
  transition: color .2s;
  color: inherit;
}

/* Default (transparent header) - white text */
.site-header:not(.is-solid) .nav-list > li > a,
.site-header:not(.is-solid) .btn-free-trial {
  color: #fff;
}

/* Solid header - dark text */
.site-header.is-solid .nav-list > li > a {
  color: var(--gh-text-strong, #2b2f5b);
}

.nav-list > li > a:hover {
  opacity: 0.8;
}

/* Header CTA Button */
.header-cta {
  display: flex;
  align-items: center;
}

.btn-free-trial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--gh-gradient, linear-gradient(90deg, #66cdec, #5a4fa1));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(28,38,63,.12);
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn-free-trial:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(28,38,63,.18);
}

/* ===== Submenu (Dropdown) Styles ===== */
.nav-list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(28,38,63,.12);
  padding: 12px 0;
  margin-top: 8px;
  min-width: 200px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.nav-list li:hover > .sub-menu,
.nav-list li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-list .sub-menu li {
  padding: 0;
}

.nav-list .sub-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--gh-text-strong, #2b2f5b);
  text-decoration: none;
  transition: background .15s ease;
}

.nav-list .sub-menu a:hover {
  background: var(--gh-surface, #F6F8FC);
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 1024px) {
  
  /* Show hamburger menu button */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
  }

  /* Hamburger bars */
  .nav-toggle__bar {
    width: 26px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: all .3s ease;
    position: relative;
  }

  .nav-toggle__bar:not(:last-child) {
    margin-bottom: 6px;
  }

  /* Default (transparent header) - white bars */
  .site-header:not(.is-solid) .nav-toggle__bar {
    background: #fff;
  }

  /* Solid header - dark bars */
  .site-header.is-solid .nav-toggle__bar {
    background: var(--gh-text-strong, #2b2f5b);
  }

  /* Hamburger animation when open */
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Mobile Navigation Panel */
  .primary-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 360px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0,0,0,.15);
    padding: 80px 24px 24px;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transition: right .3s ease;
    z-index: 1000;
  }

  .primary-nav.is-open {
    right: 0;
  }

  /* Mobile overlay */
  .primary-nav::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
    pointer-events: none;
    z-index: -1;
  }

  .primary-nav.is-open::before {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Mobile menu items */
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-list > li {
    width: 100%;
    border-bottom: 1px solid rgba(31,42,64,.08);
  }

  .nav-list > li > a {
    display: block;
    padding: 16px 0;
    color: var(--gh-text-strong, #2b2f5b) !important;
    font-size: 1.05rem;
  }

  /* Mobile submenu */
  .nav-list .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--gh-surface, #F6F8FC);
    margin: 8px 0;
    border-radius: 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }

  .nav-list li.menu-item-has-children.is-open > .sub-menu {
    max-height: 500px;
  }

  .nav-list .sub-menu a {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  /* Mobile CTA */
  .header-cta {
    margin-top: 24px;
    width: 100%;
  }

  .btn-free-trial {
    width: 100%;
    padding: 14px 20px;
    justify-content: center;
  }

  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }
}

/* ===== Tablet adjustments ===== */
@media (max-width: 768px) {
  .site-brand .logo {
    height: 40px;
  }

  .primary-nav {
    max-width: 320px;
  }
}

/* ===== Small mobile ===== */
@media (max-width: 480px) {
  .site-header .container {
    padding: 12px 16px;
  }

  .site-brand .logo {
    height: 36px;
  }

  .primary-nav {
    max-width: 100%;
    padding: 70px 20px 20px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .nav-toggle__bar {
    width: 24px;
  }
}
/* ==== Footer (component) ===================================== */
.site-footer {
  color: var(--footer-fg, #dfe6f9);
  background: var(--footer-bg, #0b1020);
}
.footer-top {
  border-top: 3px solid var(--footer-line, rgba(255,255,255,.12));
  padding: 48px 0;
}
.footer-bottom {
  border-top: 1px solid var(--footer-line, rgba(255,255,255,.12));
  padding: 16px 0;
}

.container.footer-grid {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-logo .custom-logo { height: 32px; width: auto; filter: brightness(1.2); }
.footer-tagline { color: var(--footer-dim, #b7c2d9); margin: 0; width: 90%; text-align: justify;}

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--footer-fg, #dfe6f9); text-decoration: none; opacity: .9; }
.footer-links a:hover, .footer-links a:focus { opacity: 1; text-decoration: underline; }

.social-links, .social-menu { list-style:none; display:flex; gap:12px; padding:0; margin:12px 0 0; }
.social-links a, .social-menu a { color: var(--footer-fg, #dfe6f9); display:inline-flex; align-items:center; gap:8px; opacity:.9; }
.social-links a:hover, .social-menu a:hover { opacity:1; }

.bottom-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display:flex; align-items:center; justify-content:space-between; gap: 16px; }
.legal-links { list-style:none; display:flex; gap:26px; margin:0; padding:0; }
.legal-links a { color: var(--footer-dim, #b7c2d9); text-decoration:none; }
.legal-links a:hover { color: var(--footer-fg, #dfe6f9); text-decoration:underline; }

.back-to-top { color: var(--footer-fg, #dfe6f9); display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:999px; border:1px solid var(--footer-line, rgba(255,255,255,.12)); text-decoration: none;}
.back-to-top:hover { background: rgba(255,255,255,.06); }

/* Responsive */
@media (max-width: 960px){ .container.footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px){ .container.footer-grid { grid-template-columns: 1fr; } .bottom-inner { flex-direction: column; align-items: flex-start; } }

.footer-certs{
  display:flex; flex-wrap:wrap; gap:14px;
  margin-top: 12px;
}
.footer-certs .cert{
  display:inline-flex; align-items:left; justify-content:left;
  padding:10px 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--footer-line, rgba(255,255,255,.12));
  border-radius: 12px;
  width: 80%;
  text-align: left;
}
.footer-certs img{
  height: 40px; width: auto; display:block; filter: brightness(1.08);
}
@media (max-width:720px){
  .footer-certs{ gap:10px; }
  .footer-certs img{ height:24px; }
}

.footer-brand { margin: 12px 0 8px; color: var(--footer-fg, #dfe6f9); }

/* ==== Home sections ========================================== */
/* Section: Meet Gradient Health (about + video) */
.section-about-video .row { align-items:center; margin-top: 30px; }
.video-embed { position:relative; width:100%; aspect-ratio:16/9; border-radius:16px; overflow:hidden; background:#0b1020; box-shadow: var(--gh-shadow-sm); }
.video-embed iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.section-about-video .h2 { margin:0 0 12px; }
.section-about-video .lead { margin:0; opacity:.95; max-width: 90%; }

/* ========== Section: How can we help you? ========== */
.section-help .tac { text-align: center; } 
.section-help h2 { text-align: center; }

.help-cards {
  margin-top: 50px;
  margin-bottom: 50px;
}

.card-help {
  margin: auto;
}
/* Card base */
.help-card {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 25px;
  border: 1px solid rgba(31, 42, 64, .08);
  box-shadow: 0 8px 24px rgba(28,38,63,.08);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
  justify-content: space-between;
}

.help-card:hover,
.help-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(28,38,63,.12);
}

/* Icon */
.help-icon {
  width: 100px;
  height: auto;
  margin-bottom: 18px;
  display: block;
}

/* Texts */
.help-title { 
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--gh-text-strong);
  text-align: center;
}

.help-desc {
  margin: 0 0 18px;
  color: var(--gh-text);
  opacity: .95;
  max-width: 50ch;
}

/* Button */
.help-btn {
  width: 80%;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--gh-gradient);
  color: #fff;
  box-shadow: 0 6px 18px rgba(28,38,63,.12);
  text-decoration: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .help-card { 
    width: 100%;
    margin-bottom: 24px;
  }
  
  .help-btn {
    width: 100%;
  }
}

/* === Numbers & Clients ======================================= */
.section-numbers-clients .tac { text-align: center; margin-top: 50px; }

/* stats */
.stats .stat { text-align:center; padding-top: 30px; }
.stat-value{
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 700; line-height: .95;
  background: var(--gh-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label{
  margin-top: 8px;
  color: var(--gh-text);
  opacity: .95;
  font-size: 0.95rem;
}

/* clients */
.clients-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}
.client{
  background: #fff;
  border: 1px solid rgba(31,42,64,.10);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(28,38,63,.06);
  padding: 24px;
}
.client img{
  max-height: 80px; max-width: 80%;
  width: auto; height: auto; object-fit: contain; display:block;
}

/* breakpoints */
@media (max-width: 1100px){
  .clients-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 680px){
  .clients-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* === Testimonials ===================================================== */
.section-testimonials { text-align: center; margin-bottom: 50px; margin-top: 50px; }

/* Card em gradient, ocupa largura do .container */
.tst-card{
  position: relative;
  border-radius: var(--gh-radius-xl, 24px);
  padding: clamp(24px, 6vw, 40px) clamp(16px, 6vw, 64px);
  background: var(--gh-gradient);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(28,38,63,.18);
}

/* Pista + slides (fade simples) */
.tst-track{ position: relative; min-height: 220px; }
.t-slide{
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
  display: grid; place-content: center;
  text-align: center;
  padding-inline: min(6vw, 60px);
}
.t-slide.is-active{ opacity: 1; transform: none; position: absolute; }

.t-quote{
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.6;
  max-width: 75ch;
  margin: 0 auto 18px;
  color: white;
}
.t-quote p {
  color: white;
}
.t-author{
  display: inline-flex; align-items: center; gap: 12px;
  justify-content: center;
  color: white;
}
.t-avatar{
  width: 68px; height: 68px; border-radius: 999px; object-fit: cover;
  border: 2px solid rgba(255,255,255,.6);
}
.t-name{ display:block; font-weight: 700; text-align: left; color: white; }
.t-role{ display:block; font-size: 0.95rem; opacity: .95; text-align: left; color: white; }

/* setas */
.t-nav{
  position: absolute; top: 50%; translate: 0 -50%;
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgba(255,255,255,.55);
  color: #fff; background: rgba(255,255,255,.12);
  display: grid; place-items: center;
  cursor: pointer;
}
.t-prev{ left: 12px; }
.t-next{ right: 12px; }
.t-nav:hover{ background: rgba(255,255,255,.18); }
.t-nav:focus-visible{ outline: 3px solid rgba(255,255,255,.6); outline-offset: 3px; }

/* dots */
.t-dots{
  display: flex; gap: 8px; justify-content: center;
  margin-top: 18px;
}
.t-dot{
  width: 8px; height: 8px; border-radius: 999px; border: 0;
  background: rgba(255,255,255,.5); cursor: pointer;
}
.t-dot.is-active{ background: #fff; width: 10px; height: 10px; }

/* responsivo */
@media (max-width: 720px){
  .tst-card{ padding: 24px 16px 32px; border-radius: 18px; }
  .t-prev, .t-next{ top: unset; bottom: 50px; translate: 0 0; }
}

/* === Testimonials v2 (side arrows, dots, avatar) ======================= */
.section-testimonials .tst-title { 
  margin-block: clamp(8px, 1.5vw, 16px) clamp(16px, 3vw, 24px); 
}

.tst-card{
  position: relative;
  border-radius: var(--gh-radius-xl, 24px);
  padding: clamp(32px, 6vw, 56px);
  background: var(--gh-gradient);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(28,38,63,.18);
}

/* Track + slides (crossfade) */
.tst-track{ position: relative; min-height: clamp(220px, 28vw, 320px); }
.t-slide{
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(6px) scale(.995);
  transition: opacity .35s ease, transform .35s ease;
  display: grid; place-content: center; text-align: center;
  padding-inline: min(6vw, 60px);
}
.t-slide.is-active{ opacity: 1; transform: translateY(0) scale(1); }

/* Quote content */
.t-quote .t-text{
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.45;
  font-weight: 500;
  margin-bottom: clamp(16px, 2vw, 24px);
}

/* Author row */
.t-author{
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.t-avatar{
  width: 56px; height: 56px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.t-name{ font-weight: 700; font-size: 1.5rem; }
.t-meta{ opacity: .9; margin-left: 8px; font-weight: 500; font-size: 1rem;}

/* Side arrows */
.tst-arrow{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.95);
  color: #222;
  border: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  z-index: 3;
}
.tst-prev{ left: clamp(8px, 1.6vw, 16px); }
.tst-next{ right: clamp(8px, 1.6vw, 16px); }
.tst-arrow:hover{ transform: translateY(-50%) scale(1.04); }
.tst-arrow:active{ transform: translateY(-50%) scale(.98); }
.tst-arrow i{ width: 20px; height: 20px; }

/* Dots */
.tst-dots{
  position: absolute; left: 50%; bottom: clamp(12px, 2vw, 20px);
  transform: translateX(-50%);
  display: inline-flex; gap: 8px;
  z-index: 3;
}
.tst-dot{
  width: 8px; height: 8px; border-radius: 999px;
  background: rgba(255,255,255,.6);
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
  transition: transform .2s ease, background .2s ease;
}
.tst-dot.is-active{ background: #fff; transform: scale(1.18); }

/* Mobile tweaks */
@media (max-width: 640px){
  .tst-arrow{ width: 40px; height: 40px; }
  .t-quote .t-text{ font-size: clamp(16px, 4.8vw, 22px); }
}


/* ===== Blog grid & cards ===================================== */
.post-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 1024px){ .post-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px){  .post-grid{ grid-template-columns: 1fr; } }

.post-card{
  background:#fff;
  border:1px solid rgba(31,42,64,.08);
  border-radius:16px;
  box-shadow: 0 8px 24px rgba(28,38,63,.06);
  overflow:hidden;
  display:flex; flex-direction:column; height:100%;
  transition: transform .18s ease, box-shadow .18s ease;
}
.post-card:hover{ transform: translateY(-2px); box-shadow: 0 14px 36px rgba(28,38,63,.12); }

.post-media{ display:block; position:relative; }
.post-thumb{ width:100%; height:auto; display:block; aspect-ratio: 16/9; object-fit: cover; }

.post-body{ padding: 18px 18px 20px; display:grid; gap:10px; }
.post-title{ font-size:1.15rem; margin:0; line-height:1.25; }
.post-title a{ color: var(--gh-text-strong); text-decoration:none; }
.post-title a:hover{ text-decoration:underline; }

.post-excerpt{ margin:0; color: var(--gh-text); opacity:.95; }

.post-meta{ display:flex; align-items:center; gap:8px; color:#6b7280; font-size:.9rem; }
.post-meta .dot{ opacity:.6; }

.post-more{ margin-top: 6px; }
.post-more.btn{ border-radius: 999px; }

/* Blog grid — centralizar quando houver só 1 post */
.post-grid { 
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.post-grid > * { min-width: 0; }        /* previne overflow do conteúdo */
.post-grid > :only-child { grid-column: 2; } /* 1 card: vai para a coluna central */

/* (Opcional) 2 posts: centraliza ambos nas colunas do meio (suporte moderno) */


.section-latest h2 {
  text-align: center;
}

/* ===== Blog: Category chips ================================== */
.blog-chips{
  display:flex; flex-wrap:wrap; gap:10px;
  margin: 0 0 18px;
}
.blog-chips .chip{
  display:inline-flex; align-items:center; gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(31,42,64,.12);
  background: #fff;
  color: var(--gh-text-strong);
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(28,38,63,.06);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.blog-chips .chip:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(28,38,63,.12);
}
.blog-chips .chip.is-active{
  background: var(--gh-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(28,38,63,.20);
}
.blog-chips .chip-count{
  display:inline-block;
  font-size: .85em;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(31,42,64,.06);
  color: inherit;
}
.blog-chips .chip.is-active .chip-count{
  background: rgba(255,255,255,.2);
}

/* Load more */
.load-more-wrap { text-align:center; margin-top: 24px; }
.load-more[disabled] { opacity:.6; pointer-events:none; }
/* Quando o JS ativa o enhancement, escondemos a paginação tradicional */
.has-loadmore .pagination { display:none; }

.pagination { display:inline-flex; gap:8px; align-items:center; }
.pagination .page-numbers { padding:8px 12px; border-radius:999px; text-decoration:none; }
.pagination .current { background: var(--gh-gradient); color:#fff; border:0; }
.tac { text-align:center; } /* caso ainda não exista */

/* ===== Blog cards — refinado ================================= */
.post-card{
  background:#fff;
  border:1px solid rgba(31,42,64,.08);
  border-radius:16px;
  box-shadow: 0 8px 24px rgba(28,38,63,.06);
  overflow:hidden;
  display:flex; flex-direction:column; height:100%;
  transition: transform .18s ease, box-shadow .18s ease;
}
.post-card:hover{ transform: translateY(-2px); box-shadow: 0 14px 36px rgba(28,38,63,.12); }

.post-media{ position:relative; display:block; }
.post-thumb{ width:100%; height:auto; display:block; aspect-ratio:16/9; object-fit:cover; }

/* Badge de categoria (usa gradiente da marca) */
.post-badge{
  position:absolute; left:12px; top:12px;
  padding:6px 10px; border-radius:999px;
  background: var(--gh-gradient);
  color:#fff; font-weight:700; font-size:.8rem;
  box-shadow: 0 6px 18px rgba(28,38,63,.18);
}

/* corpo e clamps */
.post-body{ padding:18px; display:grid; gap:10px; grid-auto-rows:minmax(0, auto); }
.post-title{ margin:0; line-height:1.25; font-size:1.15rem; }
.post-title a{ color: var(--gh-text-strong); text-decoration:none; }
.post-title a:hover{ text-decoration:underline; }

/* 2 linhas para o título */
.post-title a{
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}

/* 3 linhas para o excerpt */
.post-excerpt{
  margin:0; color: var(--gh-text); opacity:.95;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}

.post-meta{ display:flex; align-items:center; gap:8px; color:#6b7280; font-size:.9rem; }
.post-meta .dot{ opacity:.6; }

.post-more{ margin-top: 4px; border-radius:999px; }

/* Grid — centralizar 1 post; 2 posts bonitinhos */
.post-grid{
  display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:24px; align-items:stretch;
}
.post-grid > *{ min-width:0; }
.post-grid > :only-child{ grid-column:2; } /* 1 card no centro */

@media (max-width:1024px){ .post-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){  .post-grid{ grid-template-columns:1fr; } }

/* === Single: Author box ====================================== */
.author-box { padding-top: 0; margin-bottom: 50px;} /* fica colado ao post */
.author-card{
  display:flex; gap:16px; align-items:flex-start;
  background: var(--gh-surface, #F6F8FC);
  border: 1px solid rgba(31,42,64,.08);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(28,38,63,.06);
}
.author-avatar{ width:64px; height:64px; border-radius:999px; object-fit:cover; }
.author-name{ margin:0 0 6px; color: var(--gh-text-strong); font-weight:700; }
.author-bio{ margin:0; color: var(--gh-text); opacity:.95; }
.author-link{ display:inline-block; margin-top:8px; color: var(--gh-text-strong); text-decoration:none; }
.author-link:hover{ text-decoration:underline; }
.author-job{
  margin: -2px 0 6px;
  font-size: .95rem;
  color: var(--gh-text);
  opacity: .85;
}


/* === Single: Related posts =================================== */
.related-posts .post-grid{ margin-top: 8px; }

/* === Single: Prev/Next nav =================================== */
.post-nav{
  display:flex; justify-content:space-between; gap:12px; margin-top: 24px;
  padding-top:16px; border-top:1px solid rgba(31,42,64,.12);
}
.post-nav a{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 14px; border-radius:999px;
  background:#fff; border:1px solid rgba(31,42,64,.12);
  text-decoration:none; color: var(--gh-text-strong);
  box-shadow: 0 6px 18px rgba(28,38,63,.06);
}
.post-nav a:hover{ box-shadow: 0 10px 24px rgba(28,38,63,.12); transform: translateY(-1px); }
.post-nav .prev a::before{ content:"←"; }
.post-nav .next a::after{ content:"→"; }

/* Conteúdo do post (ajustes finos) */
.post-single .entry-content img{ max-width:100%; height:auto; border-radius:12px; }
.post-single .entry-content h2, 
.post-single .entry-content h3 { color: var(--gh-text-strong); }


/* === Newsletter (HubSpot) =================================== */
.section-newsletter .container { overflow: visible; }

.nl-card{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(16px, 4vw, 48px);
  padding: clamp(20px, 5vw, 36px);
  border-radius: 24px;
  background: var(--gh-gradient);
  color: #fff;
  box-shadow: 0 16px 40px rgba(28,38,63,.18);
}
.nl-left .h2 { color:#fff; margin:0 0 8px; }
.nl-desc{ margin:0; color:#fff; opacity:.95; max-width: 58ch; }

.nl-right { display:flex; flex-direction:column; justify-content:center; }

/* placeholder/skeleton while Hubspot update */
.nl-skeleton{
  height: 56px;
  border-radius: 999px;
  background: rgba(255,255,255,.25);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.25);
}

/* Hubspot better function */
.section-newsletter .hs-form fieldset { max-width:none !important; }
.section-newsletter .hs-form .input, 
.section-newsletter .hs-form .hs_email { width: 100% !important; }
.section-newsletter .hs-form label { color:#fff; font-weight:700; margin-bottom:6px; display:inline-block; }

/* Input pill */
.section-newsletter .nl-input,
.section-newsletter .hs-form input[type="email"]{
  width:100%;
  height:56px;
  border-radius: 999px;
  border: none;
  padding: 0 16px;
  background: rgba(255,255,255,.95);
  color: #111827;
  box-shadow: 0 2px 0 rgba(0,0,0,.04) inset, 0 6px 18px rgba(28,38,63,.12);
}
.section-newsletter .hs-form input[type="email"]::placeholder { color:#6b7280; }

/* White Button */
.section-newsletter .nl-submit,
.section-newsletter .hs-form input[type="submit"]{
  margin-top: 12px;
  border-radius: 999px !important;
  background: #fff !important;
  color: #2b2f5b !important;
  border: 0 !important;
  padding: 10px 16px !important;
  box-shadow: 0 8px 24px rgba(28,38,63,.20);
  cursor:pointer;
}
.section-newsletter .hs-error-msgs,
.section-newsletter .hs-error-msg { color:#fff; }

/* Mobile Friendly */
@media (max-width: 900px){
  .nl-card{ grid-template-columns: 1fr; }
}

/* ===== Atlas page =========================================== */
.grid-2{ display:grid; grid-template-columns: 1.1fr 1fr; gap: clamp(16px,4vw,48px); align-items:center; }
.grid-2 .media img, .video-embed iframe{ width:100%; border-radius:16px; box-shadow: 0 8px 24px rgba(28,38,63,.10); }

.check-list{ margin:12px 0 0; padding:0 0 0 1.2em; }
.check-list li{ margin:.25rem 0; }

.feature-grid{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:24px; }
.feature{ background:#fff; border:1px solid rgba(31,42,64,.08); border-radius:16px; padding:18px; box-shadow:0 8px 24px rgba(28,38,63,.06); height:100%; }
.feature .icon{ width:28px; height:28px; margin-bottom:8px; }

.steps{ list-style:none; padding:0; margin:0; display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:24px; }
.steps li{ background:#fff; border:1px solid rgba(31,42,64,.08); border-radius:16px; padding:18px; box-shadow:0 8px 24px rgba(28,38,63,.06); text-align:center; }
.step-num{ display:inline-flex; width:36px;height:36px; border-radius:999px; align-items:center;justify-content:center; background:var(--gh-gradient); color:#fff; font-weight:700; margin-bottom:8px; }

.atlas-cta{ background: var(--gh-surface,#F6F8FC); border-top:1px solid rgba(31,42,64,.08); border-bottom:1px solid rgba(31,42,64,.08); border-radius:16px; }

@media (max-width:1024px){
  .feature-grid, .steps{ grid-template-columns: repeat(2,1fr); }
  .grid-2{ grid-template-columns: 1fr; }
}
@media (max-width:640px){
  .feature-grid, .steps{ grid-template-columns: 1fr; }
}

/* ===== Atlas: Need Switcher (no JS) ========================= */
.atlas-need .need-wrap{ position:relative; }
.atlas-need .need-radio{ position:absolute; opacity:0; pointer-events:none; }

.atlas-need .need-grid{
  display:grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(16px,4vw,48px);
}

.need-list{ list-style:none; padding:0; margin:0; display:grid; gap:18px; }
.need-item{
  display:block; position:relative;
  padding:16px 18px 16px 20px;
  border-radius:12px;
  border:1px solid rgba(31,42,64,.08);
  background:#fff;
  box-shadow:0 8px 24px rgba(28,38,63,.06);
  cursor:pointer;
  transition: box-shadow .18s ease, transform .18s ease, background .18s ease;
}
.need-item:hover{ transform: translateY(-1px); box-shadow:0 12px 28px rgba(28,38,63,.10); }
.need-item::before{
  content:""; position:absolute; left:-1px; top:-1px; bottom:-1px; width:6px;
  background: var(--gh-gradient); border-radius:12px 0 0 12px; opacity:0; transition: opacity .18s ease;
}
.need-title{ display:block; font-weight:700; color: var(--gh-text-strong); margin-bottom:6px; }
.need-desc{ display:block; color: var(--gh-text); opacity:.95; }

.need-right .need-visual{
  position:relative; min-height: 440px; border-radius:16px;
  background: linear-gradient(135deg, rgba(116,207,246,.25), rgba(73,84,196,.25));
  border:1px solid rgba(31,42,64,.08);
  box-shadow:0 16px 40px rgba(28,38,63,.10);
  overflow:hidden;
}
.need-panel{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; opacity:0; transition: opacity .24s ease;
}

/* ===== Atlas: Overview (split) =============================== */
.split{
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(16px, 4vw, 48px);
  align-items:center;
}
.split.is-reverse{ grid-template-columns: 1fr 1.1fr; }
.split.is-reverse .split-text{ order:2; }
.split.is-reverse .split-media{ order:1; }

.split-text .lead p{ margin:0 0 1rem; color:var(--gh-text); opacity:.95; }

.illus-frame{
  margin:0;
  border-radius:16px;
  background:#fff;
  border:1px solid rgba(31,42,64,.08);
  box-shadow:0 12px 36px rgba(28,38,63,.12);
  overflow:hidden;
}
.split-img{ width:100%; height:auto; display:block; object-fit:cover; }

@media (max-width:1024px){
  .split{ grid-template-columns:1fr; }
  .split.is-reverse .split-text{ order:1; }
  .split.is-reverse .split-media{ order:2; }
}

/* ===== Atlas: How it works (1 passo por linha, alternando lados) */
.atlas-how .how-timeline{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;   /* só para referenciar o 50% do container */
  row-gap: 48px;
  padding: 0;
  list-style-type: none;
  counter-reset: how;
}

/* Linha central */
.atlas-how .how-timeline::before{
  content:"";
  position:absolute; inset:0 auto 0 50%;
  width:1px; transform:translateX(-.5px);
  background: linear-gradient(180deg, rgba(31,42,64,.18), rgba(31,42,64,.10));
}

/* Cada item ocupa a LINHA inteira e tem largura de meia página (menos o respiro) */
.atlas-how .how-item{
  grid-column: 1 / -1;                  
  width: calc(50% - 68px);              
  justify-self: start;                  
  position: relative;
  background:#fff;
  border:1px solid rgba(31,42,64,.08);
  border-radius:16px;
  padding:16px 18px;
  box-shadow:0 8px 24px rgba(28,38,63,.06);
  counter-increment: how;
}

/* Passos pares vão para a direita */
.atlas-how .how-item:nth-child(even){
  justify-self: end;
}

/* Títulos e textos */
.atlas-how .how-h{ margin:0 0 6px; color:var(--gh-text-strong); font-weight:700; }
.atlas-how .how-p{ margin:0; color:var(--gh-text); opacity:.95; }

/* Marcador numerado (alinha junto à linha central) */
.atlas-how .how-item::after{
  content: counter(how);
  position:absolute; top:50%;
  width:28px; height:28px;
  border-radius:999px; display:grid; place-items:center;
  background: var(--gh-gradient);
  color:#fff; font-weight:700; font-size:.9rem;
  box-shadow: 0 8px 18px rgba(28,38,63,.20);
  transform: translateY(-50%);
  z-index: 2;
}
/* ponto encostado na linha central */
.atlas-how .how-item:nth-child(odd)::after{ right: -46px; }
.atlas-how .how-item:nth-child(even)::after{ left:  -46px; }

/* Responsivo: linha única e ponto à esquerda */
@media (max-width: 900px){
  .atlas-how .how-timeline{ grid-template-columns: 1fr; }
  .atlas-how .how-timeline::before{ left: 18px; transform:none; width:2px; opacity:.25; }
  .atlas-how .how-item{
    width: 100%;
    justify-self: stretch;
    padding-left: 56px;
  }
  .atlas-how .how-item::after{
    left: 18px; right:auto;
  }
}

/* ===== CTA: Free Trial ====================================== */
.cta-free__card{
  display:flex; align-items:center; justify-content:space-between;
  gap: clamp(12px, 3vw, 28px);
  padding: clamp(18px, 4vw, 28px);
  border-radius: 28px;
  background: var(--gh-gradient);
  color:#fff;
  box-shadow: 0 18px 40px rgba(28,38,63,.18);
}
.cta-free__left .h2{ color:#fff; margin:0 0 6px; }
.cta-free__sub{ margin:0; opacity:.95; color: white; }

.cta-free__btn{
  background:#fff; color:#2b2f5b; border:0;
  padding: 12px 18px; border-radius: 999px; font-weight:700;
  box-shadow: 0 8px 24px rgba(28,38,63,.20);
  text-decoration:none; display:inline-flex; align-items:center; justify-content:center;
}
.cta-free__btn:hover{ transform: translateY(-1px); }
.cta-free__btn:active{ transform: translateY(0); }

@media (max-width:820px){
  .cta-free__card{ flex-direction:column; align-items:flex-start; }
  .cta-free__right{ width:100%; }
  .cta-free__btn{ width:max-content; }
}

/* ===== Atlas: Features (6 cards) ============================ */
.atlas-features .feature-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 24px);
}

.atlas-features .feature{
  position: relative;
  display:flex; flex-direction:column; gap:8px;
  padding: clamp(16px, 2.5vw, 20px);
  border-radius: 16px;
  background: var(--gh-card-bg, #fff);
  border: 1px solid var(--gh-border, rgba(31,42,64,.08));
  box-shadow: var(--gh-shadow-sm, 0 8px 24px rgba(28,38,63,.06));
  min-height: 100%;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

/* Barrinha de acento com o gradiente (aparece no hover/focus) */
.atlas-features .feature::before{
  content:"";
  position:absolute; left:-1px; top:-1px; bottom:-1px; width:6px;
  background: var(--gh-gradient, linear-gradient(135deg,#74cff6,#5450b8));
  border-radius: 16px 0 0 16px;
  opacity: 0; transition: opacity .18s ease;
}

.atlas-features .feature:hover,
.atlas-features .feature:focus-within{
  transform: translateY(-2px);
  box-shadow: var(--gh-shadow-md, 0 12px 28px rgba(28,38,63,.10));
  border-color: rgba(31,42,64,.12);
  background: var(--gh-surface, #fff);
}
.atlas-features .feature:hover::before,
.atlas-features .feature:focus-within::before{ opacity:1; }

.atlas-features .feature .icon{
  width: 28px; height: 28px; margin-bottom: 6px; display:block;
}

.atlas-features .feature h3{
  margin: 0 0 4px;
  font-weight: 700;
  color: var(--gh-text-strong, #2b2f5b);
  line-height: 1.25;
}

.atlas-features .feature p{
  margin: 0;
  color: var(--gh-text, #4b5563);
  opacity: .95;
}

/* Responsivo */
@media (max-width: 1024px){
  .atlas-features .feature-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .atlas-features .feature-grid{ grid-template-columns: 1fr; }
}


/* ===== Atlas: Pricing (single card) ========================= */
.atlas-pricing .pricing-wrap{
  display:flex; justify-content:center; align-items:stretch;
}
.pricing-card{
  width:min(420px, 92%);
  background:#fff;
  border:1px solid rgba(31,42,64,.08);
  border-radius:20px;
  box-shadow:0 16px 40px rgba(28,38,63,.08);
  padding:24px;
  text-align:left;
}
.pricing-name{
  text-align:center; 
  margin:0 0 36px;
  color:var(--gh-text-strong,#2b2f5b); 
  font-weight:700;
}
.pricing-logo{
  display:block; 
  margin: 0 auto 36px; 
  max-width:240px; 
  height:auto;
}
.pricing-features{
  list-style:none; 
  padding:0; 
  margin:12px 0 38px;
  display:grid; 
  gap:12px;
}
.pricing-features li{
  position:relative; padding-left:28px;
  color:var(--gh-text,#4b5563);
}
.pricing-features li::before{
  content:"✓"; position:absolute; left:0; top:0;
  font-weight:700; line-height:1; font-size:18px;
  color:var(--gh-brand-blue,#4aa8e6); 
}

.pricing-link{
  display:flex; 
  justify-content: center;
  margin-bottom:14px;
  color:var(--gh-brand-blue,#4aa8e6);
  text-decoration: underline;
  font-weight:600;
  text-underline-offset: 2px;
}

.pricing-btn{
  display:flex; 
  justify-content:center; 
  width:90%;
  border-radius:999px; 
  padding:12px 18px;
  margin-bottom: 30px;
}

/* Responsivo */
@media (max-width:560px){
  .pricing-card{ width:100%; }
}

/* ===== Atlas: FAQ (no-JS, <details>) ======================== */
.faq-list{ max-width: 1200px; margin: 0 auto; display:grid; gap:12px; }
.faq-item{
  background:#fff; border:1px solid rgba(31,42,64,.08); border-radius:12px;
  box-shadow:0 8px 24px rgba(28,38,63,.06); overflow:hidden;
}
.faq-q{
  cursor:pointer; padding:16px 18px; list-style:none; font-weight:700; position:relative;
}
.faq-q::-webkit-details-marker{ display:none; }
.faq-q::after{
  content:'+'; position:absolute; right:16px; top:50%; transform:translateY(-50%);
  font-weight:700; opacity:.6;
}
.faq-item[open] .faq-q::after{ content:'−'; opacity:1; }
.faq-a{ padding:0 18px 16px; color:var(--gh-text); }
.faq-a p{ margin: 0 0 .75rem; }

/* ===== Data Partner: How we help you ======================== */
.partner-help .help3-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(16px, 3vw, 24px);
}

.partner-help .help3{
  text-align:center;
  background:#fff;
  border:1px solid rgba(31,42,64,.10);
  border-radius: 24px;
  padding: clamp(18px, 3.5vw, 28px);
  box-shadow: 0 14px 36px rgba(28,38,63,.10);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display:flex; flex-direction:column; align-items:center; gap:10px;
}

.partner-help .help3:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(28,38,63,.14);
  border-color: rgba(31,42,64,.14);
}

.partner-help .help3-icon{
  width: 56px; height:auto; margin-bottom: 6px; display:block;
}

.partner-help .help3-text{
  margin:0;
  color: var(--gh-text, #4b5563);
  font-weight: 500;
  line-height: 1.45;
  max-width: 42ch;
}

/* responsivo */
@media (max-width: 1024px){
  .partner-help .help3-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .partner-help .help3-grid{ grid-template-columns: 1fr; }
}

/* ===== Data Partner: Our ethics policy ====================== */
.partner-ethics .ethics-lead{
  max-width: 940px; margin: 0 auto; color: var(--gh-text, #4b5563); opacity:.95; margin-bottom: 30px;
}

.partner-ethics .ethics-grid{
  display:grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(16px, 3vw, 24px);
}

.partner-ethics .ethics-card{
  text-align:center;
  background:#fff;
  border:1px solid rgba(31,42,64,.10);
  border-radius: 24px;
  padding: clamp(18px, 3.5vw, 28px);
  box-shadow: 0 14px 36px rgba(28,38,63,.10);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display:flex; flex-direction:column; align-items:center; gap:10px; min-height:100%;
}

.partner-ethics .ethics-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(28,38,63,.14);
  border-color: rgba(31,42,64,.14);
}

.partner-ethics .ethics-icon{ width:54px; height:auto; margin-bottom:6px; display:block; }
.partner-ethics .ethics-text{ margin:0; color:var(--gh-text, #4b5563); line-height:1.5; max-width: 48ch; }

/* responsivo */
@media (max-width: 1024px){
  .partner-ethics .ethics-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .partner-ethics .ethics-grid{ grid-template-columns: 1fr; }
}

/* ícone pequeno nas headings do timeline */
.how-ico{
  width:22px; height:22px;
  display:inline-block;
  margin-right:8px;
  vertical-align:-4px; 
}

/* Grid responsivo */
.people-grid{
  display:grid;
  gap:28px;
  grid-template-columns:repeat(4,minmax(0,1fr));
}
@media (max-width:1200px){ .people-grid{ grid-template-columns:repeat(3,1fr);} }
@media (max-width:900px){  .people-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){  .people-grid{ grid-template-columns:1fr;} }

/* Card */
.person-card .pc-figure{
  background:#fff;
  border-radius:16px;
  box-shadow:0 8px 30px rgba(23,21,68,.06);
  padding:14px;
  text-align:center;
  transition:transform .25s ease, box-shadow .25s ease;
}
.person-card .pc-figure:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 40px rgba(23,21,68,.12);
}
.pc-photo{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:12px;
  display:block;
}

.pc-meta{ margin-top:12px; display:flex; align-items:center; justify-content:center; gap:10px; flex-wrap:wrap; }
.pc-name{ font-weight:700; color:#341c7a; }
.pc-role{ color:#667085; }
.pc-ln{
  display:inline-flex; align-items:center; justify-content:center;
  width:34px; height:34px; border-radius:999px;
  border:1.5px solid #cfd2ff; color:#5B38FF;
  transition:all .2s ease;
}
.pc-ln:hover{
  color:#fff; border-color:transparent;
  background:linear-gradient(135deg,#20D5FF, #5B38FF);
}
.people-section .h3{ color:#4a3897; }

/* ===== About Us - Values Card ============================ */
.atlas-features .feature-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 24px);
}

.atlas-features .feature{
  position: relative;
  display:flex; flex-direction:column; gap:8px;
  padding: clamp(16px, 2.5vw, 20px);
  border-radius: 16px;
  background: var(--gh-card-bg, #fff);
  border: 1px solid var(--gh-border, rgba(31,42,64,.08));
  box-shadow: var(--gh-shadow-sm, 0 8px 24px rgba(28,38,63,.06));
  min-height: 100%;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

/* Barrinha de acento com o gradiente (aparece no hover/focus) */
.atlas-features .feature::before{
  content:"";
  position:absolute; left:-1px; top:-1px; bottom:-1px; width:6px;
  background: var(--gh-gradient, linear-gradient(135deg,#74cff6,#5450b8));
  border-radius: 16px 0 0 16px;
  opacity: 0; transition: opacity .18s ease;
}

.atlas-features .feature:hover,
.atlas-features .feature:focus-within{
  transform: translateY(-2px);
  box-shadow: var(--gh-shadow-md, 0 12px 28px rgba(28,38,63,.10));
  border-color: rgba(31,42,64,.12);
  background: var(--gh-surface, #fff);
}
.atlas-features .feature:hover::before,
.atlas-features .feature:focus-within::before{ opacity:1; }

.atlas-features .feature .icon{
  width: 28px; height: 28px; margin-bottom: 6px; display:block;
}

.atlas-features .feature h3{
  margin: 0 0 4px;
  font-weight: 700;
  color: var(--gh-text-strong, #2b2f5b);
  line-height: 1.25;
}

.atlas-features .feature p{
  margin: 0;
  color: var(--gh-text, #4b5563);
  opacity: .95;
}

/* Layout de duas colunas da Free Trial */
.free-trial-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr; /* texto um pouco maior */
  gap: 48px;
  align-items: start;
}

.ft-copy .lead{ font-size: clamp(1.05rem, 1.2vw, 1.25rem); opacity:.95; }
.ft-steps{ margin: 0 0 1rem 1.25rem; }
.ft-steps li{ margin: .4rem 0; }

/* Cartão do form (usa a base do leads.css) */
.ft-form .gh-lead-form{
  background:#fff;
  border:1px solid rgba(31,42,64,.08);
  border-radius:16px;
  padding:20px;
  box-shadow:0 8px 24px rgba(28,38,63,.06);
}

/* Responsivo */
@media (max-width: 980px){
  .free-trial-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Icon utilities (Lucide replaces <i> with <svg class="lucide lucide-...">) */
.icon { display:inline-block; vertical-align:middle; }
.icon-sm { width:16px; height:16px; }
.icon-md { width:20px; height:20px; }
.icon-lg { width:24px; height:24px; }
.icon-xl { width:32px; height:32px; }

/* Colors use currentColor */
.text-primary { color: var(--gh-primary); }
.text-muted   { color: var(--gh-muted); }

/* Optional: keep stroke visually consistent when scaling */
.lucide * { vector-effect: non-scaling-stroke; }

/* --- Free Trial / Contact: minimal polish --- */
.gh-lead-form label { display:block; font-weight:600; font-size:1rem; margin:0 0 6px; }
.gh-lead-form input[type="text"],
.gh-lead-form input[type="email"],
.gh-lead-form input[type="tel"],
.gh-lead-form input[type="number"],
.gh-lead-form textarea {
  width:95%; padding:.75rem .9rem;
  border:1px solid var(--gh-border, #dde3ee);
  border-radius:14px; background:#fff;
}
.gh-lead-form textarea { min-height:140px; resize:vertical; }
.gh-lead-form input:focus,
.gh-lead-form textarea:focus {
  outline: none;
  border-color: var(--gh-primary, #4d69ff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gh-primary, #4d69ff) 20%, transparent);
}
.gh-lead-form .field-error { display:block; margin:.35rem 0 0; font-size:.85rem; color:#c33; }
.gh-lead-form .form-note { margin:.75rem 0 0; font-size:.9rem; color:var(--gh-text-dim, #5b6477); }
.gh-lead-form .btn.w-100 { width:100%; }

/* Accessible helper (in case it's not defined elsewhere) */
.sr-only {
  position:absolute !important; width:1px; height:1px; overflow:hidden;
  clip:rect(1px, 1px, 1px, 1px); white-space:nowrap; border:0; padding:0; margin:-1px;
}


/* container do form */
.gh-lead-form{
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 28px);
  background: var(--gh-bg);
  border: var(--gh-border);
  border-radius: var(--gh-radius);
  box-shadow: var(--gh-shadow);
  color: var(--gh-fg);
}

/* grid dos campos principais */
.gh-lead-form .grid{
  display: grid;
  grid-template-columns: repeat(1, minmax(0,1fr));
  gap: var(--gh-gap);
  margin-bottom: 16px;
}
@media (max-width: 640px){
  .gh-lead-form .grid{ grid-template-columns: 1fr; }
}

/* labels + tipografia */
.gh-lead-form label{
  display: flex;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gh-fg);
}



/* estados */
.gh-lead-form input::placeholder,
.gh-lead-form textarea::placeholder{ color: #94a3b8; } /* slate-400 */

.gh-lead-form input:focus,
.gh-lead-form textarea:focus{
  outline: none;
  border-color: color-mix(in sRGB, var(--gh-focus) 60%, #fff);
  box-shadow: 0 0 0 3px color-mix(in sRGB, var(--gh-focus) 20%, transparent);
}

/* invalidação nativa (leve) */
.gh-lead-form input:required:invalid{ border-color: rgba(220, 38, 38, .35); } /* red-600/35 */

/* notas de apoio e sucesso */
.gh-lead-form .form-note{
  margin-top: 10px;
  font-size: .9rem;
  color: var(--gh-fg-2);
}

.gh-lead-form .form-success{
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(16, 185, 129, .10);   /* emerald-500/10 */
  color: #065f46;                         /* emerald-800 */
  border: 1px solid rgba(16, 185, 129, .25);
}

/* estado "enviando" opcional (se depois você adicionar um disabled) */
.gh-lead-form button[disabled]{
  opacity: .6; cursor: not-allowed; transform: none;
}

.t-slider { position: relative; overflow: hidden; }
.t-track  { display: flex; will-change: transform; }
.t-slide  { padding: 1rem; }
.t-quote  { font-size: 1.125rem; line-height: 1.6; margin: 0 0 .75rem; }
.t-author { font-weight: 600; margin: .25rem 0 0; }
.t-meta   { display: block; font-weight: 400; opacity: .8; }

.t-controls { display:flex; gap:.5rem; justify-content:center; margin-top: 1rem; }
.t-nav { background: none; border: 0; font-size: 1.5rem; cursor: pointer; }

.t-dots { display:flex; gap:.5rem; justify-content:center; margin-top: .5rem; }
.t-dot { width:10px; height:10px; border-radius:50%; border:0; background:#aaa; opacity:.6; cursor:pointer; }
.t-dot.is-active { background:#333; opacity:1; }

/* Blog hero: ensure default brand gradient overlay */
.hero.hero--blog {
  position: relative; /* ensure overlay can layer */
}

/* If your hero prints a .hero-overlay element, style it */
.hero.hero--blog .hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* brand gradient (tokens fall back to brand hexes) */
  background: linear-gradient(180deg, var(--gh-deep, #455fac) 0%, var(--gh-primary, #5a4fa1) 100%);
  opacity: 0.85;
}

/* Page background + grid proportions */
.careers-apply{ background: var(--gh-bg); }
.careers-apply .free-trial-grid{
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}

/* Left column (title, copy, phone, image) */
.careers-apply .ft-copy h1{
  color: var(--gh-text-strong);
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 40px);
  line-height: 1.15;
  margin: 0 0 8px;
}
.careers-apply .ft-copy .lead p{ margin: 0 0 12px; opacity: .95; }
.careers-apply .ft-copy .contact-line{
  margin: 10px 0 18px;
  font-weight: 600;
  color: var(--gh-text-strong);
}
.careers-apply .support-image{
  margin-top: 8px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(28,38,63,.10);
}
.careers-apply .support-image img{ display:block; width:100%; height:auto; }

/* Right column card */
.apply-card{
  background: var(--gh-surface);
  border: 1px solid rgba(31,42,64,.08);
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(28,38,63,.10);
  padding: clamp(16px, 3vw, 24px);
}
.apply-card h3{
  margin: 0 0 12px;
  color: var(--gh-text-strong);
  font-weight: 700;
}

/* Form fields */
.gh-hiring-form .form-group{ margin-bottom: 14px; }
.gh-hiring-form label.sr-only{ position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(1px,1px,1px,1px); border:0; }

.gh-hiring-form input[type="text"],
.gh-hiring-form input[type="email"],
.gh-hiring-form input[type="tel"],
.gh-hiring-form textarea{
  width:95%;
  padding:.8rem .95rem;
  border:1px solid #cfd8ee;            /* soft outline */
  border-radius: 12px;
  background:#fff;
  color: var(--gh-text-strong);
  line-height:1.35;
  box-shadow: 0 1px 0 rgba(0,0,0,.02) inset;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.gh-hiring-form textarea{ min-height: 132px; resize: vertical; }

.gh-hiring-form input::placeholder,
.gh-hiring-form textarea::placeholder{ color:#7e8aa0; } /* slate-500 */

.gh-hiring-form input:focus,
.gh-hiring-form textarea:focus{
  outline:0;
  border-color: var(--brand-blue-600);
  box-shadow: 0 0 0 3px var(--gh-focus);
}

/* Submit button: full-width pill with brand gradient */
.gh-hiring-form .form-actions{ margin-top: 16px; }
.gh-hiring-form button[type="submit"]{
  width:100%;
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 700;
  color:#fff;
  background: var(--gh-gradient);
  border:0;
  box-shadow: 0 10px 26px rgba(28,38,63,.16);
  transition: transform .06s ease, box-shadow .18s ease, filter .18s ease;
}
.gh-hiring-form button[type="submit"]:hover{
  filter: brightness(1.03);
  box-shadow: 0 14px 34px rgba(28,38,63,.20);
}
.gh-hiring-form button[type="submit"]:active{ transform: translateY(1px); }

/* Mobile layout */
@media (max-width: 980px){
  .careers-apply .free-trial-grid{ grid-template-columns: 1fr; gap: 28px; }
}

/* ===========================
   Contact & Free Trial — Soft card layout
   (no content changes; layout-only)
   =========================== */

/* Page backgrounds */
.contact, .free-trial { background: var(--gh-bg); }

/* Two-column grid like Careers Apply */
.contact .container > .grid,
.free-trial .container > .grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr;          /* left copy, right form */
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}

/* Left column: headings & copy */
.contact .container > .grid > :first-child h1,
.free-trial .container > .grid > :first-child h1{
  color: var(--gh-text-strong);
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 40px);
  line-height: 1.15;
  margin: 0 0 8px;
}
.contact .container > .grid > :first-child .lead p,
.free-trial .container > .grid > :first-child .lead p{
  margin: 0 0 12px;
  opacity: .95;
}

/* Optional helper line (phone, note, etc.) */
.contact .container > .grid > :first-child .contact-line,
.free-trial .container > :first-child .contact-line{
  margin: 10px 0 18px;
  font-weight: 600;
  color: var(--gh-text-strong);
}

/* Optional image block under the copy */
.contact .container > .grid > :first-child .support-image,
.free-trial .container > .grid > :first-child .support-image{
  margin-top: 8px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(28,38,63,.10);
}
.contact .container > .grid > :first-child .support-image img,
.free-trial .container > .grid > :first-child .support-image img{
  display:block; width:100%; height:auto;
}

/* Right column = carded form (no markup change needed) */
.contact .container > .grid > :last-child,
.free-trial .container > .grid > :last-child{
  background: var(--gh-surface);
  border: 1px solid rgba(31,42,64,.08);
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(28,38,63,.10);
  padding: clamp(16px, 3vw, 24px);
}

/* Optional heading inside the form column */
.contact .container > .grid > :last-child h3,
.free-trial .container > .grid > :last-child h3{
  margin: 0 0 12px;
  color: var(--gh-text-strong);
  font-weight: 700;
}

/* Form fields inside the right column */
.contact .container > .grid > :last-child form input[type="text"],
.contact .container > .grid > :last-child form input[type="email"],
.contact .container > .grid > :last-child form input[type="tel"],
.contact .container > .grid > :last-child form input[type="url"],
.contact .container > .grid > :last-child form input[type="file"],
.contact .container > .grid > :last-child form textarea,
.free-trial .container > .grid > :last-child form input[type="text"],
.free-trial .container > .grid > :last-child form input[type="email"],
.free-trial .container > .grid > :last-child form input[type="tel"],
.free-trial .container > .grid > :last-child form input[type="url"],
.free-trial .container > .grid > :last-child form input[type="file"],
.free-trial .container > .grid > :last-child form textarea{
  width:100%;
  padding:.8rem .95rem;
  border:1px solid #cfd8ee;
  border-radius: 12px;
  background:#fff;
  color: var(--gh-text-strong);
  line-height:1.35;
  box-shadow: 0 1px 0 rgba(0,0,0,.02) inset;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  margin-bottom: 14px;
}
.contact .container > .grid > :last-child form textarea,
.free-trial .container > .grid > :last-child form textarea{
  min-height: 132px; resize: vertical;
}
.contact .container > .grid > :last-child form input::placeholder,
.contact .container > .grid > :last-child form textarea::placeholder,
.free-trial .container > .grid > :last-child form input::placeholder,
.free-trial .container > .grid > :last-child form textarea::placeholder{
  color:#7e8aa0;
}
.contact .container > .grid > :last-child form input:focus,
.contact .container > .grid > :last-child form textarea:focus,
.free-trial .container > .grid > :last-child form input:focus,
.free-trial .container > .grid > :last-child form textarea:focus{
  outline:0;
  border-color: var(--brand-blue-600);
  box-shadow: 0 0 0 3px var(--gh-focus);
}

/* Submit button → full-width brand gradient pill */
.contact .container > .grid > :last-child form button[type="submit"],
.free-trial .container > .grid > :last-child form button[type="submit"],
.contact .container > .grid > :last-child form .btn-primary,
.free-trial .container > .grid > :last-child form .btn-primary{
  width:100%;
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 700;
  color:#fff;
  background: var(--gh-gradient);
  border:0;
  box-shadow: 0 10px 26px rgba(28,38,63,.16);
  transition: transform .06s ease, box-shadow .18s ease, filter .18s ease;
}
.contact .container > .grid > :last-child form button[type="submit"]:hover,
.free-trial .container > .grid > :last-child form button[type="submit"]:hover,
.contact .container > .grid > :last-child form .btn-primary:hover,
.free-trial .container > .grid > :last-child form .btn-primary:hover{
  filter: brightness(1.03);
  box-shadow: 0 14px 34px rgba(28,38,63,.20);
}
.contact .container > .grid > :last-child form button[type="submit"]:active,
.free-trial .container > .grid > :last-child form button[type="submit"]:active{
  transform: translateY(1px);
}

/* Tweak notices / helper text inside forms */
.contact .container > .grid > :last-child .form-note,
.free-trial .container > .grid > :last-child .form-note{ opacity:.8; font-size:.95rem; }

/* Mobile */
@media (max-width: 980px){
  .contact .container > .grid,
  .free-trial .container > .grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Calculator-specific row safety */
#calculator .row[aria-live="polite"] {
  margin-left: 0;
  margin-right: 0;
}

/* Make result cards stack on mobile */
@media (max-width: 767.98px){
  #calculator .row[aria-live="polite"] { display: block; }
  #calculator .row[aria-live="polite"] > * { width: 100%; }
}

/* Inputs row: make fields and the button full width on mobile */
@media (max-width: 767.98px){
  #calculator .gh-form .row.align-items-end > * { width: 100%; }
}

/* Ensure controls are touchable and full width */
#calculator .gh-form .form-control,
#calculator .gh-form .form-soft { width: 100%; min-height: 44px; }
#calculator .gh-form .btn,
#calculator .gh-form .btn-soft,
#calculator .gh-form .btn-cta { width: 100%; }

/* ===== Data Ecosystem Section - Fixed for Mobile ===== */
.atlas-how .data-ecosystem {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.atlas-how .data-ecosystem .feature {
  width: 100%;
  max-width: none;
}

/* Mobile: single column */
@media (max-width: 768px) {
  .atlas-how .data-ecosystem {
    grid-template-columns: 1fr;
  }
}