/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
                                                                  NOVO BLOG
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/


/*////////////////////////////////////////
           Páginas Internas
///////////////////////////////////////*/

/* ===== DESIGN TOKENS ===== */

:root {
  --benatti-blue: #0b3d91;
  --benatti-blue-soft: #1e5ed6;
  --benatti-gray-1: #f5f7fa;
  --benatti-gray-2: #e5e7eb;
  --benatti-text: #1d1d1f;
  --benatti-text-light: #6e6e73;
  --benatti-radius: 16px;
  --benatti-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ===== BASE ===== */

.benatti-blog {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto;
  color: var(--benatti-text);
  background: #fff;
}

.benatti-container {
  max-width: 1100px;
  margin: auto;
  padding: 24px;
}

/* ===== SUBNAV ===== */

.benatti-subnav {
  background: linear-gradient(to right, #f8f9fb, #eef2f7);
  border-bottom: 1px solid var(--benatti-gray-2);
}

.benatti-subnav .benatti-container {
  display: flex;
  gap: 25px;
  overflow-x: auto;
}

.benatti-subnav a {
  text-decoration: none;
  color: var(--benatti-text-light);
  padding: 12px 0;
  font-weight: 500;
  transition: 0.3s;
}

.benatti-subnav a:hover {
  color: var(--benatti-blue);
}

.benatti-subnav a.active {
  color: var(--benatti-blue);
  border-bottom: 2px solid var(--benatti-blue);
}

/* ===== HERO ===== */

.benatti-hero h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  font-weight: 700;
}

.benatti-subtitle {
  font-size: 20px;
  color: var(--benatti-text-light);
  margin-top: 10px;
}

.benatti-meta {
  margin-top: 12px;
  font-size: 14px;
  color: #8a8a8e;
}

/* ===== IMAGEM ===== */

.benatti-cover img {
  width: 100%;
  border-radius: var(--benatti-radius);
  box-shadow: var(--benatti-shadow);
}

/* ===== LAYOUT ===== */

.benatti-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 300px;
  gap: 50px;
}

/* ===== TEXTO ===== */

.benatti-main p {
  font-size: 18px;
  line-height: 1.8;
  margin: 18px 0;
}

.benatti-main h2 {
  margin-top: 40px;
  font-size: 26px;
font-weight: 700;
  color: #191970;
}

.benatti-main ul {
  padding-left: 20px;
}

/* ===== HIGHLIGHT ===== */

.benatti-highlight {
  background: linear-gradient(135deg, #eef4ff, #f7f9ff);
  border-left: 4px solid var(--benatti-blue);
  padding: 20px;
  border-radius: 12px;
  margin: 30px 0;
  font-weight: 500;
}

/* ===== SIDEBAR ===== */

.benatti-sidebar {
  position: sticky;
  top: 100px;
}

.benatti-box {
  background: #fff;
  padding: 20px;
  border-radius: var(--benatti-radius);
  box-shadow: var(--benatti-shadow);
  margin-bottom: 20px;
}

.benatti-box h3 {
  margin-bottom: 15px;
}

.benatti-box a {
  text-decoration: none;
  color: var(--benatti-text);
  display: block;
  margin-bottom: 8px;
  transition: 0.2s;
}

.benatti-box a:hover {
  color: var(--benatti-blue);
}

/* ===== CTA ===== */

.benatti-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--benatti-blue), #062a63);
  color: #fff;
  padding: 60px 20px;
  border-radius: var(--benatti-radius);
  margin: 60px auto;
}

.benatti-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 14px 26px;
  border-radius: 30px;
  background: #fff;
  color: var(--benatti-blue);
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.benatti-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ===== FAQ ===== */

.benatti-faq {
  margin-top: 60px;
}

.benatti-faq h2 {
  font-size: 28px;
  margin-bottom: 20px;
font-weight: 700;
  color: #191970;
}

.benatti-faq-item {
  background: #fff;
  border-radius: var(--benatti-radius);
  box-shadow: var(--benatti-shadow);
  margin-bottom: 15px;
  overflow: hidden;
}

.benatti-faq-question {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  position: relative;
}

.benatti-faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 20px;
}

.benatti-faq-item.active .benatti-faq-question::after {
  content: "-";
}

.benatti-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease;
  padding: 0 20px;
  color: var(--benatti-text-light);
}

.benatti-faq-item.active .benatti-faq-answer {
  max-height: 200px;
  padding: 15px 20px;
}

/* ===== SOCIAL ===== */

.benatti-social-links a {
  margin: 0 10px;
  color: var(--benatti-blue);
  font-weight: 500;
}

/* ===== RESPONSIVO ===== */

@media (max-width: 1024px) {
  .benatti-layout {
    grid-template-columns: 1fr;
  }

  .benatti-sidebar {
    position: relative;
  }
}

@media (max-width: 600px) {
  .benatti-container {
    padding: 16px;
  }

  .benatti-main p {
    font-size: 16px;
  }
}


/*////////////////////////////////////////
           Páginas Intermediárias
///////////////////////////////////////*/

/* ===== BASE ===== */
.blog-main {
  background: linear-gradient(180deg, #f5f7fb 0%, #eef1f6 100%);
  padding-bottom: 60px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

/* ===== HERO ===== */
.blog-hero {
  text-align: center;
  padding: 80px 20px 40px;
  padding-top: 120px; /* resolve sobreposição com header fixo */
  padding-bottom: 60px;
}


.blog-hero h1 {
  font-size: 42px;
  font-weight: 600;
  color: #0a1a3a;
  margin-bottom: 10px;
}

.blog-hero p {
  color: #0b3d91;
  font-size: 18px;
}

/* ===== GRID ===== */
.blog-grid {
  max-width: 1050px; /* mais vertical */
  margin: auto;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ===== CARD ===== */
.blog-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.35s ease;
  box-shadow: 0 10px 35px rgba(0,0,0,0.06);

  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

/* ===== IMAGEM (MAIOR + SEM CORTE) ===== */
.card-image {
  height: 410px; /* 🔥 aumentado ~20% */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  padding: 14px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 🔥 imagem completa */
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.blog-card:hover img {
  transform: scale(1.03);
}

/* ===== CONTEÚDO ===== */
.card-content {
  padding: 26px; /* mais espaço interno */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-content h2 {
  font-size: 18px;
  color: #0a1a3a;
  margin-bottom: 12px;
  line-height: 1.35;
}

.card-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* ===== LINK ===== */
.card-link {
  font-size: 14px;
  color: #191970;
  font-weight: 600;
  margin-top: auto;
  position: relative;
}

.card-link::after {
  content: " →";
  transition: 0.3s;
}

.blog-card:hover .card-link::after {
  margin-left: 6px;
}

/* ===== PAGINAÇÃO ===== */
.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.blog-pagination img {
  width: 70px;
  opacity: 0.8;
  transition: 0.3s;
}

.blog-pagination img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-image {
    height: 260px;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-hero h1 {
    font-size: 28px;
  }

  .card-image {
    height: 230px;
  }
}

/* ===== Navegação de páginas ===== */
.page-navigation {
  padding: 60px 0;
  background: #fafafa;
  width: 100%;
}

/* FORÇA CENTRALIZAÇÃO REAL */
.page-nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
}

/* CARD */
.page-nav {
  flex: 1;
  min-width: 0; /* evita quebrar layout */
  
  display: flex;
  align-items: center;
  
  text-decoration: none;
  background: #fff;
  border-radius: 16px;

  padding: 20px 22px;

  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transition: all 0.25s ease;
}

.page-nav:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* CONTEÚDO */
.page-nav-inner {
  display: flex;
  flex-direction: column;
}

/* alinhar direita no próximo */
.page-nav.next {
  justify-content: flex-end;
  text-align: right;
}

.page-nav.prev {
  justify-content: flex-start;
}

/* textos */
.page-nav .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #777;
  margin-bottom: 6px;
}

.page-nav .title {
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .page-nav-container {
    flex-direction: column;
  }

  .page-nav {
    width: 100%;
  }

  .page-nav.next {
    text-align: left;
    justify-content: flex-start;
  }
}


/* ==========================================================
   BLOG PREMIUM - Clínica Benatti
   Componentes reutilizáveis
========================================================== */


/* ==========================================================
   ÍNDICE
========================================================== */

.benatti-toc{

background:#f8fafc;

border:1px solid #dbe5ef;

border-radius:14px;

padding:30px;

margin:40px 0;

}

.benatti-toc h2{

margin-top:0;

margin-bottom:20px;

font-size:1.5rem;

color:#12406a;

}

.benatti-toc ul{

margin:0;

padding-left:20px;

columns:2;

column-gap:50px;

}

.benatti-toc li{

margin-bottom:12px;

line-height:1.6;

}

.benatti-toc a{

color:#12406a;

font-weight:600;

text-decoration:none;

transition:.2s;

}

.benatti-toc a:hover{

color:#0b7db8;

}



/* ==========================================================
   RESUMO
========================================================== */

.benatti-summary{

background:#edf7ff;

border-left:6px solid #0b7db8;

padding:30px;

margin:50px 0;

border-radius:10px;

}

.benatti-summary h3{

margin-top:0;

margin-bottom:15px;

color:#12406a;

}

.benatti-summary ul{

margin:0;

padding-left:20px;

}

.benatti-summary li{

margin-bottom:10px;

}



/* ==========================================================
   IMPORTANTE
========================================================== */

.benatti-important{

background:#fff8ea;

border-left:6px solid #f0b429;

padding:25px;

margin:35px 0;

border-radius:10px;

}

.benatti-important h4{

margin-top:0;

color:#8a5a00;

}



/* ==========================================================
   VOCÊ SABIA?
========================================================== */

.benatti-tip{

background:#eef9f4;

border-left:6px solid #27ae60;

padding:25px;

margin:35px 0;

border-radius:10px;

}

.benatti-tip h4{

margin-top:0;

color:#1c7a45;

}



/* ==========================================================
   TABELAS
========================================================== */

.benatti-table{

width:100%;

border-collapse:collapse;

margin:35px 0;

}

.benatti-table th{

background:#12406a;

color:#fff;

padding:14px;

text-align:left;

}

.benatti-table td{

padding:14px;

border:1px solid #e4e4e4;

}

.benatti-table tr:nth-child(even){

background:#fafafa;

}



/* ==========================================================
   CARDS
========================================================== */

.benatti-card-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

gap:25px;

margin:40px 0;

}

.benatti-card{

background:#fff;

border-radius:12px;

padding:25px;

box-shadow:0 8px 25px rgba(0,0,0,.06);

border-top:5px solid #0b7db8;

}

.benatti-card h3{

margin-top:0;

color:#12406a;

}



/* ==========================================================
   RESPONSIVO
========================================================== */

@media(max-width:768px){

.benatti-toc ul{

columns:1;

}

}


/* =====================================================================
   COMPLEMENTO CSS - PÁGINAS INTERNAS V2
   Acrescentar AO FINAL do benatti-blog.css
===================================================================== */

/* ===== HERO ===== */

.benatti-hero{
    padding:40px 0 20px;
}

.breadcrumb{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
    margin-bottom:28px;
    font-size:.92rem;
    color:#6e6e73;
}

.breadcrumb a{
    color:#0b3d91;
    text-decoration:none;
}

.breadcrumb a:hover{
    text-decoration:underline;
}

.benatti-hero-content{
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:50px;
    align-items:center;
}

.category-badge{
    display:inline-block;
    background:#edf4ff;
    color:#0b3d91;
    padding:8px 16px;
    border-radius:40px;
    font-size:.82rem;
    font-weight:600;
    margin-bottom:18px;
}

.hero-description{
    font-size:1.15rem;
    line-height:1.9;
    color:#555;
    margin:24px 0;
}

.hero-meta{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    color:#777;
    font-size:.92rem;
}

.benatti-hero-image img{
    width:100%;
    display:block;
    border-radius:18px;
    box-shadow:0 15px 35px rgba(0,0,0,.10);
}

/* ===== ARTIGO ===== */

.blog-article{
    width:100%;
}

.blog-article h2{
    scroll-margin-top:120px;
}

.blog-article h3{
    color:#191970;
    margin-top:24px;
}

.blog-article ul li{
    margin-bottom:10px;
    line-height:1.8;
}

/* ===== GRID DE CARDS ===== */

.cards-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:24px;
    margin:35px 0;
}

/* ===== SIDEBAR ===== */

.sidebar-widget{
    background:#fff;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    padding:24px;
    margin-bottom:24px;
}

.sidebar-widget h3{
    margin-top:0;
    color:#191970;
    margin-bottom:18px;
}

.sidebar-links{
    list-style:none;
    padding:0;
    margin:0;
}

.sidebar-links li{
    margin-bottom:12px;
}

.sidebar-links a{
    color:#333;
    text-decoration:none;
    transition:.25s;
}

.sidebar-links a:hover{
    color:#0b3d91;
    padding-left:4px;
}

.author-card{
    text-align:center;
}

.author-card img{
    width:140px;
    border-radius:50%;
    margin-bottom:15px;
}

.sidebar-button{
    display:inline-block;
    margin-top:18px;
    background:#0b3d91;
    color:#fff;
    text-decoration:none;
    padding:12px 22px;
    border-radius:30px;
    transition:.25s;
}

.sidebar-button:hover{
    background:#072b69;
}


/* ===== RESPONSIVO ===== */

@media (max-width:900px){

    .benatti-hero-content{
        grid-template-columns:1fr;
        gap:30px;
    }

    .benatti-hero-image{
        order:-1;
    }

    .hero-meta{
        gap:12px;
    }

}

@media (max-width:768px){

    .benatti-container{
        padding:20px;
    }

    .hero-description{
        font-size:1rem;
    }

    .faq-item{
        padding:20px;
    }

    .sidebar-widget{
        padding:20px;
    }

}

@media (max-width:480px){

    .hero-meta{
        flex-direction:column;
        gap:6px;
        align-items:flex-start;
    }

    .category-badge{
        font-size:.75rem;
    }

    .btn-primary,
    .sidebar-button{
        width:100%;
        text-align:center;
    }

}

/* ==========================================================
   CTA - Página Terapia de Reposição Hormonal
========================================================== */

.benatti-cta2{

    margin:50px 0 5px;

    padding:60px 50px;

    background:linear-gradient(135deg,#0b3d91 0%,#072a69 100%);

    border-radius:20px;

    text-align:center;

    color:#fff;

    box-shadow:0 18px 45px rgba(11,61,145,.18);

}

.benatti-cta2 h2{

    margin:0 0 20px;

    font-size:2rem;

    font-weight:700;

    line-height:1.3;

    color:#fff;

}

.benatti-cta2 p{

    max-width:760px;

    margin:0 auto 22px;

    font-size:1.08rem;

    line-height:1.9;

    color:rgba(255,255,255,.94);

}

.benatti-cta2 .btn-primary{

    display:inline-block;

    margin-top:12px;

    padding:15px 34px;

    background:#fff;

    color:#0b3d91;

    border-radius:40px;

    text-decoration:none;

    font-weight:700;

    transition:.30s ease;

    box-shadow:0 8px 20px rgba(0,0,0,.12);

}

.benatti-cta2 .btn-primary:hover{

    transform:translateY(-3px);

    background:#f7f7f7;

    box-shadow:0 14px 30px rgba(0,0,0,.20);

}

.benatti-cta2 .btn-primary:active{

    transform:translateY(0);

}

/* ===========================
      RESPONSIVO
=========================== */

@media (max-width:768px){

    .benatti-cta2{

        margin:50px 0;

        padding:40px 28px;

        border-radius:16px;

    }

    .benatti-cta2 h2{

        font-size:1.6rem;

    }

    .benatti-cta2 p{

        font-size:1rem;

        line-height:1.8;

    }

    .benatti-cta2 .btn-primary{

        width:100%;

        max-width:320px;

        padding:14px 24px;

    }

}

@media (max-width:480px){

    .benatti-cta2{

        padding:34px 22px;

    }

    .benatti-cta2 h2{

        font-size:1.4rem;

    }

    .benatti-cta2 p{

        font-size:.95rem;

    }

}


/* ==========================================================
   FAQ EXCLUSIVA
   Página: Terapia de Reposição Hormonal
========================================================== */

.benatti-faq{

    padding:0px 0 20px;

    background:#fafbfd;

}

.benatti-faq .benatti-container{

    max-width:1080px;

    margin:0 auto;

}

/* ---------- Título ---------- */

.benatti-faq .section-title{

    margin-bottom:55px;

}

.benatti-faq .section-title h2{

    max-width:850px;

    margin:0 auto 18px;

    text-align:center;

    font-size:2.15rem;

    line-height:1.35;

    color:#191970;

}

.benatti-faq .section-title p{

    max-width:760px;

    margin:0 auto;

    text-align:center;

    font-size:1.05rem;

    line-height:1.9;

    color:#666;

}

/* ---------- Lista ---------- */

.faq-list{

    display:flex;

    flex-direction:column;

    gap:26px;

}

/* ---------- Card ---------- */

.faq-item{

    width:100%;

    background:#ffffff;

    border-radius:18px;

    padding:34px;

    border:1px solid #e8edf5;

    box-shadow:0 8px 28px rgba(15,40,85,.05);

    transition:.25s ease;

}

.faq-item:hover{

    transform:translateY(-2px);

    box-shadow:0 16px 38px rgba(15,40,85,.10);

}

/* ---------- Pergunta ---------- */

.faq-item h3{

    margin:0 0 18px;

    font-size:1.30rem;

    line-height:1.45;

    color:#0b3d91;

    font-weight:700;

}

/* ---------- Texto ---------- */

.faq-item p{

    margin:0 0 16px;

    color:#555;

    font-size:1.03rem;

    line-height:1.95;

}

.faq-item p:last-child{

    margin-bottom:0;

}

/* ---------- Listas ---------- */

.faq-item ul{

    margin:18px 0 22px;

    padding-left:28px;

}

.faq-item li{

    margin-bottom:10px;

    color:#555;

    line-height:1.8;

}

.faq-item li:last-child{

    margin-bottom:0;

}

/* ---------- Strong ---------- */

.faq-item strong{

    color:#222;

    font-weight:600;

}

/* ---------- Links ---------- */

.faq-item a{

    color:#0b3d91;

    text-decoration:none;

}

.faq-item a:hover{

    text-decoration:underline;

}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width:992px){

    .benatti-faq{

        padding:70px 0;

    }

    .benatti-faq .benatti-container{

        max-width:92%;

    }

    .faq-item{

        padding:28px;

    }

}

/* ==========================================================
   CELULAR
========================================================== */

@media (max-width:768px){

    .benatti-faq{

        padding:60px 0;

    }

    .benatti-faq .section-title{

        margin-bottom:40px;

    }

    .benatti-faq .section-title h2{

        font-size:1.75rem;

    }

    .benatti-faq .section-title p{

        font-size:1rem;

    }

    .faq-item{

        padding:24px;

        border-radius:14px;

    }

    .faq-item h3{

        font-size:1.12rem;

        line-height:1.5;

    }

    .faq-item p{

        font-size:1rem;

        line-height:1.85;

    }

}

/* ==========================================================
   CELULARES PEQUENOS
========================================================== */

@media (max-width:480px){

    .benatti-faq{

        padding:50px 0;

    }

    .faq-item{

        padding:20px;

    }

    .faq-item h3{

        font-size:1.05rem;

    }

    .faq-item p{

        font-size:.96rem;

    }

    .faq-item ul{

        padding-left:22px;

    }

}