@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

/* ===== VARIÁVEIS (PALETA RF) ===== */
:root{
  --rf-900:#003333;      /* verde escuro da paleta */
  --rf-700:#009B60;      /* verde principal da paleta */
  --rf-050:#E6E6E6;      /* cinza claro da paleta */

  --ink:rgb(0, 0, 0);         /* preto da paleta */
  --white:#ffffff;       /* branco neutro */

  --amber:#009B60;       /* destaque/CTA usando verde claro */
  --rf-amber:#009B60;    /* alias para seções antigas */

  --brand-blue:#003333;  /* base escura no rodapé */

  --muted:rgba(255,255,255,.12);
  --muted2:rgba(255,255,255,.06);

  --shadow:0 10px 30px rgba(0,0,0,.12);
  --container:1240px;

  --rf-topbar-h: 40px;  /* altura aproximada da topbar */
  --rf-nav-h: 90px;     /* altura aproximada da navbar branca */
}

/* ===== BASE ===== */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family: "Montserrat", sans-serif !important;
  color:var(--ink);
  background:#fff;
  line-height:1.45;
  padding-top: calc(var(--rf-topbar-h) + var(--rf-nav-h));
}
a{text-decoration:none;color:inherit}
.container{max-width:var(--container);margin:0 auto;padding:0 20px}

/* ===== TOPBAR ===== */
.topbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background:var(--rf-900);
  color:var(--rf-050);
}
.topbar__wrap{
  display:flex;
  justify-content: flex-end;
  align-items:center;
  padding:5px 0;
  gap:12px;
}
.topbar__right{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content: center;
  list-style:none;
}
.toplink{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--rf-050);
  font-weight:600;
}
.ico{display:inline-flex;}

/* botõezinhos topo */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:36px;
  padding:0 14px;
  border-radius:10px;
  border:2px solid transparent;
  font-weight:800;
  cursor:pointer
}
.btn--ghost{
  background:transparent;
  color:var(--rf-050);
  border-color:rgba(0,155,96,.35)
}
.btn--amber{
  background:var(--amber);
  color:var(--ink);
  border-color:var(--amber)
}

/* ===== NAVBAR 2 ===== */
.nav{
  position: fixed;
  top: var(--rf-topbar-h);  /* começa logo abaixo da topbar */
  left: 0;
  right: 0;
  z-index: 1000;
  background:#fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.nav__wrap{
  display:flex;
  align-items:center;
  gap:30px;
  padding:10px 0;
  justify-content: space-between;
}
.brand img{
  height:70px;
  width:auto;
}

.nav__menu{
  display:flex;
  align-items:center;
  gap:30px
}
.burger{
  display:none;
  width:44px;
  height:44px;
  border:1px solid var(--rf-050);
  border-radius:12px;
  background:#fff;
  align-items:center;
  justify-content:center
}
.burger span,
.burger span::before,
.burger span::after{
  content:"";
  display:block;
  width:20px;
  height:2px;
  background:var(--ink);
  position:relative
}
.burger span::before{position:absolute;top:-6px}
.burger span::after{position:absolute;top:6px}

/* painel + CTAs */
.menu-panel{
  display:flex;
  align-items:center;
  gap:24px
}
.menu-list{
  display:flex;
  align-items:flex-start;
  gap:22px;
  list-style:none
}
.nav__actions{
  display:flex;
  align-items:center;
  gap:12px
}
.btn--solid-green{
  background:var(--rf-700);
  color:#fff;
  border-radius:12px;
  padding:10px 16px;
  font-weight:900
}
.btn--solid-amber{
  background:var(--rf-900);
  color:var(--white);
  border-radius:12px;
  padding:10px 16px;
  font-weight:900;
  gap: 4px;
}

.nav__item{position:relative}
.nav__link{
  font-weight:600;
  color: #535353;
}
.nav__link:hover {
  color: #009B60;
}

/* caret apenas no 'Ensino' */
.has-caret{
  padding-right:14px;
  position:relative
}
.has-caret::after{
  content:"▾";
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  font-size:.75rem;
  opacity:.65
}

/* ===== Dropdown (sem gap físico) ===== */
.dropdown{
  position:absolute; left:0; top:100%; transform:translateY(10px);
  min-width:220px; list-style:none; background:#fff; border:1px solid #e6eef0;
  border-radius:12px; box-shadow:var(--shadow);
  padding:10px; display:none; z-index:60;
}
.dropdown a{
  display:block;
  padding:10px;
  border-radius:8px;
  font-weight:700
}
.dropdown a:hover{background:var(--rf-050)}

/* desktop: hover/focus mantém aberto */
.nav__ensino:hover > .dropdown,
.nav__ensino:focus-within > .dropdown{display:block}

/* mobile: abre por clique (classe .open) */
.nav__ensino.open > .dropdown{display:block}

/* evita hover abrir em touch-only */
@media (hover:none){
  .nav__ensino:hover > .dropdown{display:none}
}

/* ===== CARROSSEL ===== */
.carousel{
  position:relative;
  overflow:hidden;
  background:var(--rf-900)
}
.carousel__viewport{
  position:relative;
  width:100%;
  height:700px
}
@media (max-width:1024px){.carousel__viewport{height:460px}}
@media (max-width:768px){.carousel__viewport{height:360px}}
@media (max-width:480px){.carousel__viewport{height:210px}}
.slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1.02);
  transition:opacity .6s,transform 1.2s
}
.slide.is-active{
  opacity:1;
  transform:scale(1)
}

.ctrl{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:3;
  width:44px;
  height:44px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.6);
  background:rgba(255,255,255,.18);
  color:#fff;
  font-size:26px;
  display:flex;
  align-items:center;
  justify-content:center
}
.ctrl--prev{left:12px}
.ctrl--next{right:12px}
.dots{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:16px;
  display:flex;
  gap:8px;
  z-index:3
}
.dots button{
  width:10px;
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,.5);
  border:1px solid rgba(255,255,255,.6)
}
.dots button.is-active{background:#fff}

/* ===== FAIXA ===== */
.ribbon{
  background:var(--rf-700)
}
.ribbon__wrap{
  display:flex;
  align-items:center;
  justify-content: center;
  gap:20px;
  padding:16px 0
}
.ribbon__text{
  color:var(--white);
  font-weight:600;
  font-size:24px;
}
.btn--dark{
  background:var(--rf-900);
  color:#fff;
  border:2px solid var(--rf-900);
  border-radius:10px;
  height:42px;
  padding:0 16px;
  font-weight:800;
  font-size: 20px;
}

/* ===== SECTION: Diferenciais RF (cards ícones) ===== */
.rf-feats{
  padding:48px 0;
}

.rf-feats__head{
  text-align:center;
  margin-bottom:28px;
}

.rf-feats__head h2{
  font-size:2rem;
  font-weight:900;
  color:var(--rf-900);
}
.rf-feats__head h2 strong{
  color:var(--rf-700);
}
.rf-feats__head p{
  max-width:640px;
  margin:8px auto 0;
  color:#4b5563;
}

/* Grid de cards */
.rf-feats__grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:18px;
}

/* Card */
.rf-feat{
  background:#ffffff;
  border-radius:16px;
  padding:24px 18px;
  text-align:center;
  box-shadow:0 6px 18px rgba(0,0,0,.05);
  border:1px solid #e5e7eb;
  display:flex;
  flex-direction:column;
  gap:10px;
  justify-content:flex-start;
}

.rf-feat__icon{
  width:60px;
  height:60px;
  margin:0 auto 8px;
  border-radius:16px;
  background:rgba(0,155,96,.06);
  display:flex;
  align-items:center;
  justify-content:center;
}

.rf-feat__icon i{
  font-size:30px;
  color:var(--rf-700);
}

.rf-feat h3{
  font-size:1rem;
  font-weight:800;
  color:var(--rf-900);
}

.rf-feat p{
  font-size:.9rem;
  color:#4b5563;
}

/* Hover leve */
.rf-feat:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(0,0,0,.08);
  border-color:rgba(0,155,96,.30);
  transition:all .18s ease;
}

/* Responsivo */
@media (max-width:1200px){
  .rf-feats__grid{
    grid-template-columns:repeat(3,1fr);
  }
  .rf-feat h3{
  font-size:15px;
  font-weight:800;
  color:var(--rf-900);
}
}
@media (max-width:768px){
  .rf-feats__grid{
    grid-template-columns:repeat(2,1fr);
  }
}


/* ====== SECTION: Nosso Diferencial ====== */
.difpro{
  padding:0px 0 56px 0;
  background:#ffffff
}
.difpro__head{
  text-align:center;
  margin-bottom:28px
}
.difpro__head h2{
  font-size:2rem;
  font-weight:900;
  color:var(--rf-900)
}
.difpro__head h2 strong{
  color:var(--rf-700)
}
.difpro__head p{
  color:#4b5563;
  margin-top:6px
}

/* Grid */
.difpro__grid{
  display:grid;
  gap:20px;
  grid-template-columns:repeat(3,1fr)
}
@media (max-width:980px){
  .difpro__grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  .difpro__grid{grid-template-columns:1fr}
}

/* Card */
.difpro__card{
  border:1px solid #e5e7eb;
  border-radius:10px;
  overflow:hidden;
  background:#fff;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.difpro__card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(0,0,0,.07);
  border-color:var(--rf-050)
}

/* Faixa título */
.difpro__cap{
  background:var(--rf-700);
  color:#fff;
  font-weight:600;
  letter-spacing:.2px;
  padding:14px 16px;
  text-align:center
}

/* Imagem e overlay */
.difpro__media{position:relative}
.difpro__media img{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  object-position:center;
  transition:transform .6s ease
}
.difpro__card:hover .difpro__media img{transform:scale(1.05)}
.difpro__overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  gap:10px;
  justify-content:center;
  padding:18px;
  color:#fff;
  background:rgba(0,51,51,.92);
  opacity:0;
  transition:opacity .25s ease
}
.difpro__overlay h3{
  margin:0 0 4px 0;
  font-size:1.05rem;
  font-weight:900
}
.difpro__overlay p{margin:0}
.difpro__card:hover .difpro__overlay{opacity:1}

/* Bullets fixos abaixo da imagem */
.difpro__bullets{
  padding:14px 16px
}
.difpro__bullets ul{
  margin:0;
  padding-left:18px;
  color:#1f2937
}
.difpro__bullets li{
  margin:6px 0
}


/* ====== SECTION: Preparatórios ====== */
.prep{
  background:#f1fbf6;
  padding:56px 0
}
.prep__head{
  max-width:940px;
  margin:0 auto 24px;
  text-align:center
}
.prep__head h2{
  font-size:2.2rem;
  font-weight:900;
  color:var(--rf-700)
}
.prep__head p{
  color:#374151;
  margin-top:6px
}
.prep__chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
  margin-top:14px
}
.chip{
  background:var(--rf-050);
  border:1px solid var(--rf-700);
  color:var(--rf-700);
  padding:6px 10px;
  border-radius:999px;
  font-weight:700;
  font-size:.85rem
}

/* Grid de cards */
.prep__grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:18px
}
@media (max-width:1080px){
  .prep__grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  .prep__grid{grid-template-columns:1fr}
}

.prep__card{
  background:#fff;
  border:1px solid var(--rf-050);
  border-radius:16px;
  padding:18px;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position:relative;
  overflow:hidden
}
.prep__card::after{ /* filete decorativo superior */
  content:"";
  position:absolute;
  left:0;
  top:0;
  height:3px;
  width:100%;
  background:linear-gradient(90deg,var(--rf-700),var(--rf-900))
}
.prep__card:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(0,0,0,.06);
  border-color:var(--rf-050)
}

/* Cabeçalho do card */
.prep__icon{
  width:38px;
  height:38px;
  border-radius:10px;
  background:var(--rf-050);
  color:var(--rf-700);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:10px
}
.prep__title{
  font-size:1.1rem;
  font-weight:900;
  color:var(--rf-900);
  margin-bottom:6px
}
.prep__desc{
  color:#334155;
  min-height:48px
}

/* tags pequenas */
.prep__tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:10px
}
.tag{
  background:#f1fbf6;
  border:1px solid rgba(15, 138, 81, .25);
  border-radius:8px;
  padding:4px 8px;
  font-size:.8rem;
  font-weight:800;
  color:var(--rf-700)
}

/* CTA faixa */
.prep__cta{
  background:var(--rf-700);
  color:#fff;
  margin-top:26px;
  padding:18px 20px;
  border-radius:14px;
  text-align:center;
  box-shadow:0 8px 20px rgba(0,155,96,.18)
}
.prep__cta p{
  margin:0;
  font-weight:700
}

/* ===== SECTION Notícias ===== */
.news{
  padding:48px 0;
  background:var(--rf-900)
}
.news__head{
  max-width:1100px;
  margin:20px 0px
}
.news__head h2{
  font-size:2rem;
  font-weight:900;
  color:#fff
}

.news .container{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px
}

/* GRID com as áreas:
   a b c
   d d c  */
.news__grid{
  display:grid;
  gap:16px;
  grid-template-columns: 1fr 1fr 1.25fr;
  grid-template-areas:
    "a b c"
    "d d c";
  align-items:stretch;
}

/* Cards */
.news__card{
  position:relative;
  border-radius:0px;
  overflow:hidden;
  background:#ccc url() center/cover no-repeat;
  background-image:var(--bg);
  min-height:230px;
  isolation:isolate;
  box-shadow:0 10px 24px rgba(0,0,0,.06);
}
.news__a{grid-area:a}
.news__b{grid-area:b}
.news__c{grid-area:c;min-height:480px}
.news__d{grid-area:d;min-height:230px}

/* Overlay, título e botão */
.news__overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:18px;
  background:linear-gradient(180deg,rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%);
  color:#fff;
  transition:background .25s ease, transform .25s ease;
}
.news__card:hover .news__overlay{
  background:linear-gradient(180deg,rgba(0,0,0,.08) 30%, rgba(0,0,0,.65) 100%)
}

.news__title{
  font-size:1.4rem;
  font-weight:900;
  line-height:1.2;
  margin:0 0 12px 0;
  text-shadow:0 2px 8px rgba(0,0,0,.35)
}
.news__btn{
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding:0 22px;
  border-radius:10px;
  border:2px solid rgba(255,255,255,.85);
  color:#fff;
  font-weight:900;
  letter-spacing:.3px;
  text-decoration:none;
  transition:transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  backdrop-filter:saturate(120%) blur(1px);
}
.news__btn:hover{
  background:#fff;
  color:#111;
  border-color:#fff;
  transform:translateY(-1px)
}
.news__btn:focus-visible{
  outline:3px solid #fff;
  outline-offset:2px
}

/* Responsivo */
@media (max-width:1100px){
  .news__grid{
    grid-template-columns:1fr 1fr;
    grid-template-areas:
      "a b"
      "c c"
      "d d";
  }
  .news__c{min-height:360px}
}
@media (max-width:640px){
  .news__grid{
    grid-template-columns:1fr;
    grid-template-areas:
      "a"
      "b"
      "c"
      "d";
  }
  .news__c{min-height:300px}
  .news__title{font-size:1.2rem}
  .news__btn{height:42px;padding:0 18px}
}


/* ===== Paleta RF / Depoimentos ===== */
.depo{
  background:#ffffff;
  padding:52px 0;
}
.depo .container{
  max-width:1100px;
  margin:0 auto;
  padding:0 20px;
}

.depo__head{
  text-align:center;
  margin-bottom:20px;
}
.depo__head h2{
  font-size:2.1rem;
  font-weight:900;
  color:var(--rf-700);
}
.depo__head h2 span{
  color:var(--rf-900);
}

/* layout desktop */
.depo__wrap{
  position:relative;
  display:grid;
  grid-template-columns:auto 220px 1fr auto;
  gap:28px;
  align-items:center;
}

/* avatar circular com aro */
.depo__avatar{
  width:220px;
  aspect-ratio:1/1;
  border-radius:999px;
  overflow:hidden;
  position:relative;
  border:2px solid var(--rf-700);
  box-shadow:0 6px 20px rgba(0,0,0,.12);
}
.depo__avatar::after{
  content:"";
  position:absolute;
  inset:-8px;
  border-radius:999px;
  border:4px solid var(--rf-700);
  pointer-events:none;
}
.depo__avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:1;
  transition:opacity .35s ease;
}

/* conteúdo */
.depo__content{
  margin:0;
  color:#1f2937;
}
.depo__content p{
  font-size:1.06rem;
  line-height:1.68;
  margin:0 0 12px 0;
  opacity:1;
  transition:opacity .35s ease;
}

/* autor */
.depo__author{
  display:flex;
  gap:.4rem;
  align-items:baseline;
  color:#6b7280;
}
.depo__dash{opacity:.5;}
.depo__author strong{
  color:#475569;
  font-weight:800;
}
.depo__author em{
  color:#94a3b8;
  font-style:italic;
}

/* setas */
.depo__nav{
  width:56px;
  height:56px;
  border-radius:999px;
  border:none;
  cursor:pointer;
  color:var(--rf-700);
  background:transparent;
  display:grid;
  place-items:center;
  transition:transform .18s ease, filter .18s ease;
}
.depo__nav:hover{
  transform:scale(1.06);
  filter:brightness(0.95);
}
.depo__nav:focus-visible{
  outline:3px solid var(--rf-amber);
}

/* dots */
.depo__dots{
  display:flex;
  gap:10px;
  margin:14px 0;
}
.depo__dots button{
  width:10px;
  height:10px;
  border-radius:999px;
  border:none;
  background:#d1d5db;
  cursor:pointer;
  transition:transform .18s ease, background .18s ease, opacity .18s ease;
  opacity:.7;
}
.depo__dots button.is-active{
  background:var(--rf-900);
  opacity:1;
  transform:scale(1.1);
}
.depo__dots button:focus-visible{
  outline:2px solid var(--rf-900);
  outline-offset:2px;
}

/* transição CLEAN entre depoimentos (fade) */
.depo--fading .depo__avatar img,
.depo--fading .depo__content p{
  opacity:0;
}

/* ===== Responsivo ===== */

/* tablet */
@media (max-width:900px){
  .depo{
    padding:40px 0;
  }
  .depo__wrap{
    grid-template-columns:auto 180px 1fr auto;
    gap:20px;
  }
  .depo__avatar{
    width:180px;
  }
  .depo__content p{
    font-size:1rem;
  }
}

/* celular */
@media (max-width:680px){
  .depo{
    padding:32px 0;
  }

  .depo__head h2{
    font-size:1.5rem;
    line-height:1.3;
  }

  /* vira um “card” centralizado */
  .depo__wrap{
    max-width:480px;
    margin:0 auto;
    grid-template-columns:1fr;
    justify-items:center;
    gap:16px;
    padding:18px 16px 24px;
    border-radius:18px;
    box-shadow:0 8px 24px rgba(15,23,42,0.06);
  }

  .depo__avatar{
    width:120px;
  }

  .depo__content{
    text-align:center;
  }

  .depo__content p{
    font-size:.95rem;
    line-height:1.6;
  }

  .depo__author{
    justify-content:center;
    flex-wrap:wrap;
    font-size:.9rem;
  }

  .depo__dots{
    justify-content:center;
  }

  /* setas menores e sobrepostas nas laterais,
     para não “esticar” o layout vertical */
  .depo__nav{
    width:40px;
    height:40px;
    position:absolute;
    top:50%;
    transform:translateY(-50%);
  }
  .depo__nav svg{
    width:22px;
    height:22px;
  }
  .depo__nav--prev{
    left:4px;
  }
  .depo__nav--next{
    right:4px;
  }
}

/* celular bem pequeno */
@media (max-width:480px){
  .depo__wrap{
    padding:16px 12px 22px;
  }
  .depo__head h2{
    font-size:1.35rem;
  }
  .depo__content p{
    font-size:.9rem;
  }
}


/* ===== FOOTER ===== */
body{
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif
}
.container{
  max-width:1200px;
  margin:0 auto;
}

/* CTA superior */
.footCTA{
  background:var(--rf-700);
  padding:18px 0
}
.footCTA .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap
}
.footCTA p{
  color:var(--rf-050);
  margin:0;
  font-weight:900;
  font-size:1.1rem
}
.footCTA .btnCTA{
  background:var(--rf-900);
  color:#fff;
  text-decoration:none;
  font-weight:900;
  padding:12px 18px;
  border-radius:10px
}
.footCTA .btnCTA:hover{
  background:var(--rf-900)
}

/* Footer base */
.rfFooter{
  background:var(--brand-blue);
  color:var(--rf-050)
}
.rfFooter__cols{
  padding:28px 0;
  display:grid;
  gap:30px
}
.rfFooter__cols--3{
  grid-template-columns:1fr 1fr 1.4fr
}

/* Títulos com filete à esquerda */
.ttl{
  position:relative;
  margin:0 0 12px 0;
  padding-left:12px;
  color:var(--amber);
  font-weight:900
}
.ttl::before{
  content:"";
  position:absolute;
  left:0;
  top:2px;
  bottom:2px;
  width:4px;
  background:var(--amber);
  border-radius:2px
}

/* listas gerais */
.list{
  list-style:none;
  margin:0;
  padding:0
}
.list li{margin:6px 0}
.rfFooter a{
  color:var(--rf-050);
  text-decoration:none
}
.rfFooter a:hover{text-decoration:underline}

/* Bloco RF Educação */
.rfBrand{margin-top:18px}
.rfBrand__logo{
  max-width:190px;
  height:auto;
  margin-bottom:8px
}
.rfBrand__desc{
  color:var(--rf-050);
  line-height:1.45;
  margin:0
}

.rfSocial {
  margin-top: 14px;
  display: flex;
  gap: 12px;
}
.rfSocial a {
  color: var(--rf-050);
  background: rgba(255,255,255,0.08);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
}
.rfSocial a:hover {
  background: var(--rf-700);
  color: #fff;
  transform: translateY(-2px);
}

.rfSocial-top {
  display: flex;
  gap: 12px;
}
.rfSocial-top a {
  color: var(--rf-050);
  background: rgba(255,255,255,0.08);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
}
.rfSocial-top a:hover {
  background: var(--rf-700);
  color: #fff;
  transform: translateY(-2px);
}

/* Contatos — grid de cards */
.contactsGrid{
  display:grid;
  gap:18px;
  grid-template-columns:1fr 1fr
}
.contactCard{
  background:var(--muted2);
  border:1px solid var(--muted);
  border-radius:14px;
  padding:16px
}
.contactCard__head h4{
  margin:0 0 6px 0;
  color:var(--rf-050);
  font-weight:800;
  display:flex;
  align-items:center;
  gap:8px
}
.dot{
  display:inline-block;
  width:10px;
  height:10px;
  border-radius:50%
}
.dot--green{
  background:var(--rf-700)
}

/* Lista de contatos (ícone + duas linhas) */
.contactList{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:8px
}
.contactList li{
  display:grid;
  grid-template-columns:22px 1fr;
  gap:10px
}
.contactList .ico{
  color:var(--rf-050);
  display:grid;
  place-items:center
}
.contactList .ico svg{
  width:18px;
  height:18px
}
.contactList__text{
  display:flex;
  flex-direction:column;
  gap:2px
}
.contactList__text strong{
  font-weight:800;
  color:var(--rf-050)
}
.contactList__text a{font-weight:700}

/* WhatsApp button */
.btnWhats{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:12px;
  background:var(--rf-700);
  color:#fff;
  text-decoration:none;
  font-weight:900;
  padding:10px 14px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12)
}
.btnWhats svg{
  width:18px;
  height:18px
}
.btnWhats:hover{
  filter:brightness(1.07)
}

/* faixa inferior */
.rfFooter__bottom{
  background:#000000;
  color:#c6d7df;
  padding:14px 0;
  text-align:center
}
.rfFooter__bottom a{
  color:var(--rf-050)
}

/* Responsivo */
@media (max-width:980px){
  .rfFooter__cols--3{grid-template-columns:1fr 1fr}
}
@media (max-width:720px){
  .rfFooter__cols--3{grid-template-columns:1fr}
  .contactsGrid{grid-template-columns:1fr}
}

/* ===== MOBILE ===== */
@media (max-width:980px){
  .burger{display:inline-flex}
  .menu-panel{
    position:absolute;
    left:20px;
    right:20px;
    top:66px;
    background:#fff;
    padding:16px;
    border-radius:12px;
    box-shadow:var(--shadow);
    display:none;
    flex-direction:column;
    gap:12px;
    z-index:70;
  }
  .menu-panel.open{display:flex}
  .menu-list{
    flex-direction:column;
    gap:8px
  }
  .dropdown{
    position:relative;
    top:0;
    transform:none;
    border:none;
    box-shadow:none;
    padding:6px 0;
    margin-left:8px
  }
  .nav__actions{flex-direction:column}
  .btn--solid-green,
  .btn--solid-amber{
    width:100%;
    text-align:center
  }
  .ribbon__wrap {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
    padding: 16px 0;
    text-align: center;
    flex-direction: column;
  }
  .topbar__wrap {
    justify-content: center;
}

.nav__wrap {
    justify-content: space-around;
}

.brand img {
    height: 50px;
}
}













/* NOVA SECTION DE NOTÍCIAS RF – Identidade Exclusiva */
/* ===== SECTION NOTÍCIAS RF — VERSÃO FINAL ===== */

.rf-newsx{
  background:#003333;
  padding:70px 0;
  position:relative;
  overflow:hidden;
}

/* Pattern identitário RF */
.rf-newsx::before{
  content:"";
  position:absolute;
  inset:0;
  background:url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity:0.12;
  pointer-events:none;
}

.rf-newsx .container{
  position:relative;
  z-index:2;
}

/* Cabeçalho */
.rf-newsx__head{
  text-align:center;
  margin-bottom:40px;
}
.rf-newsx__head h2{
  font-size:2.3rem;
  font-weight:900;
  color:#ffffff;
}
.rf-newsx__head h2 strong{
  color:#009B60;
}
.rf-newsx__head p{
  color:#e6e6e6;
  font-size:1.05rem;
  margin-top:8px;
  opacity:.85;
}

/* GRID */
.rf-newsx__grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:22px;
}

/* CARD */
.rf-newsx__card{
  position:relative;
  display:flex;
  flex-direction:column;
  border-radius:20px;
  overflow:hidden;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(4px);
  text-decoration:none;
  transition:.25s ease;
}
.rf-newsx__card:hover{
  transform:translateY(-4px);
  border-color:rgba(255,255,255,.32);
}

/* IMAGENS – padronizadas */
.rf-newsx__image{
  height:220px;
  background-size:cover;
  background-position:center;
  filter:brightness(.92);
}

/* CONTEÚDO */
.rf-newsx__content{
  padding:20px 22px 24px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

/* TAG */
.rf-newsx__tag{
  display:inline-block;
  padding:6px 14px;
  font-weight:800;
  font-size:.75rem;
  text-transform:uppercase;
  background:rgba(255,255,255,.12);
  border-radius:30px;
  color:#ffffff;
}
.rf-newsx--green{
  background:rgba(0,155,96,.25);
  color:#00eabb;
}

/* TÍTULOS */
.rf-newsx__content h3{
  font-size:1.2rem;
  font-weight:700;
  color:#ffffff;
  line-height:1.3;
}

/* DESCRIÇÃO */
.rf-newsx__content p{
  font-size:.95rem;
  color:#cde7e2;
  margin-bottom:6px;
}

/* BOTÃO "LER MATÉRIA" */
.rf-newsx__more{
  margin-top:auto;
  font-weight:800;
  color:#00ef9e;
  font-size:.9rem;
  opacity:.9;
}
.rf-newsx__more:hover{
  text-decoration:underline;
}

/* FOOTER DA SECTION */
.rf-newsx__footer{
  margin-top:30px;
  display:flex;
  justify-content:center;
}

/* BOTÃO VER MAIS */
.rf-newsx__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 26px;
  border-radius:999px;
  border:1px solid rgba(0,239,158,.85);
  font-weight:800;
  font-size:.95rem;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:#00ef9e;
  text-decoration:none;
  background:rgba(0,0,0,.12);
  backdrop-filter:blur(4px);
  transition:background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.rf-newsx__btn:hover{
  background:#00ef9e;
  color:#003333;
  transform:translateY(-2px);
  box-shadow:0 12px 30px rgba(0,0,0,.35);
}

/* RESPONSIVO */
@media(max-width:980px){
  .rf-newsx__grid{
    grid-template-columns:1fr 1fr;
  }
  .rf-newsx__featured{
    grid-column:1 / -1;
  }
}

@media(max-width:640px){
  .rf-newsx__grid{
    grid-template-columns:1fr;
  }
}



/* ===== PÁGINA: ARQUIVO DE NOTÍCIAS (CARDS COM IMAGENS) ===== */

.rf-news-archive{
  background:#f3f4f6;
  padding:40px 0 70px;
}

.rf-news-archive__head{
  margin-bottom:26px;
}

.rf-news-archive__head h1{
  font-size:2.3rem;
  font-weight:900;
  color:var(--rf-900);
}
.rf-news-archive__head h1 strong{
  color:var(--rf-700);
}
.rf-news-archive__head p{
  margin-top:6px;
  max-width:640px;
  color:#4b5563;
}

/* Breadcrumb reaproveita a classe que já existe */
.rf-breadcrumb{
  font-size:.85rem;
  color:#6b7280;
  margin-bottom:6px;
}
.rf-breadcrumb a{
  color:var(--rf-700);
  font-weight:700;
  text-decoration:none;
}
.rf-breadcrumb span{
  margin:0 4px;
}

/* GRID */
.rf-news-archive__grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:22px;
}

@media (max-width:1024px){
  .rf-news-archive__grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}
@media (max-width:720px){
  .rf-news-archive__grid{
    grid-template-columns:1fr;
  }
}

/* CARD */
.rf-news-archive__card{
  background:#ffffff;
  border-radius:18px;
  overflow:hidden;
  border:1px solid #e5e7eb;
  box-shadow:0 10px 24px rgba(0,0,0,.05);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.rf-news-archive__link{
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:inherit;
  height:100%;
}
.rf-news-archive__card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 32px rgba(0,0,0,.08);
  border-color:rgba(0,155,96,.35);
}

/* THUMB */
.rf-news-archive__thumb{
  width:100%;
  height:190px;
  background-size:cover;
  background-position:center;
}

/* CONTEÚDO */
.rf-news-archive__body{
  padding:16px 18px 20px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

/* TAG */
.rf-news-archive__tag{
  align-self:flex-start;
  font-size:.75rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
  padding:4px 10px;
  border-radius:999px;
  background:#e5e7eb;
  color:#374151;
}
.rf-news-archive__tag--green{
  background:rgba(0,155,96,.15);
  color:var(--rf-700);
}

/* TÍTULO */
.rf-news-archive__body h2{
  font-size:1.05rem;
  font-weight:900;
  color:var(--rf-900);
}

/* META */
.rf-news-archive__meta{
  font-size:.85rem;
  color:#6b7280;
  font-weight:600;
}

/* EXCERPT */
.rf-news-archive__excerpt{
  font-size:.93rem;
  color:#4b5563;
}

/* CTA */
.rf-news-archive__more{
  margin-top:auto;
  font-size:.9rem;
  font-weight:800;
  color:var(--rf-700);
}
.rf-news-archive__more::after{
  content:" →";
}





/* ===== PÁGINA: Artigo de notícia ===== */
.rf-article-hero{
  background: radial-gradient(circle at top left, rgba(0,155,96,.18), transparent 55%),
              #003333;
  color:#e6f7f0;
  padding:32px 0 26px;
}
.rf-article-hero__wrap{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
}
.rf-article-hero h1{
  font-size:2rem;
  font-weight:900;
  margin-top:10px;
  color:#ffffff;
}
.rf-article-meta{
  margin-top:6px;
  font-size:.9rem;
  font-weight:700;
  color:#d1fae5;
}
.rf-article-chip{
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  font-size:.8rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
  background:rgba(230,230,230,.15);
  color:#e5f5ec;
}
.rf-article-chip--success{
  background:rgba(0,155,96,.2);
}
.rf-article-hero__tagline p{
  margin:0;
  font-size:.98rem;
  max-width:320px;
}

/* Conteúdo */
.rf-article{
  background:#ffffff;
  padding:30px 0 60px;
}
.rf-article__grid{
  display:grid;
  grid-template-columns:minmax(0,2.6fr) minmax(0,1fr);
  gap:40px;
}
.rf-article__content{
  font-size:1rem;
  line-height:1.7;
  color:#111827;
}
.rf-article__content p{
  margin:0 0 14px 0;
}
.rf-article__content h2{
  font-size:1.3rem;
  margin:20px 0 10px;
  color:var(--rf-900);
  font-weight:900;
}
.rf-article__content ul{
  margin:0 0 16px 18px;
  padding:0;
}
.rf-article__content li{
  margin-bottom:6px;
}

/* Aside */
.rf-article__aside h3{
  font-size:1rem;
  font-weight:800;
  margin-bottom:10px;
  color:var(--rf-900);
}
.rf-article__aside ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.rf-article__aside a{
  font-size:.9rem;
  text-decoration:none;
  color:var(--rf-700);
  font-weight:700;
}
.rf-article__aside a:hover{
  text-decoration:underline;
}

/* Responsivo páginas de notícia */
@media(max-width:900px){
  .rf-article-hero__wrap{
    flex-direction:column;
    align-items:flex-start;
  }
  .rf-article__grid{
    grid-template-columns:1fr;
  }
}
 
/* Banner abaixo do header da matéria */
.rf-article-banner img{
  width:100%;
  height:575px;
  object-fit:cover;
  display:block;
  border-bottom:4px solid var(--rf-700);
  filter:brightness(0.93);
}

@media(max-width:768px){
  .rf-article-banner img{
    height:240px;
  }
  .rf-article-hero h1 {
    font-size: 1.2rem;
}
}


