/*
Theme Name: Fabricio Montador
Description: Tema FR Montagem — montagem de móveis profissional no Rio de Janeiro.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fabricio-montador
*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #C19A5E;
  --gold-dark: #A8853F;
  --dark: #1A1A1A;
  --dark-2: #1E1E1E;
  --dark-3: #121212;
  --light-bg: #F8F9FB;
  --white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-gray: #666666;
  --text-light-gray: #999999;
  --text-white: #FFFFFF;
  --text-white-muted: rgba(255, 255, 255, 0.7);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

.container {
  max-width: 1056px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
  padding: 14px 28px;
  border-radius: 30px;
}

.btn-gold:hover {
  background: var(--gold-dark);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  padding: 14px 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 30px;
}

.btn-outline:hover {
  border-color: var(--white);
}

.btn-nav {
  padding: 10px 22px;
  font-size: 14px;
  border-radius: 24px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgb(42 38 38);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.25s ease;
}

.header-scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 12px;
  min-width: 0;
}

.logo {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
}

.logo-fb {
  color: var(--gold);
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--white);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 64px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--dark);
}

.hero-bg img {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(18, 18, 18, 1) 0%,
    rgba(18, 18, 18, 1) 0%,
    rgba(18, 18, 18, 0.92) 0%,
    rgba(18, 18, 18, 0.6) 95%,
    rgba(18, 18, 18, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 60px;
  padding-bottom: 40px;
}

.hero-text {
  max-width: 540px;
}

.hero-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--gold);
  background: rgba(193, 154, 94, 0.12);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-text h1 {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 20px;
}

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

.hero-subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-white-muted);
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-info {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--text-white-muted);
  margin-bottom: 6px;
}

.hero-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-info svg {
  flex-shrink: 0;
}

.hero-image {
  position: relative;
  width: 420px;
  flex-shrink: 0;
  display: none;
}

.hero-image img {
  border-radius: 16px;
}

.hero-stats {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.3);
  padding: 16px 0;
  font-size: 14px;
  color: var(--text-white-muted);
}

/* ===== SECTION COMMON ===== */
.section-label {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

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

h2 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
  margin-bottom: 12px;
}

h2 em {
  color: var(--gold);
  font-style: italic;
}

.text-light {
  color: var(--text-white);
}

.section-subtitle {
  text-align: center;
  font-size: 15px;
  color: var(--text-gray);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.section-subtitle-light {
  color: var(--text-white-muted);
}

/* ===== DIFERENCIAIS ===== */
.diferenciais {
  background: var(--light-bg);
  padding: 80px 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  border-radius: 12px;
}

.card-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ===== GALERIA ===== */
.galeria {
  background: var(--dark-2);
  padding: 80px 0;
}

.gallery-carousel {
  position: relative;
  margin-top: 8px;
  padding: 0 48px;
}

.gallery-viewport {
  overflow: hidden;
  border-radius: 12px;
}

.gallery-track {
  display: flex;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-slide {
  flex-shrink: 0;
  padding: 0 8px;
  box-sizing: border-box;
}

.gallery-slide-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: zoom-in;
  background: var(--dark-3);
}

.gallery-slide-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.gallery-slide-btn:hover img,
.gallery-slide-btn:focus-visible img {
  transform: scale(1.05);
}

.gallery-slide-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(193, 154, 94, 0.35);
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.85);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gallery-nav:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.gallery-nav:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.gallery-prev {
  left: 0;
}

.gallery-next {
  right: 0;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.gallery-dots .gallery-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-dots .gallery-dot:hover {
  background: rgba(193, 154, 94, 0.6);
}

.gallery-dots .gallery-dot.is-active {
  background: var(--gold);
  transform: scale(1.15);
}

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.gallery-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.gallery-lightbox-close:hover {
  background: var(--gold);
  color: var(--dark);
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(193, 154, 94, 0.4);
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.8);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox-nav:hover {
  background: var(--gold);
  color: var(--dark);
}

.gallery-lightbox-prev {
  left: 16px;
}

.gallery-lightbox-next {
  right: 16px;
}

.gallery-lightbox-inner {
  position: relative;
  z-index: 2;
  max-width: min(1100px, 92vw);
  max-height: 85vh;
  margin: 0;
}

.gallery-lightbox-inner img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: contain;
}

.gallery-lightbox-caption {
  display: none;
}

/* ===== DEPOIMENTOS ===== */
.depoimentos {
  background: var(--light-bg);
  padding: 80px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.stars {
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--light-bg);
  flex-shrink: 0;
  overflow: hidden;
}

img.avatar {
  display: block;
}

.avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.testimonial-author span {
  font-size: 12px;
  color: var(--text-light-gray);
}

.testimonial-card--google {
  position: relative;
}

.testimonial-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light-gray);
  margin-bottom: 10px;
}

.testimonials-google-link-wrap {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 8px;
}

.testimonials-google-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-dark);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.testimonials-google-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ===== FAQ ===== */
.faq {
  background: #252525;
  padding: 80px 0;
}

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

.faq h2 {
  color: var(--text-white);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #333333;
  border-radius: 12px;
  overflow: hidden;
  transition: background 0.3s;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 24px 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta-section {
  background: #1A1A1A;
  padding: 80px 0;
}

.cta-content {
  text-align: center;
  background: #222222;
  border: 1px solid #3A3A3A;
  border-radius: 20px;
  padding: 60px 40px;
}

.cta-content h2 {
  color: var(--text-white);
  margin-bottom: 14px;
}

.cta-content p {
  color: var(--text-white-muted);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  background: rgb(42 38 38);
  padding: 40px 0 24px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
}

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

.footer-logo {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
}

.footer-logo.custom-logo-link {
  text-decoration: none;
}

.footer-logo-img,
.brand-logo__full {
  display: block;
  max-height: 48px;
  width: auto;
  height: auto;
  max-width: min(220px, 55vw);
}

/* Mobile: ícone do site (favicon); desktop: logo completa */
.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo__icon {
  display: none;
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-logo__full {
  max-height: 42px;
}

.brand-logo__text {
  white-space: nowrap;
}

.footer-nav {
  display: flex;
  gap: 28px;
}

.footer-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.footer-nav li {
  margin: 0;
}

.footer-nav a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

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

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-contact-line {
  padding: 12px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

.footer-contact-phone {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 900px) {
  .hero-image {
    display: block;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav {
    display: none;
  }

  .header-inner {
    height: 56px;
  }

  .btn-nav {
    padding: 8px 14px;
    font-size: 13px;
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* Logo mobile = favicon / ícone do site (se existir) */
  .brand-logo:has(.brand-logo__icon) .brand-logo__icon {
    display: block;
  }

  .brand-logo:has(.brand-logo__icon) .brand-logo__full,
  .brand-logo:has(.brand-logo__icon) .brand-logo__text {
    display: none !important;
  }

  .brand-logo__full {
    max-height: 36px;
    max-width: min(160px, 48vw);
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 32px;
    padding-bottom: 28px;
  }

  .hero-text {
    max-width: 100%;
    width: 100%;
  }

  .hero-text h1 {
    font-size: 32px;
    word-wrap: break-word;
  }

  .hero-subtitle br {
    display: none;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }

  .hero-btns .btn {
    justify-content: center;
    width: 100%;
  }

  .hero-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero-bg img {
    width: 100%;
    opacity: 0.35;
  }

  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(18, 18, 18, 0.95) 0%,
      rgba(18, 18, 18, 0.88) 0%,
      rgba(18, 18, 18, 0.75) 50%
    );
  }

  h2 {
    font-size: 26px;
    word-wrap: break-word;
  }

  .section-subtitle {
    padding-left: 0;
    padding-right: 0;
  }

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

  .galeria,
  .depoimentos,
  .diferenciais,
  .faq,
  .cta-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .gallery-carousel {
    padding: 0 36px;
    margin-left: -4px;
    margin-right: -4px;
  }

  .gallery-nav {
    width: 34px;
    height: 34px;
  }

  .gallery-prev {
    left: 2px;
  }

  .gallery-next {
    right: 2px;
  }

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

  .testimonial-card {
    min-width: 0;
  }

  .testimonial-card p {
    overflow-wrap: anywhere;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-nav,
  .footer-nav ul {
    flex-wrap: wrap;
    gap: 10px 14px;
    width: 100%;
  }

  .footer-social {
    width: 100%;
  }

  .footer-bottom p {
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
    padding: 0 4px;
  }

  .footer-contact-line {
    overflow-wrap: anywhere;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .cta-content {
    padding: 40px 20px;
    border-radius: 16px;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }

  .gallery-lightbox {
    padding: 12px;
  }

  .gallery-lightbox-prev {
    left: 8px;
  }

  .gallery-lightbox-next {
    right: 8px;
  }

  .gallery-lightbox-close {
    top: 8px;
    right: 8px;
  }
}

@media (max-width: 380px) {
  .hero-text h1 {
    font-size: 28px;
  }

  .btn-gold,
  .btn-outline {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 14px;
  }
}

/* ===== FORMULÁRIO DE CONTATO (#orcamento / admin-post) ===== */
.cta-form-block {
  margin-top: 0;
  padding-top: 20px;
  border-top: none;
  text-align: left;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-form-block .form-field {
  margin-bottom: 16px;
}

.cta-form-block label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 6px;
}

.cta-form-block input[type="text"],
.cta-form-block input[type="tel"],
.cta-form-block textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 15px;
}

.cta-form-block input:focus,
.cta-form-block textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.cta-form-block textarea {
  min-height: 120px;
  resize: vertical;
}

.cta-form-block .btn-submit-full {
  width: 100%;
  margin-top: 8px;
}

.contact-notification {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
}

.contact-notification-success {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #a7f3d0;
}

.contact-notification-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fecaca;
}

.header .brand-logo,
.header .custom-logo-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.header .brand-logo__full,
.header .custom-logo-link img {
  max-height: 42px;
  width: auto;
  max-width: min(200px, 50vw);
}

.nav-list {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-list li {
  margin: 0;
}

/* ===== Páginas utilitárias (avaliar, enviar arquivos, cadastrar imagem) ===== */
.fb-page {
  padding: 120px 0 80px;
  min-height: 65vh;
  background: var(--light-bg);
}

.fb-panel {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.fb-page h1 {
  text-align: center;
  margin-bottom: 28px;
}

.fb-alert {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 22px;
  font-size: 14px;
}

.fb-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.fb-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.fb-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.fb-form input[type="text"],
.fb-form input[type="email"],
.fb-form input[type="password"],
.fb-form input[type="date"],
.fb-form input[type="tel"],
.fb-form select,
.fb-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-family: var(--font-sans);
  font-size: 15px;
}

.fb-form .fb-field {
  margin-bottom: 18px;
}

.fb-btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.fb-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-sans);
  background: var(--gold);
  color: var(--dark);
  transition: background 0.2s;
}

.fb-btn-primary:hover {
  background: var(--gold-dark);
}

.fb-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-sans);
  background: #eee;
  color: var(--text-dark);
  text-decoration: none;
}

.fb-star-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  padding: 0 2px;
  color: #d1d5db;
}

.fb-star-btn.is-active {
  color: var(--gold);
}

.fb-gallery-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .fb-gallery-admin-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.fb-gallery-admin-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}

/* Modal login — cadastrar imagem */
.fb-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.fb-modal-overlay.is-open {
  display: flex;
}

.fb-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.fb-modal {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  max-width: 420px;
  width: 92%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.fb-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: none;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  color: var(--text-gray);
}

/* ===== Página de login ===== */
.fb-page--login {
  display: flex;
  align-items: center;
}

.fb-page__container {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.fb-panel--login {
  padding: 36px 32px 28px;
}

.fb-login-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.fb-login-brand .brand-logo {
  justify-content: center;
}

.fb-login-brand .brand-logo__full,
.fb-login-brand .custom-logo-link img {
  max-height: 52px;
}

.fb-panel--login h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  margin-bottom: 10px;
}

.fb-login-subtitle {
  text-align: center;
  color: var(--text-gray);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.5;
}

.fb-form--login .fb-field--inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fb-form--login .fb-field--inline label {
  margin: 0;
  font-weight: 500;
}

.fb-btn-primary--block {
  width: 100%;
  margin-top: 4px;
}

.fb-login-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
}

.fb-login-back {
  font-size: 14px;
  color: var(--text-gray);
  transition: color 0.2s;
}

.fb-login-back:hover {
  color: var(--gold-dark);
}
