html,body{max-width:100%;overflow-x:hidden}

/* Alinhamento visual com a landing principal */
:root{--ink:#0a1324;--blue:#1d54ff;--paper:#f5f3ed;--muted:#667080;--line:#dcdedb}
body{background:var(--paper)}
.content-nav,.content-links,.post-card,.featured-copy,.article-content,.content-footer{font-family:'DM Sans',sans-serif}
.blog-hero h1,.featured-copy h2,.index-head h2,.post-card h3,.blog-cta h2,.article-hero h1,.article-content h2,.article-content h3,.related-head h2,.related-grid h3,.content-mega-intro h3,.content-product>div b{font-family:'Manrope',sans-serif;font-weight:500}
.content-shell{width:min(1240px,calc(100% - 48px))}
.content-nav{width:min(1080px,calc(100% - 40px));background:rgba(248,250,253,.92);border-color:rgba(255,255,255,.66)}

.blog-hero{position:relative;min-height:780px;padding:165px 0 70px;background:url('../backgrounds/doacle-blog-clean.jpg') center/cover no-repeat;color:var(--ink)}
.blog-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(247,246,242,.97) 0%,rgba(247,246,242,.9) 34%,rgba(247,246,242,.32) 64%,rgba(247,246,242,.08)),linear-gradient(0deg,rgba(238,241,244,.58),transparent 48%)}
.blog-hero .content-shell{position:relative;z-index:1;min-height:545px;display:flex;flex-direction:column;justify-content:center}
.blog-hero-grid{display:block;margin:0}
.blog-hero h1{max-width:760px;font-size:clamp(4rem,7.1vw,7.2rem);font-weight:500;line-height:.91;letter-spacing:-.072em;text-wrap:balance}
.blog-hero h1 em{color:#1d54ff}
.blog-hero-grid>p{color:#d6dce7;font-size:1.05rem}
.topic-line{margin-top:auto}
.topic-line span{border-color:rgba(255,255,255,.25);background:rgba(6,18,42,.28);backdrop-filter:blur(10px);color:#eef2fa}

.featured-wrap{padding:0 0 105px;background:var(--paper)}
.featured-post{position:relative;z-index:2;margin-top:-76px;min-height:520px;border:1px solid rgba(10,19,36,.08);border-radius:34px;box-shadow:0 30px 100px rgba(7,18,40,.16)}
.featured-visual{background:radial-gradient(circle at 26% 20%,rgba(136,172,255,.52),transparent 29%),linear-gradient(145deg,#0a1730,#173d92);padding:42px}
.featured-visual>small{left:42px;bottom:40px}
.featured-copy{padding:60px 62px 44px}
.featured-copy h2{font-size:clamp(2.7rem,4.2vw,4.7rem)}
.featured-copy h2,.index-head h2,.post-card h3,.blog-cta h2{letter-spacing:-.06em}
.post-card h3{font-weight:500;line-height:1.08}

.post-index{padding:105px 0 125px;background:#fff;border-top:1px solid var(--line)}
.index-head{margin-bottom:48px}
.post-card{border-color:var(--line);border-radius:28px;background:#f5f6f3}
.post-card:nth-child(2){background:#e9edff}.post-card:nth-child(3){background:#f0e7d8}.post-card:nth-child(4){background:#edf5f0}.post-card:nth-child(5){background:#f3e9ed}
.card-art{background:rgba(255,255,255,.56)}

.blog-cta{padding:120px 0;background:#1239a6}
.blog-cta h2{font-size:clamp(3.5rem,6vw,6.4rem);max-width:900px}
.blog-cta a{min-height:54px;padding-inline:24px;box-shadow:0 16px 45px rgba(0,0,0,.18)}
.content-footer{padding:28px 0 34px;background:#1239a6;border-top:1px solid rgba(255,255,255,.2)}
.content-footer p{color:#bdc9ea}.content-footer .content-brand{color:#fff}

.article-hero{min-height:760px;padding:175px 0 95px;background:linear-gradient(90deg,rgba(4,12,29,.96),rgba(4,12,29,.74)),url('../backgrounds/doacle-flow-dark.jpg') center/cover no-repeat}
.article-hero h1{font-weight:500;line-height:.91;letter-spacing:-.072em}
.article-hero:after{opacity:.45}
.article-shell{width:min(1040px,calc(100% - 48px))}
.article-body{width:min(1040px,calc(100% - 48px));grid-template-columns:210px minmax(0,700px);gap:85px}
.article-content blockquote{border-left-color:#1d54ff}
.article-content h2,.article-content h3{font-weight:500;letter-spacing:-.04em}
.related{background:#fff;border-top:1px solid var(--line)}
.related-grid a{background:#f5f6f3;border-radius:24px}

.error-page{background:#07152d}

/* Dropdowns compartilhados com a navegação principal */
.content-nav{position:relative;overflow:visible}
.content-dropdown{position:static}
.content-drop-toggle{display:flex;align-items:center;gap:7px;padding:8px 0;border:0;background:transparent;color:#515c6c;font-size:.75rem;font-weight:600;cursor:pointer}
.content-drop-toggle:hover,.content-dropdown.open>.content-drop-toggle{color:var(--blue)}
.content-drop-toggle>i{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid currentColor;transition:.2s}
.content-dropdown.open>.content-drop-toggle>i{border-top:0;border-bottom:5px solid currentColor}
.content-mega,.content-product-menu{position:absolute;z-index:30;top:calc(100% + 14px);left:50%;opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,-8px);transition:opacity .2s,transform .2s,visibility .2s}
.content-dropdown.open>.content-mega,.content-dropdown:hover>.content-mega,.content-dropdown:focus-within>.content-mega,.content-dropdown.open>.content-product-menu,.content-dropdown:hover>.content-product-menu,.content-dropdown:focus-within>.content-product-menu{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0)}
.content-mega{width:min(820px,calc(100vw - 44px));padding:10px;border:1px solid rgba(10,19,36,.1);border-radius:24px;background:rgba(255,255,255,.98);box-shadow:0 28px 80px rgba(6,17,39,.22);display:grid;grid-template-columns:.78fr 1.22fr;gap:10px}
.content-mega-intro{padding:28px;border-radius:17px;background:linear-gradient(145deg,#0a1730,#173a7d);color:#fff;display:flex;flex-direction:column;align-items:flex-start}
.content-mega-intro small{font-size:.55rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#8caaef}
.content-mega-intro h3{margin:22px 0 12px;font:500 1.75rem/1.05 'Manrope',sans-serif;letter-spacing:-.04em}
.content-mega-intro p{margin:0;color:#b7c4dc;font-size:.7rem;line-height:1.6}
.content-links .content-mega-intro>a{margin-top:auto;padding:20px 0 0;color:#fff;font-size:.67rem}
.content-mega-intro>a b{margin-left:10px;color:#86a8ff}
.content-mega-links{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px}
.content-links .content-mega-links>a{min-height:80px;padding:12px;border-radius:14px;display:flex;align-items:center;gap:11px;color:var(--ink);transition:.2s}
.content-links .content-mega-links>a:hover{background:#eef2ff;transform:translateY(-1px)}
.content-mega-links>a>i{flex:none;width:38px;height:38px;border-radius:11px;background:linear-gradient(145deg,#e3ecff,#c7dcff);display:grid;place-items:center;color:#1748d2;font-style:normal;font-size:.82rem}
.content-mega-links span,.content-mega-links b,.content-mega-links small{display:block}
.content-mega-links b{font-size:.72rem}.content-mega-links small{margin-top:3px;color:#7c8593;font-size:.56rem;line-height:1.35}
.content-product-menu{width:min(590px,calc(100vw - 44px));padding:10px;border:1px solid rgba(10,19,36,.1);border-radius:24px;background:rgba(255,255,255,.98);box-shadow:0 28px 80px rgba(6,17,39,.22);display:grid;grid-template-columns:1fr 1fr;gap:9px}
.content-links .content-product{position:relative;min-height:210px;padding:20px;border-radius:17px;display:flex;flex-direction:column;align-items:flex-start;overflow:hidden;transition:.2s}
.content-links .content-product:hover{transform:translateY(-2px);box-shadow:0 14px 35px rgba(8,20,45,.15)}
.content-product.taurus{background:linear-gradient(145deg,#40101c,#76162a);color:#fff}.content-product.amplya{background:linear-gradient(145deg,#fff0e7,#f7d0ba);color:#27150d}
.content-product-icon{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;font:700 1rem 'Manrope',sans-serif}.taurus .content-product-icon{background:#e6b621;color:#3b0913}.amplya .content-product-icon{background:#f06426;color:#fff;font-family:Georgia,serif;font-style:italic}
.content-product>div{margin-top:auto}.content-product>div small,.content-product>div b,.content-product>div p{display:block}.content-product>div small{font-size:.52rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;opacity:.62}.content-product>div b{margin-top:5px;font:600 1.35rem 'Manrope',sans-serif;letter-spacing:-.04em}.content-product>div p{max-width:190px;margin:5px 0 0;font-size:.63rem;line-height:1.4;opacity:.72}
.content-product>strong{position:absolute;right:17px;top:17px;width:31px;height:31px;border-radius:50%;background:rgba(255,255,255,.16);display:grid;place-items:center;font-size:.72rem}.content-product.amplya>strong{background:rgba(255,255,255,.72)}

@media(max-width:760px){
  .error-nav .content-cta{display:none}
  .content-shell{width:min(100% - 28px,1240px)}
  .blog-hero{min-height:700px;padding:110px 0 40px;background-position:63% center}
  .blog-hero:before{background:linear-gradient(90deg,rgba(247,246,242,.97),rgba(247,246,242,.82) 58%,rgba(247,246,242,.3)),linear-gradient(0deg,rgba(238,241,244,.72),transparent 48%)}
  .blog-hero .content-shell{min-height:550px}
  .blog-hero h1{font-size:clamp(3.35rem,14.5vw,4.4rem);overflow-wrap:normal}
  .blog-hero-grid>p{max-width:34rem}
  .featured-wrap{padding-bottom:75px}
  .featured-post{margin-top:-35px;border-radius:28px}
  .featured-copy{padding:34px 24px}
  .post-index{padding:80px 0}
  .blog-cta{padding:85px 0}
  .blog-cta h2{font-size:clamp(3rem,13vw,4.5rem)}
  .article-hero{min-height:690px;padding-top:130px}
  .article-hero h1{overflow-wrap:break-word}
  .content-dropdown{width:100%}
  .content-drop-toggle{width:100%;justify-content:space-between;padding:8px 0;font-size:.8rem}
  .content-dropdown:hover>.content-mega,.content-dropdown:hover>.content-product-menu{opacity:0;visibility:hidden;pointer-events:none}
  .content-mega,.content-product-menu{position:static;width:100%;max-height:0;padding:0;border:0;border-radius:14px;box-shadow:none;display:block;overflow:hidden;opacity:0;visibility:hidden;transform:none;background:#f5f6f8;transition:max-height .3s,opacity .2s,margin .3s,padding .3s}
  .content-dropdown.open>.content-mega,.content-dropdown.open>.content-product-menu{max-height:680px;margin-top:8px;padding:8px;opacity:1;visibility:visible;pointer-events:auto;transform:none}
  .content-mega-intro{display:none}
  .content-mega-links{grid-template-columns:1fr;padding:0}
  .content-links .content-mega-links>a{min-height:58px;padding:7px}
  .content-product-menu{display:grid;grid-template-columns:1fr}
  .content-links .content-product{min-height:145px}
}

