/* ============================================================
   Domus — app.css
   Salvar em: public/assets/css/app.css
   ============================================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #00506b;
  --navy-dark: #003c50;
  --gold:   #0aa3c7;
  --gold-light: #34bfdc;
  --teal:   #105d7a;
  --white:  #ffffff;
  --gray-bg:#f4f7f8;
  --gray-mid:#8da4ae;
  --text:   #17323d;
  --text-light:#58727c;
  --border: #dbe7eb;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,80,107,.10);
  --font-body: 'Montserrat', system-ui, sans-serif;
  --font-head: 'Montserrat', system-ui, sans-serif;
  --container: 1200px;
  --transition: .2s ease;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.7; background: #fff; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .6rem 1.4rem; border-radius: var(--radius);
  font-weight: 600; font-size: .9rem; transition: var(--transition);
  white-space: nowrap;
}
.btn--primary   { background: var(--navy); color: #fff; }
.btn--primary:hover { background: #253f7a; }
.btn--outline   { border: 2px solid var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--outline-white { border: 2px solid #fff; color: #fff; }
.btn--outline-white:hover { background: #fff; color: var(--navy); }
.btn--gold      { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-light); }
.btn--white     { background: #fff; color: var(--navy); }
.btn--white:hover { background: #f0f0f0; }
.btn--sm        { padding: .35rem .9rem; font-size: .82rem; }

/* --- HEADER TOP --- */
.header-top {
  background: var(--navy); color: #fff;
  font-size: .82rem; position: relative; z-index: 100;
}
.header-top__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: 44px;
}
.header-top__camaras { display: flex; gap: 1.5rem; }
.header-top__camaras a { color: rgba(255,255,255,.85); transition: var(--transition); }
.header-top__camaras a:hover,
.header-top__camaras a.active { color: #fff; border-bottom: 2px solid var(--gold); }
.header-top__actions { display: flex; align-items: center; gap: .75rem; }
.btn-font {
  background: transparent; color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.3);
  padding: .15rem .5rem; border-radius: 4px; font-size: .8rem;
  transition: var(--transition);
}
.btn-font:hover { color: #fff; border-color: #fff; }
.btn-search { color: rgba(255,255,255,.8); padding: .25rem; transition: var(--transition); }
.btn-search:hover { color: #fff; }

/* --- HEADER MAIN --- */
.site-header {
  position: sticky; top: 0; z-index: 99;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.header-main {
  background: #fff; border-bottom: 1px solid var(--border);
}
.header-main__inner {
  display: flex; align-items: center; gap: 2rem;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.logo img { transition: opacity .2s; }
.logo img:hover { opacity: .85; }
.logo-text { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--navy); }

/* NAV */
.nav-main { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav-main__item { position: relative; }
.nav-main__item > a,
.nav-main__item.nav-main__item--dropdown > a,
.nav-main > a.nav-main__item {
  display: flex; align-items: center; gap: .25rem;
  padding: .5rem .7rem; border-radius: 6px; font-size: .88rem; font-weight: 600;
  color: var(--navy); transition: var(--transition); white-space: nowrap;
  text-decoration: none;
}
.nav-main__item > a:hover,
.nav-main__item > a.active,
.nav-main > a.nav-main__item:hover { background: var(--gray-bg); color: var(--navy); }

/* Dropdown */
.nav-main__item--dropdown > a::after { content: '▾'; font-size: .7rem; opacity: .6; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); min-width: 220px; z-index: 200;
  padding: .5rem 0;
  /* Área de padding no topo evita que o mouse "perca" o dropdown */
  margin-top: 0;
}
/* Área invisível de 8px entre o link e o dropdown — impede sumiço rápido */
.nav-main__item--dropdown > a::before {
  content: ''; position: absolute; bottom: -8px; left: 0;
  width: 100%; height: 8px;
}
.nav-main__item--dropdown > a { position: relative; }
.nav-main__item--dropdown:hover .dropdown,
.nav-main__item--dropdown:focus-within .dropdown { display: block; }
.dropdown a {
  display: block; padding: .5rem 1.1rem; font-size: .88rem;
  color: var(--text); transition: var(--transition);
}
.dropdown a:hover { background: var(--gray-bg); color: var(--navy); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: .5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }

/* Search bar */
.search-bar { background: var(--gray-bg); border-top: 1px solid var(--border); padding: .75rem 0; }
.search-bar form { display: flex; gap: .5rem; }
.search-bar input { flex: 1; padding: .5rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: .9rem; }
.search-bar button { background: var(--navy); color: #fff; padding: .5rem 1.2rem; border-radius: var(--radius); font-weight: 600; }

/* --- ALERTS --- */
.alert { padding: .85rem 1.25rem; font-weight: 600; font-size: .9rem; }
.alert--success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.alert--error   { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }

/* --- HERO / SLIDER --- */
.hero { position: relative; overflow: hidden; background: var(--gray-bg); }
.hero__slider { position: relative; min-height: 420px; display: flex; }
.hero__slide {
  display: none; width: 100%; position: relative;
  flex-direction: row;
}
.hero__slide.active { display: flex; }
.hero__img {
  width: 62%; min-height: 420px; object-fit: cover; flex-shrink: 0;
}
.hero__img--placeholder {
  width: 62%; min-height: 420px; background: linear-gradient(135deg, #e8e4d9 0%, #d4cfc3 100%);
}
.hero__content {
  flex: 1; background: #fff; padding: 2.5rem 2rem;
  display: flex; flex-direction: column; justify-content: center; gap: .75rem;
}
.hero__label { font-size: .78rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; }
.hero__title { font-family: var(--font-head); font-size: 1.6rem; color: var(--navy); line-height: 1.3; }
.hero__desc  { font-size: .9rem; color: var(--text-light); line-height: 1.6; }
.hero__link  { color: var(--navy); font-weight: 700; font-size: .9rem; margin-top: .25rem; }
.hero__link:hover { color: var(--gold); }
.hero__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.9); border: none; width: 40px; height: 40px;
  border-radius: 50%; font-size: 1.2rem; color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); z-index: 10; transition: var(--transition);
}
.hero__btn:hover { background: #fff; }
.hero__btn--prev { left: .75rem; }
.hero__btn--next { right: calc(38% + .75rem); }

/* --- SECTIONS --- */
.section { padding: 3.5rem 0; }
.section--gray { background: var(--gray-bg); }
.section-title { font-family: var(--font-head); font-size: 1.6rem; color: var(--navy); margin-bottom: 2rem; }
.section-title--center { text-align: center; }
.section__cta { text-align: center; margin-top: 2.5rem; }

/* --- SOBRE --- */
.sobre__inner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 3rem; align-items: center;
}
.sobre__text { max-width: 600px; }
.sobre__text p { color: var(--text-light); margin-bottom: 1.5rem; }
.sobre__btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.sobre__img img { max-width: 240px; }

/* --- CARDS GRID --- */
.cards-grid { display: grid; gap: 1.5rem; }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --- CARD --- */
.card {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  display: flex; flex-direction: column; transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__img-wrap { display: block; overflow: hidden; aspect-ratio: 16/9; position: relative; }
.card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card__img-wrap:hover img { transform: scale(1.04); }
.card__body { padding: 1.1rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card__date  { font-size: .78rem; color: var(--gray-mid); }
.card__title { font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.35; }
.card__title a:hover { color: var(--gold); }
.card__excerpt { font-size: .88rem; color: var(--text-light); flex: 1; }
.card__link  { font-size: .85rem; font-weight: 700; color: var(--navy); margin-top: auto; }
.card__link:hover { color: var(--gold); }

/* Event card badges */
.card__badges { position: absolute; bottom: 0; left: 0; right: 0; padding: .5rem; display: flex; flex-direction: column; gap: .3rem; }
.badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 600; padding: .2rem .55rem; border-radius: 4px; width: fit-content; }
.badge--date    { background: var(--navy); color: #fff; }
.badge--modality, .badge--online, .badge--presencial, .badge--hibrido { background: var(--gold); color: #fff; }

/* Legislation card */
.card--legislation { border-top: 3px solid var(--gold); }
.card--legislation__date { font-size: .8rem; font-weight: 700; color: var(--text-light); display: block; margin-bottom: .3rem; }
.card--legislation__title { font-size: .95rem; font-weight: 700; color: var(--gold); line-height: 1.3; }
.card--legislation__title a:hover { color: var(--navy); }

/* Associate card */
.card--associate {
  padding: 1.25rem; text-align: center; gap: .4rem;
  border-radius: var(--radius); font-size: .9rem;
}
.card--associate strong { color: var(--navy); font-size: .95rem; display: block; }
.card--associate span   { color: var(--gray-mid); font-size: .82rem; }
.associate__logo { max-height: 60px; margin: 0 auto .75rem; object-fit: contain; }

/* Service card */
.card--service { padding: 1.5rem; text-align: center; gap: .75rem; }
.card--service__icon { margin: 0 auto .5rem; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; }
.card--service h3 { color: var(--gold); font-size: 1rem; font-weight: 700; }
.card--service p  { font-size: .88rem; color: var(--text-light); }

/* Magazine card */
.card--magazine { align-items: center; padding: 1.5rem; gap: 1rem; background: transparent; border: none; }
.magazine__cover { max-height: 280px; object-fit: contain; border-radius: 4px; box-shadow: 4px 4px 16px rgba(0,0,0,.15); }

/* Library card */
.card--library { overflow: hidden; }
.library__cover { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

/* --- NEWS FEATURED --- */
.news-featured {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  margin-bottom: 2rem; align-items: start;
}
.news-featured__img { display: block; border-radius: var(--radius); overflow: hidden; }
.news-featured__img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.news-featured__body { display: flex; flex-direction: column; gap: .6rem; }
.news-featured__cats { display: flex; gap: .5rem; flex-wrap: wrap; }
.news-featured__title { font-family: var(--font-head); font-size: 1.4rem; color: var(--navy); line-height: 1.3; }
.news-featured__title a:hover { color: var(--gold); }
.news-featured__date { font-size: .82rem; color: var(--gray-mid); display: flex; align-items: center; gap: .3rem; }
.news-others__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; margin-top: 1rem; }
.news-others__label  { font-size: 1rem; font-weight: 700; color: var(--gold); }

/* --- TAGS --- */
.tag { font-size: .75rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .04em; }
.tag--active { color: var(--navy); border-bottom: 2px solid var(--navy); }
.filter-tags { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }

/* --- ASSOCIAR / POR QUE SE ASSOCIAR --- */
.associar {
  background: url('') center/cover, #c9d8d9;
  padding: 4rem 0;
}
.associar__inner { display: flex; justify-content: flex-end; }
.associar__body {
  background: rgba(255,255,255,.92); max-width: 560px; padding: 2.5rem;
  border-radius: var(--radius); backdrop-filter: blur(4px);
}
.associar__body h2 { font-family: var(--font-head); color: var(--navy); margin-bottom: 1rem; }
.associar__body ul { display: flex; flex-direction: column; gap: .5rem; padding-left: 1.1rem; list-style: disc; margin-bottom: 1.5rem; }
.associar__body li { font-size: .9rem; color: var(--text-light); }
.associar__btns    { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- NEWSLETTER BAR --- */
.newsletter-bar { background: var(--teal); padding: 1.25rem 0; }
.newsletter-bar__inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.newsletter-bar__label { color: #fff; font-weight: 700; white-space: nowrap; }
.newsletter-bar__form  { display: flex; gap: .5rem; flex: 1; flex-wrap: wrap; }
.newsletter-bar__form input {
  flex: 1; min-width: 180px; padding: .5rem 1rem;
  border: none; border-bottom: 2px solid rgba(255,255,255,.5);
  background: transparent; color: #fff; font-size: .9rem;
}
.newsletter-bar__form input::placeholder { color: rgba(255,255,255,.7); }
.newsletter-bar__form input:focus { outline: none; border-bottom-color: #fff; }

/* --- FOOTER --- */
.footer { background: var(--navy); color: rgba(255,255,255,.85); padding: 3rem 0 0; }
.footer__inner { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; padding-bottom: 2.5rem; }
.footer__brand { display: flex; flex-direction: column; gap: .75rem; }
.footer__logo-text { font-family: var(--font-head); font-size: 1.3rem; color: #fff; font-weight: 700; }
.footer__tagline   { font-size: .8rem; color: rgba(255,255,255,.6); line-height: 1.4; }
.footer__social    { display: flex; gap: .75rem; margin-top: .25rem; }
.footer__social a  { color: rgba(255,255,255,.7); transition: var(--transition); }
.footer__social a:hover { color: #fff; }
.footer__link-small { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: .5rem; }
.footer__link-small:hover { color: #fff; }
.footer__nav  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.footer__col  { display: flex; flex-direction: column; gap: .4rem; }
.footer__col h4 { color: #fff; font-size: .88rem; font-weight: 700; margin-bottom: .2rem; }
.footer__col a  { font-size: .82rem; color: rgba(255,255,255,.65); transition: var(--transition); }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1rem 0; text-align: center; }
.footer__bottom p { font-size: .8rem; color: rgba(255,255,255,.4); }

/* --- PAGE HEADER --- */
.page-header { background: var(--navy); color: #fff; padding: 2.5rem 0; }
.page-header h1 { font-family: var(--font-head); font-size: 1.8rem; }
.page-header .breadcrumb { font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: .75rem; }
.page-header .breadcrumb a { color: rgba(255,255,255,.7); }
.page-header .breadcrumb a:hover { color: #fff; }

/* --- POST SINGLE --- */
.post-single__header { background: var(--navy); color: #fff; padding: 2.5rem 0; }
.post-single__title  { font-family: var(--font-head); font-size: 1.8rem; margin: .5rem 0; line-height: 1.3; }
.post-single__date   { font-size: .82rem; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: .3rem; }
.post-single__cats   { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .5rem; }
.post-single__body   { padding: 2rem 0; max-width: 860px; margin: 0 auto; }
.post-content        { line-height: 1.8; color: var(--text); }
.post-content h2, .post-content h3 { font-family: var(--font-head); color: var(--navy); margin: 1.5rem 0 .75rem; }
.post-content p  { margin-bottom: 1rem; }
.post-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.post-content a  { color: var(--teal); text-decoration: underline; }
.related-posts   { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.related-posts h3 { font-family: var(--font-head); color: var(--navy); margin-bottom: 1.25rem; }

/* --- EVENT META --- */
.event-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0; font-size: .9rem; color: rgba(255,255,255,.8); }
.event-meta strong { color: #fff; }

/* --- FILTERS BAR --- */
.filters-bar { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filters-bar input, .filters-bar select {
  padding: .55rem 1rem; border: 1px solid var(--border); border-radius: var(--radius);
  font-size: .9rem; background: #fff; color: var(--text);
}
.filters-bar input { flex: 1; min-width: 200px; }

/* --- FORMS --- */
.form { max-width: 680px; }
.form__group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.25rem; }
.form__row   { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__group label { font-size: .88rem; font-weight: 600; color: var(--navy); }
.form__group input, .form__group textarea, .form__group select {
  padding: .6rem 1rem; border: 1px solid var(--border); border-radius: var(--radius);
  font-size: .9rem; font-family: inherit; transition: var(--transition);
}
.form__group input:focus, .form__group textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,45,90,.1);
}
.contact-wrap { max-width: 760px; padding-top: 2.5rem; padding-bottom: 3rem; }

/* --- PARTNERS GRID --- */
.partners-grid { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 2rem; }
.partner-item {
  display: flex; align-items: center; justify-content: center;
  width: 160px; height: 90px; border: 1px solid var(--border); border-radius: var(--radius);
  padding: .75rem; transition: var(--transition);
}
.partner-item:hover { box-shadow: var(--shadow); }
.partner-item img   { max-height: 60px; object-fit: contain; }
.partner-item span  { font-size: .8rem; text-align: center; color: var(--text-light); }

/* --- GALLERY --- */
.gallery-grid { margin-top: 2rem; }
.gallery-grid h3 { font-family: var(--font-head); color: var(--navy); margin-bottom: 1rem; }
.gallery-grid__imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .75rem; }
.gallery-item { display: block; border-radius: 6px; overflow: hidden; aspect-ratio: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.06); }

/* --- DOCUMENTS LIST --- */
.documents-list { margin-top: 2rem; }
.documents-list h3 { font-family: var(--font-head); color: var(--navy); margin-bottom: 1rem; }
.document-item {
  display: flex; align-items: center; gap: .5rem;
  padding: .6rem 1rem; border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: .5rem; font-size: .9rem; color: var(--navy); transition: var(--transition);
}
.document-item:hover { background: var(--gray-bg); }

/* --- PAGINATION --- */
.pagination { margin-top: 2.5rem; display: flex; justify-content: center; }
.pagination ul { display: flex; gap: .4rem; }
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid var(--border); border-radius: var(--radius);
  font-size: .9rem; font-weight: 600; color: var(--navy); transition: var(--transition);
}
.pagination a:hover, .pagination a.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* --- ERROR PAGE --- */
.error-page__inner { text-align: center; padding: 5rem 1rem; }
.error-page__code  { font-size: 6rem; font-weight: 900; color: var(--navy); opacity: .15; line-height: 1; }
.error-page__inner h2 { font-family: var(--font-head); font-size: 1.6rem; color: var(--navy); margin: .5rem 0 1rem; }
.error-page__inner p  { color: var(--text-light); margin-bottom: 2rem; }

/* --- MISC --- */
.empty-state { text-align: center; padding: 3rem; color: var(--gray-mid); font-size: 1rem; }
.results-count { color: var(--gray-mid); font-size: .88rem; margin-bottom: 1.25rem; }
.breadcrumb    { font-size: .82rem; color: var(--text-light); margin-bottom: .75rem; }
.breadcrumb a:hover { color: var(--gold); }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Header */
  .header-top__camaras { display: none; }
  .nav-main {
    display: none; position: fixed; inset: 0; top: 108px;
    background: #fff; flex-direction: column; align-items: stretch;
    overflow-y: auto; padding: 1rem; gap: 0; z-index: 98;
    border-top: 1px solid var(--border);
  }
  .nav-main.open { display: flex; }
  .nav-main__item > a { padding: .85rem 1rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-main__item--dropdown > a::after { margin-left: auto; }
  .dropdown { position: static; box-shadow: none; border: none; background: var(--gray-bg); display: none; padding: 0; }
  .nav-main__item--dropdown.open .dropdown { display: block; }
  .dropdown a { padding-left: 2rem; }
  .nav-toggle { display: flex; margin-left: auto; }

  /* Hero */
  .hero__slide { flex-direction: column; }
  .hero__img, .hero__img--placeholder { width: 100%; min-height: 220px; }
  .hero__content { padding: 1.5rem 1rem; }
  .hero__title { font-size: 1.25rem; }
  .hero__btn--next { right: .75rem; }

  /* Grids */
  .cards-grid--3 { grid-template-columns: 1fr; }
  .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .news-featured { grid-template-columns: 1fr; }
  .sobre__inner  { grid-template-columns: 1fr; }
  .sobre__img    { display: none; }
  .form__row     { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__nav   { grid-template-columns: repeat(2, 1fr); }
  .associar__body { max-width: 100%; }
  .header-top__inner { justify-content: space-between; }
}

@media (max-width: 480px) {
  .cards-grid--4 { grid-template-columns: 1fr; }
  .footer__nav   { grid-template-columns: 1fr; }
  .newsletter-bar__inner { flex-direction: column; align-items: flex-start; }
  .section-title { font-size: 1.3rem; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
#lightbox { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
#lightbox[hidden] { display: none; }
.lb-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.92); }
.lb-box { position: relative; max-width: 90vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; z-index: 1; }
.lb-img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 4px; display: block; }
.lb-close { position: fixed; top: 1rem; right: 1.25rem; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; z-index: 2; line-height: 1; opacity: .8; }
.lb-close:hover { opacity: 1; }
.lb-prev, .lb-next { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); border: none; color: #fff; font-size: 1.5rem; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .2s; z-index: 2; }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.3); }
.lb-footer { margin-top: .75rem; display: flex; gap: 1.5rem; align-items: center; }
.lb-cap { color: rgba(255,255,255,.8); font-size: .88rem; }
.lb-count { color: rgba(255,255,255,.5); font-size: .78rem; }

/* ============================================================
   GALLERY GRID (público)
   ============================================================ */
.gallery-section { padding: 3rem 0; }
.gallery-grid__imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: .75rem; }
.gallery-item { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }

/* ============================================================
   AGENDA INSTITUCIONAL Domus
   ============================================================ */

/* Header da agenda */
.agenda-header { background: var(--navy); color: #fff; padding: 2.5rem 0 1.5rem; }
.agenda-title  { font-family: var(--font-head); font-size: 1.8rem; text-align: center; font-weight: 700; letter-spacing: .03em; }

/* Filtros */
.agenda-filters { background: #fff; border-bottom: 1px solid var(--border); padding: 1.5rem 0; box-shadow: var(--shadow); }
.af-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto;
  gap: .75rem; align-items: end;
}
.af-group { display: flex; flex-direction: column; gap: .3rem; }
.af-group--btn { justify-content: flex-end; }
.af-label { font-size: .68rem; font-weight: 700; letter-spacing: .08em; color: var(--text-light); }
.af-input {
  padding: .6rem .9rem; border: 1px solid var(--border); border-radius: var(--radius);
  font-size: .9rem; font-family: inherit; color: var(--text); width: 100%;
}
.af-input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,45,90,.1); }
.af-btn {
  padding: .65rem 1.5rem; background: var(--navy); color: #fff; border: none;
  border-radius: var(--radius); font-weight: 700; font-size: .9rem; cursor: pointer;
  white-space: nowrap; transition: .15s; letter-spacing: .04em;
}
.af-btn:hover { background: #253f7a; }

/* Toolbar (toggle lista/mês + nav mês) */
.agenda-toolbar { border-bottom: 1px solid var(--border); padding: .75rem 0; background: #fff; }
.agenda-toolbar__inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.agenda-view-toggle { display: flex; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.toggle-btn { padding: .4rem 1.1rem; font-size: .85rem; font-weight: 600; color: var(--text); background: #fff; transition: .15s; }
.toggle-btn.active { background: var(--navy); color: #fff; }
.toggle-btn:hover:not(.active) { background: var(--gray-bg); }
.agenda-month-nav { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.month-nav-btn { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: var(--radius); font-size: 1.2rem; color: var(--navy); transition: .15s; }
.month-nav-btn:hover { background: var(--navy); color: #fff; }
.month-nav-title { font-weight: 700; color: var(--navy); font-size: 1rem; min-width: 180px; text-align: center; }

/* Legenda */
.agenda-legend { padding: 1rem 0; border-bottom: 1px solid var(--border); background: #fafaf8; }
.legend-grid { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; }
.legend-title { font-size: .75rem; font-weight: 700; letter-spacing: .08em; color: var(--text-light); flex-basis: 100%; }
.legend-item { display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--text); font-weight: 500; transition: .15s; border-radius: 20px; padding: .15rem .6rem; }
.legend-item:hover, .legend-item.active { background: var(--gray-bg); }
.legend-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
.legend-clear { font-size: .78rem; color: var(--danger); font-weight: 600; padding: .15rem .5rem; }
.btn-pdf { font-size: .78rem; font-weight: 700; border: 1px solid var(--border); border-radius: var(--radius); padding: .3rem .75rem; color: var(--text); }
.btn-pdf:hover { border-color: var(--navy); color: var(--navy); }

/* ---- VIEW LISTA ---- */
.agenda-list { padding: 2rem 0 4rem; background: var(--gray-bg); }

/* Cabeçalho do dia */
.day-header { margin-bottom: .1rem; }
.day-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--navy); color: #fff; padding: .6rem 1.25rem;
  border-radius: var(--radius) var(--radius) 0 0;
}
.day-header--today .day-header__inner { background: var(--teal); }
.day-header__title { font-size: .92rem; font-weight: 700; text-align: center; flex: 1; }
.day-nav { background: rgba(255,255,255,.15); border: none; color: #fff; width: 28px; height: 28px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .15s; }
.day-nav:hover { background: rgba(255,255,255,.3); }

/* Card de evento na lista */
.agenda-event-card {
  display: flex; gap: 0; background: #fff;
  border: 1px solid var(--border); border-top: none;
  margin-bottom: 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
}
.aec-dates {
  min-width: 130px; padding: 1.1rem 1rem; border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: .25rem;
  background: #fafaf8; flex-shrink: 0;
}
.aec-date { font-size: .82rem; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: .3rem; }
.aec-date::before { content: '📅'; font-size: .7rem; }
.aec-time { font-size: .78rem; color: var(--text-light); display: flex; align-items: center; gap: .3rem; margin-top: .25rem; }
.aec-time::before { content: '🕐'; font-size: .7rem; }

.aec-body {
  flex: 1; padding: 1.1rem 1.25rem;
  border-left: 5px solid var(--navy);
}
.aec-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .35rem; line-height: 1.35; }
.aec-title a:hover { color: var(--gold); }
.aec-category { font-size: .8rem; font-weight: 700; margin-bottom: .5rem; }
.aec-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.aec-tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; color: var(--text-light); background: var(--gray-bg); padding: .2rem .6rem; border-radius: 20px; }
.aec-tag--access { background: #fff3cd; color: #856404; }
.aec-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.btn-inscricao { padding: .45rem 1rem; background: var(--navy); color: #fff; border-radius: var(--radius); font-size: .82rem; font-weight: 700; transition: .15s; }
.btn-inscricao:hover { background: #253f7a; }
.btn-outlook { padding: .45rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: .82rem; color: var(--text); transition: .15s; }
.btn-outlook:hover { border-color: var(--navy); color: var(--navy); }
.btn-saiba-mais { padding: .45rem 1rem; color: var(--navy); font-size: .82rem; font-weight: 700; }
.btn-saiba-mais:hover { color: var(--gold); }

.agenda-empty { text-align: center; padding: 3rem 1rem; color: var(--text-light); background: #fff; border-radius: var(--radius); border: 1px solid var(--border); }

/* ---- VIEW CALENDÁRIO ---- */
.agenda-calendar { padding: 2rem 0 4rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cal-dow { background: var(--navy); color: rgba(255,255,255,.8); font-size: .75rem; font-weight: 700; text-align: center; padding: .5rem; }
.cal-day { background: #fff; min-height: 110px; padding: .4rem; display: flex; flex-direction: column; gap: 2px; transition: .15s; }
.cal-day--empty { background: #f8f8f6; }
.cal-day--today { background: #e8f4fd; }
.cal-day--has-events { cursor: default; }
.cal-day__num { font-size: .82rem; font-weight: 700; color: var(--text-light); margin-bottom: 2px; }
.cal-day--today .cal-day__num { color: var(--navy); background: var(--teal); color: #fff; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.cal-event { display: block; font-size: .68rem; padding: 2px 5px; border-radius: 3px; color: #fff; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 1px; transition: .15s; }
.cal-event:hover { opacity: .85; }
.cal-more { font-size: .65rem; color: var(--text-light); font-weight: 700; padding: 1px 4px; }

/* Responsivo */
@media (max-width: 900px) {
  .af-grid { grid-template-columns: 1fr 1fr; }
  .af-group--btn { grid-column: 1/-1; }
}
@media (max-width: 600px) {
  .af-grid { grid-template-columns: 1fr; }
  .agenda-event-card { flex-direction: column; }
  .aec-dates { border-right: none; border-bottom: 1px solid var(--border); flex-direction: row; flex-wrap: wrap; gap: .75rem; }
  .cal-grid { grid-template-columns: repeat(7, 1fr); }
  .cal-day { min-height: 60px; }
  .cal-event { display: none; }
  .cal-more { display: block; font-size: .7rem; }
}

/* Logos com fundo transparente — sem filtro necessário */
.logo img, .footer__brand img, .sidebar__brand img { filter: none; }

/* ============================================================
   BIBLIOTECA — layout com sidebar de filtros
   ============================================================ */

.library-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* --- SIDEBAR --- */
.library-sidebar {
  position: sticky;
  top: 130px;
}

.lib-search {
  display: flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .5rem .85rem;
  background: #f8f8f6;
  margin-bottom: 1.25rem;
}
.lib-search svg { color: var(--text-light); flex-shrink: 0; }
.lib-search input {
  border: none;
  background: transparent;
  font-size: .9rem;
  width: 100%;
  outline: none;
  color: var(--text);
}

.lib-filter-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--navy);
  color: #fff;
  padding: .55rem 1rem;
  border-radius: var(--radius);
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.lib-filter-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lib-filter-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .75rem;
  font-size: .88rem;
  color: var(--text);
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition);
}
.lib-filter-item:hover { background: var(--gray-bg); }
.lib-filter-item.active { color: var(--gold); font-weight: 700; }
.lib-filter-item input[type="radio"] {
  accent-color: var(--gold);
  width: 14px; height: 14px;
}

/* --- MAIN --- */
.lib-active-filter {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--text-light);
  margin-bottom: .75rem;
  padding: .5rem .85rem;
  background: var(--gray-bg);
  border-radius: var(--radius);
}
.lib-active-filter strong { color: var(--navy); }
.lib-active-filter a { color: var(--danger); font-weight: 600; margin-left: auto; }

.lib-count {
  font-size: .82rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

/* --- LISTA DE ITEMS --- */
.lib-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lib-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.lib-item:last-child { border-bottom: none; }
.lib-item:hover { background: #fafaf8; margin: 0 -.75rem; padding-left: .75rem; padding-right: .75rem; border-radius: var(--radius); }

/* Capa */
.lib-item__cover {
  width: 90px;
  min-width: 90px;
  height: 120px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
  background: #f8f8f6;
}
.lib-item__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lib-item__cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0ec;
}

/* Conteúdo */
.lib-item__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.lib-item__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}
.lib-item__title a:hover { color: var(--gold); }

.lib-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.lib-item__tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .78rem;
  color: var(--gold);
  font-weight: 600;
}
.lib-item__tag--size {
  color: var(--text-light);
  font-weight: 400;
}

.lib-item__desc {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.5;
}

.lib-item__actions {
  margin-top: .35rem;
}

/* Estado vazio */
.lib-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-light);
}
.lib-empty svg { display: block; margin: 0 auto 1rem; }
.lib-empty p { font-size: 1rem; }

/* --- RESPONSIVO --- */
@media (max-width: 900px) {
  .library-layout {
    grid-template-columns: 1fr;
  }
  .library-sidebar {
    position: static;
  }
  .lib-filter-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: .35rem;
  }
  .lib-filter-item {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: .3rem .85rem;
    font-size: .8rem;
  }
  .lib-filter-item.active {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
  }
}

@media (max-width: 480px) {
  .lib-item { flex-direction: column; }
  .lib-item__cover { width: 100%; height: 180px; }
}

/* ============================================================
   DROPDOWN — 2 colunas e mega menu
   ============================================================ */

/* Dropdown padrão — já existente, ajuste de largura */
.dropdown { min-width: 240px; }

/* Dropdown 2 colunas (Eventos) */
.dropdown--2col {
  display: none;
  min-width: 420px;
  flex-direction: row;
  gap: 0;
}
.nav-main__item--dropdown:hover .dropdown--2col,
.nav-main__item--dropdown:focus-within .dropdown--2col { display: flex; }

.dropdown-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: .5rem 0;
  border-right: 1px solid var(--border);
}
.dropdown-col:last-child { border-right: none; }
.dropdown-col a {
  display: block;
  padding: .5rem 1.25rem;
  font-size: .88rem;
  color: var(--text);
  transition: var(--transition);
  text-decoration: none !important;
}
.dropdown-col a:hover { background: var(--gray-bg); color: var(--navy) !important; }

/* Mega dropdown (Domus) */
.dropdown--mega {
  display: none;
  min-width: 680px;
  flex-direction: row;
  gap: 0;
  left: 0;
}
.nav-main__item--dropdown:hover .dropdown--mega,
.nav-main__item--dropdown:focus-within .dropdown--mega { display: flex; }

.dropdown-mega__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: .75rem 0;
  border-right: 1px solid var(--border);
}
.dropdown-mega__col:last-child { border-right: none; }
.dropdown-mega__col a {
  display: block;
  padding: .45rem 1.25rem;
  font-size: .88rem;
  color: var(--text);
  transition: var(--transition);
  text-decoration: none !important;
}
.dropdown-mega__col a:hover { background: var(--gray-bg); color: var(--navy) !important; }

.dropdown-mega__col--highlight { background: #f8f8f5; }
.dropdown-mega__title {
  display: block;
  padding: .45rem 1.25rem .6rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 1px solid var(--border);
  margin-bottom: .25rem;
}

/* Garante que o mega fica no lugar certo */
.nav-main__item--dropdown { position: relative; }

/* Mobile: colapsa tudo em lista simples */
@media (max-width: 768px) {
  .dropdown--2col,
  .dropdown--mega {
    flex-direction: column;
    min-width: 100%;
  }
  .dropdown-col,
  .dropdown-mega__col { border-right: none; border-bottom: 1px solid var(--border); }
  .dropdown-mega__col:last-child { border-bottom: none; }
}

/* ============================================================
   SEJA UM PATROCINADOR / EXPOSITOR / PARCEIRO
   ============================================================ */

/* Layout intro: imagem + texto lado a lado */
.sponsor-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}
.sponsor-intro__img {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
  background: #e8edf2;
}
.sponsor-intro__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}
.sponsor-intro__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sponsor-intro__text p { color: var(--text); line-height: 1.8; }
.sponsor-intro__text strong { color: var(--navy); }

/* Benefícios */
.sponsor-benefits {
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-bottom: 3.5rem;
}
.sponsor-benefits h2 {
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 1.75rem;
  text-align: center;
}
.sponsor-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.sponsor-benefit-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  border: 1px solid var(--border);
}
.sponsor-benefit-item__icon { font-size: 2rem; margin-bottom: .75rem; }
.sponsor-benefit-item h3 { color: var(--navy); font-size: .95rem; margin-bottom: .5rem; }
.sponsor-benefit-item p  { color: var(--text-light); font-size: .85rem; line-height: 1.5; }

/* Formulário */
.sponsor-form-wrap {
  max-width: 720px;
}
.sponsor-form-wrap h2 {
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: .5rem;
}
.sponsor-form { margin-top: 0; }

/* Responsivo */
@media (max-width: 768px) {
  .sponsor-intro          { grid-template-columns: 1fr; }
  .sponsor-intro__img     { min-height: 220px; }
  .sponsor-benefits__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .sponsor-benefits__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PÁGINAS INSTITUCIONAIS — page-content-body
   ============================================================ */
.page-lead {
  font-size: 1.1rem; color: var(--text-light); line-height: 1.7;
  margin-bottom: 2rem; border-bottom: 1px solid var(--border); padding-bottom: 1.5rem;
}
.page-content-body { line-height: 1.8; color: var(--text); }
.page-content-body h2 { font-family: var(--font-head); color: var(--navy); font-size: 1.4rem; margin: 2rem 0 .75rem; }
.page-content-body h3 { color: var(--navy); font-size: 1.1rem; margin: 1.5rem 0 .6rem; }
.page-content-body h4 { color: var(--navy); font-size: .95rem; margin: 1.25rem 0 .4rem; }
.page-content-body p  { margin-bottom: 1rem; }
.page-content-body ul, .page-content-body ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.page-content-body li { margin-bottom: .4rem; }
.page-content-body blockquote { border-left: 4px solid var(--gold); padding: .75rem 1.25rem; margin: 1.5rem 0; background: #fffbf0; font-style: italic; color: #5a4500; border-radius: 0 var(--radius) var(--radius) 0; }
.page-content-body a:not(.btn) { color: var(--navy); text-decoration: underline; }
.page-content-body a:not(.btn):hover { color: var(--gold); }
/* Botões dentro do conteúdo de páginas — cor branca sempre */
.page-content-body .btn { text-decoration: none; }
.page-content-body .btn--primary { color: #fff !important; }
.page-content-body .btn--primary:hover { color: #fff !important; }
.page-content-body .btn--outline { color: var(--navy) !important; text-decoration: none; }
.page-content-body .btn--outline:hover { color: var(--navy) !important; }
.page-content-body .btn--sm { text-decoration: none; }
.page-content-body img { max-width: 100%; border-radius: var(--radius); margin: 1rem 0; }
.page-content-body table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.page-content-body th { background: var(--navy); color: #fff; padding: .6rem 1rem; text-align: left; font-size: .85rem; }
.page-content-body td { padding: .6rem 1rem; border-bottom: 1px solid var(--border); font-size: .9rem; }
.page-content-body tr:nth-child(even) td { background: var(--gray-bg); }

/* ============================================================
   PROJETOS
   ============================================================ */
.projects-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}
.projects-intro__img {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  background: #e8edf5;
}
.projects-intro__img img {
  width: 100%; height: 100%;
  object-fit: cover; min-height: 280px;
}
.projects-intro__text h2 { color: var(--navy); font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 1rem; }
.projects-intro__text p  { color: var(--text); line-height: 1.8; margin-bottom: 1rem; }

/* Grid de projetos */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

/* Card de projeto */
.project-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

/* Imagem do card */
.project-card__img {
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-bg);
}
.project-card__img img { width: 100%; height: 100%; object-fit: cover; }
.project-card__img--gold  { background: var(--gold); }
.project-card__img--navy  { background: var(--navy); }
.project-card__img--teal  { background: var(--teal); }
.project-card__img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: #f0f4f8;
}

/* Body do card */
.project-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.project-card__type {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--gold);
}
.project-card__title { font-size: .95rem; font-weight: 700; color: var(--navy); line-height: 1.4; }
.project-card__title a { color: inherit; }
.project-card__title a:hover { color: var(--gold); }
.project-card__excerpt { font-size: .85rem; color: var(--text-light); line-height: 1.55; flex: 1; }
.project-card__link {
  font-size: .82rem; font-weight: 700; color: var(--navy);
  margin-top: auto; display: inline-flex; align-items: center; gap: .25rem;
}
.project-card__link:hover { color: var(--gold); }

/* Responsivo */
@media (max-width: 900px) {
  .projects-grid   { grid-template-columns: repeat(2, 1fr); }
  .projects-intro  { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .projects-grid { grid-template-columns: 1fr; }
}

/* Links de navegação — nunca herdam cor azul de .page-content-body */
.nav-main a,
.nav-main a:hover,
.dropdown a,
.dropdown a:hover,
.dropdown-col a,
.dropdown-col a:hover,
.dropdown-mega__col a,
.dropdown-mega__col a:hover { text-decoration: none !important; }
.nav-main a:hover { color: var(--navy) !important; }
.dropdown a:hover,
.dropdown-col a:hover,
.dropdown-mega__col a:hover { color: var(--navy) !important; background: var(--gray-bg); }

/* ============================================================
   FIX FINAL — Links de navegação nunca ficam azuis
   Alta especificidade para sobrescrever qualquer herança
   ============================================================ */
header .nav-main a,
header .nav-main a:link,
header .nav-main a:visited,
header .nav-main a:hover,
header .nav-main a:active,
.header-main .dropdown a,
.header-main .dropdown a:link,
.header-main .dropdown a:visited,
.header-main .dropdown a:hover,
.header-main .dropdown-col a,
.header-main .dropdown-col a:hover,
.header-main .dropdown-mega__col a,
.header-main .dropdown-mega__col a:hover {
  text-decoration: none !important;
  color: var(--text) !important;
}
.header-main .dropdown a:hover,
.header-main .dropdown-col a:hover,
.header-main .dropdown-mega__col a:hover {
  color: var(--navy) !important;
  background: var(--gray-bg);
}
.nav-main__item > a,
.nav-main__item > a:link,
.nav-main__item > a:visited,
.nav-main__item > a:hover {
  text-decoration: none !important;
  color: var(--navy) !important;
}

/* ============================================================
   NAV LINKS — Regra definitiva usando .site-header
   ============================================================ */
.site-header a {
  text-decoration: none;
}
.site-header .nav-main a,
.site-header .dropdown a,
.site-header .dropdown-col a,
.site-header .dropdown-mega__col a {
  color: var(--text) !important;
  text-decoration: none !important;
}
.site-header .nav-main__item > a {
  color: var(--navy) !important;
}
.site-header .dropdown a:hover,
.site-header .dropdown-col a:hover,
.site-header .dropdown-mega__col a:hover {
  color: var(--navy) !important;
  background: var(--gray-bg) !important;
  text-decoration: none !important;
}
.site-header .nav-main__item > a:hover {
  color: var(--navy) !important;
  background: var(--gray-bg) !important;
}

/* ============================================================
   BOTÕES DENTRO DE page-content-body — FIX DEFINITIVO
   ============================================================ */
.page-content-body .btn--outline,
.page-content-body .btn--outline:link,
.page-content-body .btn--outline:visited,
.page-content-body .btn--outline:hover,
.page-content-body .btn--outline:active {
  color: var(--navy) !important;
  text-decoration: none !important;
  background: transparent !important;
}
.page-content-body .btn--primary,
.page-content-body .btn--primary:link,
.page-content-body .btn--primary:visited,
.page-content-body .btn--primary:hover,
.page-content-body .btn--primary:active {
  color: #ffffff !important;
  text-decoration: none !important;
}
.page-content-body .btn--gold,
.page-content-body .btn--gold:link,
.page-content-body .btn--gold:visited,
.page-content-body .btn--gold:hover {
  color: #ffffff !important;
  text-decoration: none !important;
}
.page-content-body .btn--sm,
.page-content-body .btn--sm:link,
.page-content-body .btn--sm:visited,
.page-content-body .btn--sm:hover {
  text-decoration: none !important;
}
/* Qualquer .btn dentro de páginas */
.page-content-body a.btn {
  text-decoration: none !important;
}
.page-content-body a.btn--outline { color: var(--navy) !important; }
.page-content-body a.btn--primary { color: #fff !important; }


/* ============================================================
   FALE CONOSCO — REDESIGN
   ============================================================ */
.contact-section { background: #f7f7f5; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: start;
}

/* Títulos das colunas */
.contact-col-title {
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: .5rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.contact-col-sub {
  color: var(--text-light);
  font-size: .9rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

/* FORMULÁRIO */
.contact-form-col {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }

.cf-group { display: flex; flex-direction: column; gap: .35rem; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cf-label { font-size: .82rem; font-weight: 700; color: var(--navy); }
.cf-req { color: #e53e3e; }
.cf-input {
  padding: .65rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: .9rem;
  font-family: inherit;
  color: var(--text);
  background: #fafaf9;
  transition: border-color .15s, box-shadow .15s;
}
.cf-input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,45,90,.08);
  background: #fff;
}
select.cf-input { cursor: pointer; }
.cf-textarea { resize: vertical; min-height: 120px; }

/* Captcha */
.cf-captcha {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: #f0f4f8;
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid #e2e8f0;
}
.cf-captcha__box { display: flex; flex-direction: column; gap: .2rem; }
.cf-captcha__label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); }
.cf-captcha__question {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: .5rem 1rem;
  font-size: 1rem;
  color: var(--navy);
  white-space: nowrap;
}
.cf-captcha__question strong { font-size: 1.15rem; color: var(--gold); }
.cf-captcha__input { width: 90px !important; text-align: center; font-size: 1.1rem !important; font-weight: 700; }
.cf-captcha__hint { font-size: .75rem; color: var(--text-light); flex-basis: 100%; margin-top: -.25rem; }

/* Botão de envio */
.cf-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 2rem;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .1s;
  width: 100%;
}
.cf-submit:hover { background: #253f7a; transform: translateY(-1px); }
.cf-submit:active { transform: translateY(0); }

/* COLUNA INFO */
.contact-info-col { display: flex; flex-direction: column; gap: 1.25rem; }

.ci-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ci-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: .85rem 0;
  border-bottom: 1px solid #f0f0ec;
}
.ci-item:last-child { border-bottom: none; }
.ci-item__icon {
  width: 38px;
  height: 38px;
  background: rgba(26,45,90,.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
}
.ci-item__body { flex: 1; }
.ci-item__body strong {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-light);
  margin-bottom: .25rem;
}
.ci-item__body p { margin: 0; font-size: .9rem; color: var(--text); line-height: 1.55; }
.ci-item__body a { color: var(--navy); font-weight: 600; }
.ci-item__body a:hover { color: var(--gold); }

/* Sociais */
.ci-socials { background: #fff; border-radius: 12px; padding: 1.25rem 1.5rem; box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.ci-socials strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); margin-bottom: .75rem; }
.ci-socials__links { display: flex; flex-direction: column; gap: .5rem; }
.ci-social-btn {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem .85rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  transition: .15s;
}
.ci-social-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Mapa */
.ci-map { border-radius: 12px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.ci-map iframe { display: block; width: 100%; min-height: 240px; background: #eef5f7; }
.ci-map-link { margin-top: .75rem; width: 100%; justify-content: center; }

/* Sucesso */
.contact-success {
  text-align: center;
  padding: 4rem 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  max-width: 560px;
  margin: 0 auto;
}
.contact-success__icon { font-size: 3rem; margin-bottom: 1rem; }
.contact-success h2 { color: var(--navy); margin-bottom: .75rem; }
.contact-success p { color: var(--text-light); line-height: 1.7; }

/* Responsivo */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-col { order: -1; }
  .ci-socials__links { flex-direction: row; }
}
@media (max-width: 480px) {
  .cf-row { grid-template-columns: 1fr; }
  .contact-form-col { padding: 1.25rem; }
}

/* Campo com erro */
.cf-input--error {
  border-color: #e53e3e !important;
  background: #fff5f5 !important;
  box-shadow: 0 0 0 3px rgba(229,62,62,.1) !important;
}

/* ============================================================
   SEJA UM EXPOSITOR / PATROCINADOR
   ============================================================ */
.expositor-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

/* Eventos */
.expo-events { display: flex; flex-direction: column; gap: .75rem; margin: 1.25rem 0; }
.expo-event-item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #f8f8f5; border-radius: 8px; padding: 1rem;
  border-left: 4px solid var(--gold);
}
.expo-event-icon { font-size: 1.5rem; flex-shrink: 0; }
.expo-event-item strong { display: block; color: var(--navy); margin-bottom: .2rem; }
.expo-event-item p { margin: 0; font-size: .85rem; color: var(--text-light); }

/* Números */
.expo-numeros {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1rem; margin: 1.5rem 0;
}
.expo-num {
  background: var(--navy); color: #fff;
  border-radius: 10px; padding: 1.25rem; text-align: center;
}
.expo-num strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--gold); }
.expo-num span { font-size: .78rem; opacity: .85; }

/* Seção do formulário dentro da página */
.expositor-form-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border);
}
.expositor-form-section h2 {
  color: var(--navy); font-size: 1.3rem; margin-bottom: .5rem;
}
.expositor-form-section > p {
  color: var(--text-light); margin-bottom: 1.5rem; font-size: .9rem;
}

/* Sidebar */
.expositor-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar-card {
  background: #fff; border-radius: 10px; padding: 1.25rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.sidebar-card h3 { color: var(--navy); font-size: .95rem; margin-bottom: .75rem; padding-bottom: .5rem; border-bottom: 2px solid var(--gold); }
.sidebar-card--navy { background: var(--navy); color: #fff; }
.sidebar-card--navy h3 { color: #fff; border-color: var(--gold); }
.sidebar-card--navy p { font-size: .88rem; margin-bottom: .35rem; color: rgba(255,255,255,.85); }
.sidebar-card--navy a { color: var(--gold); font-weight: 700; }
.sidebar-list { padding: 0; list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.sidebar-list li { font-size: .85rem; color: var(--text); }
.sidebar-link {
  display: block; padding: .55rem .75rem; border: 1px solid var(--border);
  border-radius: 6px; font-size: .85rem; font-weight: 600; color: var(--navy);
  margin-bottom: .4rem; transition: .15s;
}
.sidebar-link:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

@media (max-width: 768px) {
  .expositor-layout { grid-template-columns: 1fr; }
  .expo-numeros { grid-template-columns: 1fr 1fr; }
  .expositor-sidebar { order: -1; }
}
@media (max-width: 480px) {
  .expo-numeros { grid-template-columns: 1fr; }
}


/* ============================================================
   DOMUS — ajustes visuais e responsividade mobile-first
   ============================================================ */
body { background:#fff; }
.header-top { background: linear-gradient(135deg, #004865 0%, #006b86 100%); }
.header-top__camaras { gap: 1rem; flex-wrap: wrap; }
.header-top__camaras a { font-weight: 500; }
.header-top__actions .btn { border-radius: 999px; }
.header-main__inner { height: 78px; }
.logo img { max-width: 190px !important; max-height: 58px; }
.nav-main__item > a,
.nav-main__item.nav-main__item--dropdown > a,
.nav-main > a.nav-main__item { border-radius:999px; }

.hero { background: linear-gradient(135deg, #004865 0%, #006b86 100%); }
.hero__slider { min-height: 480px; }
.hero__slide { background: transparent; }
.hero__img, .hero__img--placeholder { min-height: 480px; }
.hero__img--placeholder { background: radial-gradient(circle at 18% 25%, rgba(255,255,255,.18), transparent 32%), linear-gradient(135deg,#004865,#007494); }
.hero__content { background: transparent; color:#fff; padding: 4rem 3rem; }
.hero__label { color:#d9f8ff; }
.hero__title { color:#fff; font-size: clamp(2rem, 4vw, 4.2rem); font-weight:800; letter-spacing:-.04em; }
.hero__desc { color: rgba(255,255,255,.88); font-size:1rem; }
.hero__link { color:#fff; background:#fff; color:#004865; border-radius:999px; padding:.75rem 1.35rem; display:inline-flex; width:max-content; }
.hero__btn { color:#004865; }
.hero__btn--next { right:.75rem; }

.domus-hero { background: radial-gradient(circle at 10% 20%, rgba(255,255,255,.16), transparent 24%), linear-gradient(135deg,#004865 0%,#006e8d 100%); color:#fff; padding:clamp(3.5rem,7vw,7rem) 0; position:relative; overflow:hidden; }
.domus-hero::after { content:''; position:absolute; width:420px; height:420px; right:-160px; bottom:-170px; background:rgba(255,255,255,.10); border-radius:50%; }
.domus-hero__inner { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr); gap:2rem; align-items:center; position:relative; z-index:1; }
.domus-eyebrow { text-transform:uppercase; letter-spacing:.18em; font-weight:700; font-size:.78rem; opacity:.9; }
.domus-hero h1 { font-size:clamp(2.2rem,5vw,5rem); line-height:1; letter-spacing:-.06em; margin:.8rem 0 1rem; font-weight:800; }
.domus-hero p { color:rgba(255,255,255,.88); font-size:1.05rem; max-width:640px; }
.domus-hero__actions { display:flex; gap:.75rem; flex-wrap:wrap; margin-top:1.7rem; }
.domus-hero__card { background:rgba(255,255,255,.95); color:var(--navy); border-radius:28px; padding:2rem; box-shadow:0 24px 80px rgba(0,0,0,.22); }
.domus-hero__card img { width:220px; margin:0 auto 1.25rem; }
.domus-hero__card ul { display:grid; gap:.75rem; }
.domus-hero__card li { display:flex; gap:.55rem; align-items:flex-start; font-weight:600; color:#174555; }
.domus-hero__card li::before { content:'✓'; color:var(--gold); font-weight:800; }

.domus-pill { display:inline-flex; align-items:center; gap:.5rem; background:#fff; color:var(--navy); border-radius:999px; padding:.7rem 1.2rem; font-weight:800; box-shadow:var(--shadow); }
.domus-service { border:1px solid var(--border); border-radius:22px; padding:1.5rem; background:#fff; box-shadow:var(--shadow); height:100%; transition:.18s ease; }
.domus-service:hover { transform:translateY(-4px); box-shadow:0 16px 42px rgba(0,80,107,.16); }
.domus-service__icon { width:56px; height:56px; border-radius:18px; background:linear-gradient(135deg,#e8f7fb,#fff); color:var(--navy); display:grid; place-items:center; font-size:1.7rem; margin-bottom:1rem; }
.domus-service h3 { color:var(--navy); font-size:1.05rem; margin-bottom:.5rem; }
.domus-stats { background:#f4f7f8; }
.domus-stats__grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; }
.domus-stat { background:#fff; border-radius:22px; padding:1.4rem; text-align:center; box-shadow:var(--shadow); }
.domus-stat strong { display:block; color:var(--navy); font-size:clamp(1.5rem,3vw,2.4rem); line-height:1; }
.domus-stat span { color:var(--text-light); font-weight:600; font-size:.9rem; }
.domus-cta { background:linear-gradient(135deg,#004865,#007494); color:#fff; border-radius:32px; padding:clamp(2rem,5vw,4rem); display:grid; gap:1rem; align-items:center; grid-template-columns:1fr auto; }
.domus-cta h2 { font-size:clamp(1.8rem,3vw,3rem); line-height:1; letter-spacing:-.04em; }
.domus-cta p { opacity:.9; max-width:660px; }
.page-header { background:linear-gradient(135deg,#004865,#006e8d); color:#fff; padding:3rem 0; }
.page-header h1 { color:#fff; font-weight:800; letter-spacing:-.03em; }
.newsletter-bar, .associar, .footer, #pwa-install-bar { background:linear-gradient(135deg,#004865,#006e8d) !important; }
.footer__tagline { max-width:290px; }
.footer__logo-text { color:#fff; font-weight:800; font-size:1.2rem; }
.btn--primary { background:var(--navy); border-radius:999px; }
.btn--primary:hover { background:var(--navy-dark); }
.btn--white { border-radius:999px; }
.btn--gold { background:var(--gold); border-radius:999px; }
.section-title { font-weight:800; letter-spacing:-.03em; }
.card { border-radius:22px; overflow:hidden; }
.card__img-wrap img { aspect-ratio:16/10; object-fit:cover; width:100%; }
.post-content { font-size:1.03rem; }
.post-content h2, .post-content h3 { color:var(--navy); margin-top:1.4rem; margin-bottom:.6rem; }
.post-content p { margin-bottom:1rem; }

@media (max-width: 980px) {
  .domus-hero__inner { grid-template-columns:1fr; }
  .domus-hero__card { max-width:520px; }
  .domus-stats__grid { grid-template-columns:repeat(2,1fr); }
  .domus-cta { grid-template-columns:1fr; }
  .header-top__camaras { display:none; }
}
@media (max-width: 768px) {
  .header-main__inner { height:70px; }
  .logo img { max-width:150px !important; }
  .nav-main.open { background:#fff; padding:1rem; }
  .domus-hero { padding:3rem 0; }
  .domus-hero__card { padding:1.4rem; border-radius:22px; }
  .domus-stats__grid { grid-template-columns:1fr; }
  .cards-grid--4, .cards-grid--3 { grid-template-columns:1fr !important; }
  .newsletter-bar__inner { align-items:stretch; }
  .newsletter-bar__form { grid-template-columns:1fr; }
}

/* ============================================================
   DOMUS — Depoimentos: página pública
   Escopo restrito às classes da página /depoimentos
   ============================================================ */
.page-header--testimonials p {
  max-width: 760px;
  color: rgba(255,255,255,.88);
  margin-top: .65rem;
}

.testimonials-page {
  background: #f4f8fa;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.testimonials-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 1.5rem;
  align-items: start;
}

.testimonials-list-block,
.testimonial-submit-card {
  background: #fff;
  border: 1px solid rgba(0,80,107,.12);
  border-radius: 24px;
  box-shadow: 0 14px 38px rgba(0,80,107,.08);
}

.testimonials-list-block {
  padding: clamp(1.15rem, 2.6vw, 1.75rem);
}

.testimonials-section-head {
  display: grid;
  gap: .35rem;
  margin-bottom: 1.25rem;
}

.testimonials-section-head__label {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .28rem .75rem;
  background: rgba(10,163,199,.12);
  color: var(--navy);
  font-weight: 800;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.testimonials-section-head h2 {
  color: var(--navy);
  font-size: clamp(1.45rem, 2.7vw, 2rem);
  line-height: 1.1;
  letter-spacing: -.035em;
  margin: 0;
}

.testimonials-section-head p {
  color: var(--text-light);
  margin: 0;
  max-width: 720px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: .95rem;
  min-height: 220px;
  padding: 1.15rem;
  background: linear-gradient(180deg, #ffffff 0%, #fafdff 100%);
  border: 1px solid rgba(0,80,107,.12);
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(0,80,107,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,80,107,.11);
  border-color: rgba(10,163,199,.28);
}

.testimonial-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.testimonial-card__quote {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(0,80,107,.08);
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 2rem;
  line-height: 1;
  padding-top: .25rem;
}

.testimonial-card__rating {
  display: inline-flex;
  align-items: center;
  gap: .08rem;
  color: #f2a900;
  font-size: .9rem;
  letter-spacing: .03em;
  white-space: nowrap;
}

.testimonial-card__rating span {
  color: #d7e1e5;
}

.testimonial-card__text {
  color: #243f4a;
  font-size: .95rem;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: .85rem;
  border-top: 1px solid rgba(0,80,107,.10);
}

.testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--navy), var(--gold));
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
}

.testimonial-card__author strong {
  display: block;
  color: var(--navy);
  line-height: 1.25;
}

.testimonial-card__author small {
  display: block;
  color: var(--text-light);
  font-size: .8rem;
  line-height: 1.35;
  margin-top: .12rem;
}

.testimonial-empty-state {
  padding: 1.5rem;
  border-radius: 18px;
  background: #f5fbfd;
  border: 1px dashed rgba(0,80,107,.22);
  color: var(--text-light);
}

.testimonial-empty-state strong {
  display: block;
  color: var(--navy);
  margin-bottom: .25rem;
}

.testimonial-empty-state p {
  margin: 0;
}

.testimonial-submit-card {
  position: sticky;
  top: 92px;
  padding: clamp(1rem, 2.2vw, 1.4rem);
}

.testimonial-submit-card__intro {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1rem;
}

.testimonial-submit-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 16px;
  background: rgba(10,163,199,.13);
  color: var(--navy);
  font-size: 1.05rem;
}

.testimonial-submit-card h2 {
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin: 0 0 .15rem;
}

.testimonial-submit-card p {
  color: var(--text-light);
  font-size: .9rem;
  line-height: 1.45;
  margin: 0;
}

.testimonial-form {
  display: grid;
  gap: .95rem;
}

.honeypot-field {
  display: none !important;
}

.testimonial-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
}

.testimonial-form .form-group {
  display: grid;
  gap: .35rem;
}

.testimonial-form label {
  color: var(--navy);
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.25;
}

.testimonial-form label span {
  color: #c85242;
}

.testimonial-form input[type="text"],
.testimonial-form select,
.testimonial-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(0,80,107,.18);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: .92rem;
  padding: .72rem .85rem;
  box-shadow: 0 1px 0 rgba(0,80,107,.04);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.testimonial-form textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.55;
}

.testimonial-form input::placeholder,
.testimonial-form textarea::placeholder {
  color: #8aa0a8;
}

.testimonial-form input[type="text"]:focus,
.testimonial-form select:focus,
.testimonial-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(10,163,199,.13);
}

.consent-box {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .85rem;
  border-radius: 16px;
  background: #f3fbfd;
  border: 1px solid rgba(10,163,199,.20);
  color: #39535e;
  font-size: .86rem;
  line-height: 1.5;
}

.consent-box input {
  width: 18px;
  height: 18px;
  margin-top: .15rem;
  flex: 0 0 auto;
  accent-color: var(--navy);
}

.testimonial-form__actions {
  display: grid;
  gap: .6rem;
}

.testimonial-form__actions .btn {
  width: 100%;
  min-height: 46px;
  justify-content: center;
}

.testimonial-form__actions small {
  color: var(--text-light);
  font-size: .8rem;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 1080px) {
  .testimonials-layout {
    grid-template-columns: 1fr;
  }
  .testimonial-submit-card {
    position: static;
    max-width: 760px;
    margin: 0 auto;
    width: 100%;
  }
  .testimonial-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .testimonial-form .form-group--full {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .testimonials-list-block,
  .testimonial-submit-card {
    border-radius: 20px;
  }
  .testimonials-grid,
  .testimonial-form__grid {
    grid-template-columns: 1fr;
  }
  .testimonial-submit-card__intro {
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .testimonials-page .container {
    padding-left: .85rem;
    padding-right: .85rem;
  }
  .testimonials-list-block,
  .testimonial-submit-card,
  .testimonial-card {
    border-radius: 18px;
  }
}


/* ============================================================
   DOMUS — Menu novo e páginas institucionais elegantes
   ============================================================ */
.dropdown--therapy { min-width: 260px; padding: .65rem; }
.dropdown--therapy a { border-radius: 10px; font-weight: 600; padding: .72rem .95rem; }
.site-header .nav-main__item > a.active { background: rgba(0,80,107,.08); color: var(--navy) !important; }

.page-show-container { max-width: 1120px; }
.domus-page { color: var(--text); }
.domus-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(135deg, #00506b 0%, #087b96 58%, #11a8c9 100%);
  color: #fff;
  box-shadow: 0 22px 60px rgba(0,80,107,.20);
  margin-bottom: 2rem;
}
.domus-hero-card::after {
  content: '';
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255,255,255,.11);
}
.domus-hero-card > * { position: relative; z-index: 1; }
.domus-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.domus-hero-card h2 {
  color: #fff !important;
  font-size: clamp(1.8rem, 4vw, 3.2rem) !important;
  line-height: 1.05 !important;
  margin: 0 0 1rem !important;
}
.domus-hero-card p { color: rgba(255,255,255,.92); max-width: 760px; font-size: 1.08rem; }
.domus-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.domus-actions .btn { border-radius: 999px; font-weight: 800; }
.domus-actions .btn--outline-light {
  border: 1px solid rgba(255,255,255,.5);
  color: #fff !important;
  background: rgba(255,255,255,.08);
}
.domus-actions .btn--outline-light:hover { background: #fff; color: var(--navy) !important; }

.domus-section { margin: 2rem 0; }
.domus-section-title { max-width: 760px; margin-bottom: 1.2rem; }
.domus-section-title h2 { margin-bottom: .4rem !important; }
.domus-section-title p { color: var(--text-light); }
.domus-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 1.25rem 0;
}
.domus-card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.domus-card {
  background: #fff;
  border: 1px solid rgba(0,80,107,.10);
  border-radius: 22px;
  padding: 1.35rem;
  box-shadow: 0 14px 36px rgba(0,80,107,.08);
  height: 100%;
}
.domus-card h3, .domus-card h4 { margin-top: 0 !important; color: var(--navy) !important; }
.domus-card p:last-child { margin-bottom: 0; }
.domus-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(17,168,201,.12);
  color: var(--navy);
  font-weight: 900;
  margin-bottom: .8rem;
}
.domus-list-clean { list-style: none; padding-left: 0 !important; }
.domus-list-clean li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: .65rem !important;
}
.domus-list-clean li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: .02rem;
  width: 1.1rem;
  height: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(17,168,201,.14);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 900;
}
.domus-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 1.4rem;
  align-items: stretch;
}
.domus-note {
  border-radius: 22px;
  padding: 1.4rem;
  background: linear-gradient(135deg, rgba(0,80,107,.08), rgba(17,168,201,.12));
  border: 1px solid rgba(0,80,107,.10);
}
.domus-steps {
  counter-reset: step;
  display: grid;
  gap: .8rem;
  padding: 0 !important;
  list-style: none !important;
}
.domus-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: .85rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid rgba(0,80,107,.10);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0,80,107,.06);
}
.domus-steps li::before {
  content: counter(step, decimal-leading-zero);
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.domus-cta-box {
  margin-top: 2rem;
  border-radius: 26px;
  padding: clamp(1.5rem, 4vw, 2.3rem);
  background: #f5fbfd;
  border: 1px solid rgba(0,80,107,.12);
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.domus-cta-box h3 { margin: 0 0 .25rem !important; }
.domus-cta-box p { margin: 0; color: var(--text-light); }

@media (max-width: 1180px) {
  .header-top__camaras { display: none; }
  .nav-main {
    display: none; position: fixed; inset: 0; top: 108px;
    background: #fff; flex-direction: column; align-items: stretch;
    overflow-y: auto; padding: 1rem; gap: 0; z-index: 98;
    border-top: 1px solid var(--border);
  }
  .nav-main.open { display: flex; }
  .nav-main__item > a { padding: .85rem 1rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-main__item--dropdown > a::after { margin-left: auto; }
  .dropdown { position: static; box-shadow: none; border: none; background: var(--gray-bg); display: none; padding: 0; min-width: 100%; }
  .nav-main__item--dropdown.open .dropdown { display: block; }
  .dropdown a { padding-left: 2rem; }
  .nav-toggle { display: flex; margin-left: auto; }
}
@media (max-width: 900px) {
  .domus-card-grid, .domus-card-grid--2, .domus-split { grid-template-columns: 1fr; }
  .domus-cta-box { flex-direction: column; align-items: flex-start; }
}
