﻿/* ============================================
   LOUREIRO ADVOGADOS - Estilos de Pagina
   UI/UX Design System v2.0
   ============================================ */

@import url('design-system.css');

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-gray-200);
  transition: all 0.3s ease;
  height: var(--header-height);
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  height: var(--header-height-scrolled);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  transition: height 0.3s ease;
}

.header.scrolled .header__inner {
  height: var(--header-height-scrolled);
}

.header__logo img {
  height: 50px;
  width: auto;
  transition: height 0.3s ease;
}

.header.scrolled .header__logo img {
  height: 42px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header__nav a {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-gray-700);
  letter-spacing: 0.3px;
  position: relative;
  padding: var(--space-xs) 0;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--color-navy);
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

.header__cta {
  margin-left: var(--space-md);
}

.header__cta .btn {
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  color: #fff;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-navy);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}

/* ============================================
   HERO (Home Page) - Imagem de Fundo
   ============================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(10, 31, 51, 0.92) 0%, rgba(18, 38, 59, 0.88) 100%),
              url('/assets/images/consultoria.jpg') center/cover no-repeat;
  overflow: hidden;
  margin-top: var(--header-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(176, 141, 87, 0.1) 100%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--color-white), transparent);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero__content .section-label {
  color: var(--color-gold-light);
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-hero);
}

.hero p {
  color: var(--color-gray-300);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xl);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__decor {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  height: 380px;
  border: 1px solid rgba(176, 141, 87, 0.2);
  border-radius: 50%;
}

.hero__decor::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  bottom: 30px;
  border: 1px solid rgba(176, 141, 87, 0.1);
  border-radius: 50%;
}

.hero__decor-line {
  position: absolute;
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  right: 15%;
  top: 35%;
}

/* ============================================
   PAGE HERO (Paginas Internas)
   ============================================ */
.page-hero,
.page-header {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--color-navy-deep) 0%, var(--color-navy) 100%);
  text-align: center;
  position: relative;
}

.page-hero::after,
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 2px;
}

.page-hero h1,
.page-header h1 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.page-hero p,
.page-header p {
  color: var(--color-gray-300);
  max-width: 550px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  font-size: var(--font-size-sm);
}

.breadcrumb a {
  color: var(--color-gray-400);
}

.breadcrumb a:hover {
  color: var(--color-gold);
}

.breadcrumb span {
  color: var(--color-gray-500);
}

.breadcrumb .current {
  color: var(--color-white);
}

/* ============================================
   STATS (Numeros)
   ============================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat__number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat__label {
  font-size: var(--font-size-sm);
  color: var(--color-gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ============================================
   TEAM CARD
   ============================================ */
.team-card {
  text-align: center;
}

.team-card__photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--space-lg);
  border: 3px solid var(--color-gray-200);
  transition: border-color 0.3s ease;
}

.team-card:hover .team-card__photo {
  border-color: var(--color-gold);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-xs);
}

.team-card__role {
  font-size: var(--font-size-sm);
  color: var(--color-gold);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-xs);
}

.team-card__oab {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  border: 1px solid var(--color-gray-200);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--color-gold);
  opacity: 0.2;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial p {
  font-style: italic;
  font-size: var(--font-size-base);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.testimonial__stars {
  margin-left: 15px;
}

.testimonial__author {
  font-weight: 600;
  color: var(--color-navy);
  font-size: var(--font-size-sm);
}

.testimonial__role {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* ============================================
   NEWS CARD
   ============================================ */
.news-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-200);
  padding: var(--space-lg);
  transition: all 0.3s ease;
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.news-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
}

.news-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gray-100);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  color: var(--color-gold);
}

.news-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-gold);
  stroke-width: 1.5;
  fill: none;
}

.news-card h3 {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  line-height: 1.4;
}

.news-card__date {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* ============================================
   CONTACT INFO CARD
   ============================================ */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-gray-50);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.contact-info-card svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-gold);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-card h4 {
  font-family: var(--font-sans);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.contact-info-card p {
  font-size: var(--font-size-base);
  margin: 0;
  color: var(--color-text-primary);
}

.contact-info__item--link {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: var(--radius-md);
}

.contact-info__item--link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--color-bg);
}

/* ============================================
   MAP
   ============================================ */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   PRIVACY CONTENT
   ============================================ */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h3 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-2xl);
}

.privacy-content p {
  margin-bottom: var(--space-md);
}

.privacy-content ul {
  margin-bottom: var(--space-md);
  padding-left: 1.5rem;
}

.privacy-content li {
  margin-bottom: var(--space-sm);
  color: var(--color-text-secondary);
  list-style: disc;
}

/* ============================================
   CTA SECTION (Padronizado)
   ============================================ */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(176, 141, 87, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  animation: whatsapp-pulse 2s ease-in-out infinite;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: white;
  position: relative;
  z-index: 1;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  padding: var(--space-lg) var(--space-xl);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  border-top: 3px solid var(--color-gold);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.cookie-banner p {
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--color-gray-600);
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.cookie-banner .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-navy-deep);
  color: var(--color-gray-300);
  padding-top: var(--space-3xl);
}

.footer h4 {
  color: var(--color-white);
  font-size: var(--font-size-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-lg);
}

.footer p {
  color: var(--color-gray-400);
  font-size: var(--font-size-sm);
  line-height: 1.7;
}

.footer a {
  color: var(--color-gray-400);
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--color-gold);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand {
  text-align: center;
}

.footer__brand img {
  height: 200px;
  width: auto;
  margin: 0 auto var(--space-lg);
  display: block;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-gold);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__contact-item--link {
  text-decoration: none;
  color: inherit;
  padding: var(--space-sm);
  margin: calc(var(--space-md) * -1) calc(var(--space-sm) * -1);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.footer__contact-item--link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.footer__links li {
  margin-bottom: 0.6rem;
}

.footer__links a {
  font-size: var(--font-size-sm);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  justify-content: center;
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--color-gray-400);
  transition: all 0.3s ease;
}

.footer__social a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-white);
}

.footer__banner {
  margin-bottom: var(--space-2xl);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
}

.footer__banner-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 200px;
  object-fit: contain;
  padding: var(--space-lg);
}

.footer__bottom {
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
}

.footer__bottom a {
  color: var(--color-gray-500);
}

.footer__bottom a:hover {
  color: var(--color-gold);
}

/* ============================================
   CARD NOTICIA (Estilo Customizado)
   ============================================ */
.noticia-featured__card {
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--color-white);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.noticia-featured__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10, 31, 51, 0.3);
}

.noticia-featured__badge {
  display: flex;
  align-items: center;
  padding: var(--space-lg);
  background: var(--color-gold);
  color: var(--color-navy);
  font-weight: 700;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.noticia-featured__content {
  flex: 1;
  padding: var(--space-2xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.noticia-featured__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-sm);
  color: var(--color-white-muted);
}

.noticia-featured__meta svg {
  stroke: var(--color-gold);
}

.noticia-featured__titulo {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  color: var(--color-white);
  line-height: 1.4;
}

.noticia-featured__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gold);
  font-weight: 600;
  margin-top: auto;
}

.noticia-featured__link svg {
  stroke: var(--color-gold);
  transition: transform 0.3s ease;
}

.noticia-featured__card:hover .noticia-featured__link svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .noticia-featured__card {
    flex-direction: column;
  }
  .noticia-featured__badge {
    writing-mode: horizontal-tb;
    padding: var(--space-sm) var(--space-lg);
  }
}

.card--noticia {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-xl);
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.card--noticia:hover {
  border-left-color: var(--color-gold);
}

.card__noticia-data {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.card__noticia-data svg {
  stroke: var(--color-gold);
}

.card__noticia-titulo {
  font-family: var(--font-serif);
  font-size: var(--font-size-xl);
  color: var(--color-navy);
  line-height: 1.4;
}

.card__noticia-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gold);
  font-weight: 600;
  font-size: var(--font-size-sm);
  margin-top: auto;
}

.card__noticia-link svg {
  stroke: var(--color-gold);
  transition: transform 0.3s ease;
}

.card--noticia:hover .card__noticia-link svg {
  transform: translateX(4px);
}

/* ============================================
   NEWS DETAIL
   ============================================ */
.page-header--news {
  padding-bottom: var(--space-2xl);
}

.page-header__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-white-muted);
  font-size: 0.875rem;
  text-decoration: none;
  margin-bottom: var(--space-lg);
  transition: color 0.2s ease;
}

.page-header__back:hover {
  color: var(--color-gold);
}

.page-header__back svg {
  stroke: currentColor;
}

.news-detail__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: var(--space-md);
}

.news-detail__meta {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.news-detail__author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-white-muted);
  font-size: 0.9rem;
}

.news-detail__author svg {
  stroke: var(--color-gold);
}

.news-detail__layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

.news-detail__featured {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}

.news-detail__image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.news-detail__resume {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.news-detail__resume p {
  font-weight: 500;
}

.news-detail__body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.news-detail__body p {
  margin-bottom: 1.25rem;
}

.news-detail__body p:last-child {
  margin-bottom: 0;
}

.news-detail__share {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.news-detail__share-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.news-detail__share-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-text-muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.news-detail__share-link:hover {
  background: var(--color-gold);
  color: var(--color-navy);
}

.news-detail__share-link svg {
  fill: currentColor;
}

/* Sidebar */
.news-detail__sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-detail__sidebar-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.news-detail__sidebar-box--cta {
  background: linear-gradient(135deg, var(--color-navy-dark), var(--color-navy));
  border: none;
  color: var(--color-white);
  text-align: center;
}

.news-detail__sidebar-box--cta p {
  color: var(--color-white-muted);
  margin-bottom: 1.25rem;
}

.news-detail__sidebar-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-gold);
}

.news-detail__sidebar-box--cta .news-detail__sidebar-title {
  color: var(--color-white);
  border-bottom-color: var(--color-gold);
}

.news-detail__sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-detail__sidebar-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: background 0.2s ease;
}

.news-detail__sidebar-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-detail__sidebar-item:first-child {
  padding-top: 0;
}

.news-detail__sidebar-item:hover .news-detail__sidebar-titulo {
  color: var(--color-gold);
}

.news-detail__sidebar-date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-detail__sidebar-titulo {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-navy);
  line-height: 1.4;
  transition: color 0.2s ease;
}

@media (max-width: 1024px) {
  .news-detail__layout {
    grid-template-columns: 1fr;
  }

  .news-detail__sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .news-detail__sidebar {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   TEAM CARDS
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.team-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.team-card__name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-navy);
}

.team-card__role {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
}

.team-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-top: 0.25rem;
}

.team-card__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.team-card__tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(176, 141, 87, 0.1);
  color: var(--color-gold);
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   VALUE CARDS (O que nos guia)
   ============================================ */
.card--value {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 2rem 1.5rem;
}

.card--value:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-gold);
}

.card--value .card__icon {
  margin: 0 auto 1rem;
}

.card--value .card__title {
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.card--value .card__desc {
  color: var(--color-white-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================
   AREAS PANEL
   ============================================ */
.areas-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.areas-panel__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.areas-panel__item:hover {
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.areas-panel__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.areas-panel__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.areas-panel__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
}

.areas-panel__subtitle {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.areas-panel__arrow {
  margin-left: auto;
  color: var(--color-gold);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
}

.areas-panel__item:hover .areas-panel__arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 640px) {
  .areas-panel {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 50%, #1a3a5c 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b08d57' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.newsletter__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.newsletter__text {
  flex: 1;
  max-width: 500px;
}

.newsletter__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
  background: rgba(176, 141, 87, 0.15);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.newsletter__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.newsletter__desc {
  color: var(--color-white-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.newsletter__form {
  flex: 1;
  max-width: 500px;
}

.newsletter__input-group {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.35rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.newsletter__input-group:focus-within {
  border-color: var(--color-gold);
  background: rgba(255, 255, 255, 0.12);
}

.newsletter__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-white);
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  min-width: 0;
}

.newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.newsletter__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-gold);
  color: var(--color-navy);
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s ease, transform 0.2s ease;
}

.newsletter__btn:hover {
  background: #c9a66b;
  transform: scale(1.03);
}

.newsletter__btn svg {
  stroke: var(--color-navy);
  transition: transform 0.3s ease;
}

.newsletter__btn:hover svg {
  transform: translateX(3px);
}

.newsletter__msg {
  display: block;
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4ade80;
  min-height: 1.2em;
}

.newsletter__form--success .newsletter__input-group {
  border-color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
}

@media (max-width: 768px) {
  .newsletter__content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .newsletter__text {
    max-width: none;
  }

  .newsletter__form {
    max-width: none;
    width: 100%;
  }

  .newsletter__input-group {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 0.5rem;
  }

  .newsletter__input {
    text-align: center;
    padding: 0.75rem;
  }

  .newsletter__btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem;
  }
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xl);
}

.alert--success {
  background: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid var(--color-success-border);
}

.alert--error {
  background: var(--color-error-bg);
  color: var(--color-error);
  border: 1px solid var(--color-error-border);
}

.alert ul {
  margin-top: var(--space-sm);
  padding-left: 1.5rem;
}

.alert li {
  list-style: disc;
}

/* ============================================
   FORM CUSTOM
   ============================================ */
.form__group {
  margin-bottom: var(--space-lg);
}

.form__label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: var(--space-sm);
}

.form__input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  color: var(--color-text-primary);
  background: var(--color-white);
  border: 1.5px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  outline: none;
}

.form__input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.15);
}

.form__input::placeholder {
  color: var(--color-gray-400);
}

/* ─── PHONE FIELD (DDI + TELEFONE) ─── */
.phone-row {
  display: flex;
  gap: 0;
  align-items: stretch;
}
.phone-row .phone-ddi {
  width: 90px;
  flex-shrink: 0;
  padding: 0.85rem 1.2rem 0.85rem 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-primary);
  background: var(--color-white);
  border: 1.5px solid var(--color-gray-300);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236C757D' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.3rem center;
  background-size: 12px;
  transition: all 0.3s ease;
}
.phone-row .phone-ddi:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.15);
}
.phone-row .phone-number {
  flex: 1;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.phone-number.error {
  border-color: #dc2626 !important;
}
.phone-number.valid {
  border-color: #16a34a !important;
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236C757D' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__decor { display: none; }
}

@media (max-width: 768px) {
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    box-shadow: var(--shadow-xl);
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .header__nav.open {
    right: 0;
  }

  .header__nav a {
    font-size: var(--font-size-base);
    padding: 0.85rem 0;
    width: 100%;
    border-bottom: 1px solid var(--color-gray-100);
  }

  .header__cta {
    margin-left: 0;
    margin-top: var(--space-lg);
    width: 100%;
  }

  .header__cta .btn {
    width: 100%;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 6rem 0 4rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .stats { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }

  .footer__grid { grid-template-columns: 1fr; gap: var(--space-xl); }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner__actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-banner__actions .btn {
    width: 100%;
  }

  .page-hero,
  .page-header { padding: 6rem 0 3rem; }

  .form__row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }
  .section { padding: var(--space-2xl) 0; }
  .card { padding: var(--space-lg); }
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item__question {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  color: var(--color-text);
  transition: color 0.3s ease;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::marker {
  display: none;
  content: '';
}

.faq-item__question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

details[open] .faq-item__question::after {
  transform: rotate(45deg);
}

details[open] .faq-item__question {
  color: var(--color-gold);
}

.faq-item__answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), padding-bottom 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

details[open] .faq-item__answer {
  max-height: none;
  opacity: 1;
}

details[open].faq-item {
  border-color: rgba(176, 141, 87, 0.45);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   Breadcrumbs
   ============================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
  color: var(--color-gold-light);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.breadcrumb span[aria-current] {
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Sticky CTA Mobile
   ============================================ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--color-gold);
  color: #fff;
  padding: 14px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sticky-cta:hover {
  background: var(--color-gold-dark, #b8960e);
  color: #fff;
}

@media (max-width: 768px) {
  .sticky-cta {
    display: flex;
  }

  .footer {
    padding-bottom: 70px;
  }
}
