/*
Theme Name: Bridge Creative
Theme URI: https://bridgecreative.com
Author: Bridge Creative
Author URI: https://bridgecreative.com
Description: Tema profissional para Bridge Creative — agência criativa com design moderno, tipografia Montserrat + Open Sans, e identidade visual em azul marinho e dourado.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bridge-creative
Tags: custom-header, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, blog, portfolio, business
*/

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --color-navy:       #2E4178;
  --color-navy-dark:  #1e2d55;
  --color-navy-light: #3d559e;
  --color-gold:       #B8962E;
  --color-gold-light: #d4ae50;
  --color-gold-pale:  #f5efd4;
  --color-bg:         #F5F6FA;
  --color-white:      #FFFFFF;
  --color-text:       #1a1f2e;
  --color-muted:      #6b7280;
  --color-border:     #e2e5f0;

  --font-display: 'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 4px rgba(46,65,120,0.08);
  --shadow-md: 0 4px 16px rgba(46,65,120,0.12);
  --shadow-lg: 0 8px 32px rgba(46,65,120,0.18);

  --transition: 0.25s ease;
  --max-width: 1200px;
  --gap: 2rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-gold); }

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: 5rem;
}

.section--bg {
  background: var(--color-bg);
}

.section--navy {
  background: var(--color-navy);
  color: var(--color-white);
}
.section--navy h1,
.section--navy h2,
.section--navy h3 {
  color: var(--color-white);
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--color-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

/* Gold divider — the signature element */
.gold-divider {
  display: block;
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
}
.btn-primary:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.btn-secondary:hover {
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-white);
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

#site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

/* Logo — compact, ~50% smaller footprint */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  height: 36px;   /* was 52px */
  width: auto;
}

.site-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-logo .logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;  /* was 1.4rem */
  color: var(--color-navy);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-logo .logo-tagline {
  font-family: var(--font-display);
  font-size: 0.58rem;  /* was 0.65rem */
  font-weight: 500;
  color: var(--color-gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Primary nav — more breathing room */
#primary-nav {
  flex: 1;               /* fills available space between logo and CTA */
  display: flex;
  justify-content: center;
}

#primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#primary-nav ul li a {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 0.5rem 1.1rem;   /* wider horizontal padding */
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}

#primary-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 1.1rem;
  right: 1.1rem;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: var(--radius-full);
}

#primary-nav ul li a:hover,
#primary-nav ul li.current-menu-item a {
  color: var(--color-navy);
}

#primary-nav ul li a:hover::after,
#primary-nav ul li.current-menu-item a::after {
  transform: scaleX(1);
}

.header-cta { flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.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); }

/* Mobile nav */
#mobile-nav {
  display: none;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 1.5rem;
}

#mobile-nav.open { display: block; }

#mobile-nav ul { display: flex; flex-direction: column; gap: 0.25rem; }

#mobile-nav ul li a {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

#mobile-nav ul li a:hover {
  background: var(--color-bg);
  color: var(--color-navy);
}

#mobile-nav .btn { width: 100%; justify-content: center; margin-top: 1rem; }

@media (max-width: 960px) {
  #primary-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--color-navy);
  overflow: hidden;
  padding-block: 7rem 6rem;
}

/* Geometric arch background — echoes the logo */
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 70vw;
  height: 130%;
  background: radial-gradient(ellipse at center, rgba(184,150,46,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light), var(--color-gold));
}

.hero-arch {
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.hero-arch svg {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 100%;
  height: 120%;
  opacity: 0.06;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-gold);
  border-radius: var(--radius-full);
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--color-gold);
}

.hero-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 600px) {
  .hero { padding-block: 4rem 3rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   SERVICES / CARDS
   ============================================================ */
.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--color-gold-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-gold);
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ============================================================
   ABOUT / SPLIT SECTION
   ============================================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.split-image::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 60%;
  height: 60%;
  border: 3px solid var(--color-gold);
  border-radius: var(--radius-md);
  pointer-events: none;
}

.split-content { padding-block: 1rem; }

.stats-row {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
}

.stat strong span { color: var(--color-gold); }

.stat small {
  font-size: 0.8rem;
  color: var(--color-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .split-section { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-section.reverse { direction: ltr; }
}

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

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg);
}

.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(46,65,120,0.92) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-info h4 { color: var(--color-white); margin-bottom: 0.25rem; font-size: 1rem; }
.portfolio-info span { color: var(--color-gold); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }

@media (max-width: 900px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-size: 4rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--color-gold-pale);
}

.testimonial-text {
  color: var(--color-text);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-info strong { display: block; font-family: var(--font-display); font-size: 0.9rem; color: var(--color-navy); }
.author-info span { font-size: 0.8rem; color: var(--color-muted); }

/* Stars */
.stars { display: flex; gap: 2px; margin-bottom: 0.75rem; }
.stars svg { width: 16px; height: 16px; fill: var(--color-gold); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--color-navy);
  position: relative;
  overflow: hidden;
  padding-block: 5rem;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(184,150,46,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(184,150,46,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner-content { position: relative; z-index: 1; }

.cta-banner h2 { color: var(--color-white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.72); margin-bottom: 2rem; font-size: 1.1rem; }
.cta-banner .btn-group { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--color-navy-dark);
  color: rgba(255,255,255,0.8);
}

.footer-top {
  padding-block: 4rem 3rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .site-logo .logo-name { color: var(--color-white); }

.footer-brand-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-block: 1.25rem;
  line-height: 1.7;
}

.social-links { display: flex; gap: 0.75rem; }

.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-menu li { margin-bottom: 0.5rem; }

.footer-menu li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-menu li a::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--color-gold);
  flex-shrink: 0;
  transition: width var(--transition);
}

.footer-menu li a:hover { color: var(--color-white); }
.footer-menu li a:hover::before { width: 20px; }

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.875rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.footer-contact-item .icon {
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); margin: 0; }
.footer-bottom a { color: var(--color-gold); }
.footer-bottom a:hover { color: var(--color-gold-light); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   WIDGETS
   ============================================================ */
.widget { margin-bottom: 2rem; }
.widget-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-gold);
  display: inline-block;
}

/* ============================================================
   WORDPRESS CORE
   ============================================================ */
.wp-block-button__link { border-radius: var(--radius-full) !important; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }

.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { margin-inline: auto; text-align: center; }

/* ============================================================
   FORMS
   ============================================================ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
textarea,
select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(46,65,120,0.1);
}

label { font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; color: var(--color-navy); display: block; margin-bottom: 0.4rem; }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  background: var(--color-navy);
  padding-block: 4rem 3rem;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
}

.page-header h1 { color: var(--color-white); }

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.75rem;
}

.breadcrumbs a { color: rgba(255,255,255,0.7); }
.breadcrumbs a:hover { color: var(--color-gold); }
.breadcrumbs .sep { color: rgba(255,255,255,0.3); }

/* ============================================================
   SKIP LINK / ACCESSIBILITY
   ============================================================ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  overflow: hidden;
  z-index: 9999;
}
.skip-link:focus {
  position: fixed;
  left: 1rem; top: 1rem;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============================================================
   LOGOS — header & footer (size controlled via Customizer)
   ============================================================ */
.site-header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-header-logo img,
.site-header-logo .custom-logo {
  height: 36px; /* default — overridden by dynamic CSS */
  width: auto;
  display: block;
  transition: opacity var(--transition);
}

.site-header-logo:hover img,
.site-header-logo:hover .custom-logo { opacity: 0.85; }

/* Text fallback */
.site-header-logo .logo-text  { display: flex; flex-direction: column; line-height: 1.1; }
.site-header-logo .logo-name  { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--color-navy); letter-spacing: .05em; text-transform: uppercase; }
.site-header-logo .logo-tagline { font-family: var(--font-display); font-size: .58rem; font-weight: 500; color: var(--color-gold); letter-spacing: .2em; text-transform: uppercase; }

.site-footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 1rem;
}

.site-footer-logo img,
.site-footer-logo .custom-logo {
  height: 44px; /* default — overridden by dynamic CSS */
  width: auto;
  display: block;
  transition: opacity var(--transition);
}

.site-footer-logo:hover img,
.site-footer-logo:hover .custom-logo { opacity: 0.8; }

/* ============================================================
   LINK COLORS — all links use gold (#B8962E)
   ============================================================ */
a {
  color: var(--color-gold);
}
a:hover {
  color: var(--color-gold-light);
}

/* Nav links keep their own dark color (gold underline only) */
#primary-nav ul li a,
#mobile-nav ul li a {
  color: var(--color-text);
}
#primary-nav ul li a:hover,
#primary-nav ul li.current-menu-item a,
#mobile-nav ul li a:hover {
  color: var(--color-navy);
}

/* Footer links stay gold-ish on dark bg */
#site-footer a {
  color: rgba(255,255,255,0.65);
}
#site-footer a:hover {
  color: var(--color-gold-light);
}
.footer-bottom a {
  color: var(--color-gold);
}
.footer-bottom a:hover {
  color: var(--color-gold-light);
}

/* Heading anchor links */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: inherit;
}
h1 a:hover, h2 a:hover, h3 a:hover { color: var(--color-gold); }

/* ============================================================
   ELEMENTOR COMPATIBILITY
   ============================================================ */

/* Remove default body padding Elementor sometimes adds */
.elementor-page .site-main,
.elementor-page #main-content {
  padding: 0;
}

/* Elementor sections/containers full width inside our layout */
.elementor-section-wrap,
.e-con-inner {
  max-width: 100%;
}

/* When using "Elementor com Cabeçalho e Rodapé" template — remove gap */
.elementor-page-wrap {
  width: 100%;
  min-height: 50vh;
}

/* Elementor inner container respects our max-width */
.elementor-inner > .elementor-section-wrap > .elementor-section.elementor-section-boxed > .elementor-container {
  max-width: var(--max-width);
}

/* Hide page title on Elementor-built pages */
.elementor-page .entry-title,
.elementor-page .page-header {
  display: none;
}

/* Elementor Pro theme builder — make sure our header/footer
   don't double-render when Elementor is handling them */
body.elementor-template-canvas #site-header,
body.elementor-template-canvas #site-footer {
  display: none;
}

/* Smooth rendering for Elementor widgets */
.elementor-widget-wrap {
  -webkit-font-smoothing: antialiased;
}

/* Make Elementor buttons inherit brand styles */
.elementor-button {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
}

/* Elementor heading widgets use brand font */
.elementor-heading-title {
  font-family: var(--font-display);
}

/* ============================================================
   CUSTOMIZER RANGE SLIDER — live label display
   ============================================================ */
/* The native WP range input doesn't show the value by default.
   Our JS in main.js handles showing it. */
input[type="range"] {
  accent-color: var(--color-gold);
}
