@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

/* ==========================================================================
   1. VARIÁVEIS CSS E SISTEMA DE CORES SMARTIMOB
   ========================================================================== */
:root {
  --background: 0 0% 100%;       /* #FFFFFF */
  --foreground: 0 0% 17%;        /* #2B2B2B - Texto Escuro */
  --primary: 358 78% 50%;         /* #E31E24 - Vermelho Primário */
  --primary-hover: 358 74% 41%;   /* #B71C1C - Vermelho Escuro Hover */
  --secondary: 0 0% 55%;        /* #8C8C8C - Cinza Prédio */
  --muted: 0 0% 96%;            /* #F5F5F5 - Fundo Muted */
  --muted-foreground: 0 0% 36%;   /* #5C5C5C - Texto Muted */
  --border: 0 0% 85%;           /* #D9D9D9 - Borda Padrão */
  --input: 0 0% 85%;
  --ring: 358 78% 50%;
  --radius: 0px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #FFFFFF;
  color: #2B2B2B;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   2. ESTILIZAÇÃO COMPLETA DAS TAGS HTML5 (RESTAURAÇÃO E TIPOGRAFIA DE LUXO)
   ========================================================================== */

/* --- Títulos (h1, h2, h3, h4, h5, h6) --- */
h1, h2, h3, h4, h5, h6,
.font-display {
  font-family: 'Playfair Display', Georgia, serif;
  color: #2B2B2B;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 1.5em;
  margin-bottom: 0.6em;
  letter-spacing: 0.015em;
}

h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
  margin-top: 0;
}

h1 { font-size: 2.5rem !important; }
h2 { font-size: 2rem; }
h3 { font-size: 1.7rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.1em; color: #8C8C8C; }

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.625rem; }
  h4 { font-size: 1.35rem; }
}

/* --- Parágrafos, Texto e Formatação Semântica --- */
p,
.entry-content p,
.post-content p,
.prose p {
  font-family: 'Inter', sans-serif;
  color: #5C5C5C;
  font-size: 1rem;
  line-height: 1.8;
  margin-top: 0 !important;
  margin-bottom: 1.75rem !important;
  font-weight: 300;
  display: block;
}

p:last-child,
.entry-content p:last-child,
.post-content p:last-child,
.prose p:last-child {
  margin-bottom: 0 !important;
}

p + p,
.entry-content p + p,
.post-content p + p,
.prose p + p {
  margin-top: 1.25rem !important;
}

.font-body {
  font-family: 'Inter', sans-serif;
}

a {
  color: #E31E24;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover, a:focus {
  color: #B71C1C;
  text-decoration: none;
}

strong, b {
  color: #2B2B2B;
  font-weight: 600;
}

em, i {
  font-style: italic;
}

small {
  font-size: 0.85em;
  color: #8C8C8C;
}

mark {
  background-color: rgba(227, 30, 36, 0.12);
  color: #E31E24;
  padding: 0.15em 0.35em;
}

ins {
  background-color: #E8F5E9;
  color: #2E7D32;
  text-decoration: none;
  padding: 0.1em 0.3em;
}

del, s {
  text-decoration: line-through;
  color: #8C8C8C;
}

sub, sup {
  font-size: 0.75em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup { top: -0.5em; }
sub { bottom: -0.25em; }

abbr[title] {
  border-bottom: 1px dotted #8C8C8C;
  cursor: help;
  text-decoration: none;
}

cite {
  font-style: italic;
  color: #8C8C8C;
}

address {
  font-style: normal;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #5C5C5C;
  border-left: 2px solid #D9D9D9;
  padding-left: 1rem;
}

time {
  color: #8C8C8C;
  font-size: 0.9em;
}

/* --- Listas (`ul`, `ol`, `li`, `dl`, `dt`, `dd`) --- */
ul, ol {
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
  color: #5C5C5C;
}

ul { list-style-type: disc; }
ol { list-style-type: decimal; }

li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

li > ul, li > ol {
  margin-top: 0.4rem;
  margin-bottom: 0;
}

dl {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

dt {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #2B2B2B;
  margin-top: 0.8rem;
}

dd {
  margin-left: 1.25rem;
  margin-bottom: 0.8rem;
  color: #5C5C5C;
}

/* --- Blocos de Citação (`blockquote`, `q`) --- */
blockquote {
  border-left: 3px solid #E31E24;
  background-color: #F5F5F5;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  color: #2B2B2B;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
}

blockquote p:last-child {
  margin-bottom: 0;
}

blockquote cite {
  display: block;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8C8C8C;
  margin-top: 0.8rem;
}

q {
  quotes: "“" "”" "‘" "’";
  font-style: italic;
}

q::before { content: open-quote; }
q::after { content: close-quote; }

/* --- Código e Preformatado (`code`, `pre`, `kbd`, `samp`, `var`) --- */
code, pre, kbd, samp, var {
  font-family: "Fira Code", Consolas, Monaco, "Andale Mono", monospace;
  font-size: 0.875em;
}

p code, li code {
  background-color: #F5F5F5;
  color: #E31E24;
  padding: 0.2rem 0.4rem;
  border: 1px solid #D9D9D9;
}

pre {
  background-color: #1A1A1A;
  color: #F5F5F5;
  padding: 1.25rem;
  margin: 1.5rem 0;
  overflow-x: auto;
  border-left: 3px solid #E31E24;
  line-height: 1.6;
}

pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  border: none;
}

kbd {
  background-color: #2B2B2B;
  color: #FFFFFF;
  padding: 0.15rem 0.4rem;
  box-shadow: 0 2px 0 rgba(0,0,0,0.2);
  font-size: 0.8em;
}

/* --- Tabelas (`table`, `thead`, `tbody`, `tfoot`, `tr`, `th`, `td`) --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9375rem;
}

caption {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #8C8C8C;
  padding: 0.5rem;
  caption-side: bottom;
  text-align: center;
}

th, td {
  padding: 0.85rem 1rem;
  border: 1px solid #D9D9D9;
  text-align: left;
}

th {
  background-color: #F5F5F5;
  color: #2B2B2B;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

tbody tr:nth-child(even) {
  background-color: #FAFAFA;
}

/* --- Mídia, Imagens & Figuras (`figure`, `figcaption`, `img`, `video`, `audio`, `iframe`) --- */
figure {
  margin: 2rem 0;
}

figcaption {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  color: #8C8C8C;
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

iframe {
  border: 0;
}

hr {
  border: none;
  height: 1px;
  background-color: #D9D9D9;
  margin: 2.5rem 0;
}

/* --- Formulários & Controles de Entrada (`form`, `input`, `textarea`, `select`, `button`) --- */
form {
  margin-bottom: 2rem;
}

fieldset {
  border: 1px solid #D9D9D9;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

legend {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #2B2B2B;
  padding: 0 0.5rem;
}

label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2B2B2B;
  margin-bottom: 0.4rem;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: #2B2B2B;
  background-color: #FFFFFF;
  border: 1px solid #D9D9D9;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
  border-color: #E31E24;
  box-shadow: 0 0 0 2px rgba(227, 30, 36, 0.15);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  background-color: #E31E24;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.85rem 1.75rem;
  border: 1px solid #E31E24;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
  background-color: #B71C1C;
  border-color: #B71C1C;
}

/* --- Elementos Interativos (`details`, `summary`, `progress`) --- */
details {
  border: 1px solid #D9D9D9;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  background-color: #F5F5F5;
}

summary {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #2B2B2B;
  cursor: pointer;
  outline: none;
}

details[open] summary {
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #D9D9D9;
  padding-bottom: 0.5rem;
}

progress {
  width: 100%;
  height: 1rem;
  accent-color: #E31E24;
}

/* ==========================================================================
   3. SUÍTE COMPLETA DE CLASSES NATIVAS DO WORDPRESS E GUTENBERG
   ========================================================================== */

/* --- Classes de Alinhamento do WordPress --- */
.alignleft {
  float: left;
  margin-right: 1.75rem;
  margin-bottom: 1.25rem;
}

.alignright {
  float: right;
  margin-left: 1.75rem;
  margin-bottom: 1.25rem;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
  text-align: center;
}

.alignwide {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.has-text-align-left { text-align: left; }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }
.has-text-align-justify { text-align: justify; }

/* --- Imagens e Legendas do WordPress --- */
.wp-caption {
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.wp-caption img {
  display: block;
  margin: 0 auto;
}

.wp-caption-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  color: #8C8C8C;
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

.wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* --- Paleta de Cores Oficial do Gutenberg --- */
.has-primary-color { color: #E31E24 !important; }
.has-primary-background-color { background-color: #E31E24 !important; }

.has-primary-hover-color { color: #B71C1C !important; }
.has-primary-hover-background-color { background-color: #B71C1C !important; }

.has-secondary-color { color: #8C8C8C !important; }
.has-secondary-background-color { background-color: #8C8C8C !important; }

.has-foreground-color { color: #2B2B2B !important; }
.has-foreground-background-color { background-color: #2B2B2B !important; }

.has-muted-color { color: #F5F5F5 !important; }
.has-muted-background-color { background-color: #F5F5F5 !important; }

.has-muted-foreground-color { color: #5C5C5C !important; }
.has-muted-foreground-background-color { background-color: #5C5C5C !important; }

.has-border-color { color: #D9D9D9 !important; }
.has-border-background-color { background-color: #D9D9D9 !important; }

.has-dark-color { color: #1A1A1A !important; }
.has-dark-background-color { background-color: #1A1A1A !important; }

.has-white-color { color: #FFFFFF !important; }
.has-white-background-color { background-color: #FFFFFF !important; }

/* --- Tamanhos de Fonte do Gutenberg --- */
.has-small-font-size { font-size: 0.875rem !important; }
.has-normal-font-size { font-size: 1rem !important; }
.has-medium-font-size { font-size: 1.25rem !important; }
.has-large-font-size { font-size: 1.5rem !important; }
.has-x-large-font-size { font-size: 2rem !important; }
.has-xx-large-font-size { font-size: 2.5rem !important; }

/* Capitular (Drop Cap) --- */
.has-drop-cap:not(:focus)::first-letter {
  font-family: 'Playfair Display', serif;
  color: #E31E24;
  font-size: 3.5em;
  line-height: 0.8;
  font-weight: 700;
  float: left;
  margin: 0.1em 0.15em 0 0;
}

/* --- Blocos Core do Gutenberg --- */

/* Bloco Botão (`.wp-block-button`) */
.wp-block-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.wp-block-button__link {
  background-color: #E31E24;
  color: #FFFFFF !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.85rem 1.75rem;
  border: 1px solid #E31E24;
  text-decoration: none !important;
  transition: all 0.25s ease;
  display: inline-block;
  text-align: center;
}

.wp-block-button__link:hover {
  background-color: #B71C1C;
  border-color: #B71C1C;
  color: #FFFFFF !important;
}

.wp-block-button.is-style-outline .wp-block-button__link {
  background-color: transparent;
  color: #2B2B2B !important;
  border: 1px solid #2B2B2B;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: #2B2B2B;
  color: #FFFFFF !important;
}

/* Bloco Citação e Pullquote */
.wp-block-quote {
  border-left: 3px solid #E31E24;
  background-color: #F5F5F5;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.wp-block-quote.is-style-large,
.wp-block-quote.is-large {
  border-left: none;
  background: transparent;
  padding: 0;
  text-align: center;
}

.wp-block-pullquote {
  border-top: 2px solid #E31E24;
  border-bottom: 2px solid #E31E24;
  padding: 2rem 1rem;
  text-align: center;
  margin: 2.5rem 0;
}

.wp-block-pullquote blockquote {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
}

/* Bloco Tabela */
.wp-block-table {
  overflow-x: auto;
  margin: 2rem 0;
}

.wp-block-table table {
  width: 100%;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background-color: #F9F9F9;
}

/* Bloco Separador */
.wp-block-separator {
  border: none;
  height: 1px;
  background-color: #D9D9D9;
  margin: 2.5rem 0;
}

.wp-block-separator.is-style-wide {
  width: 100%;
}

.wp-block-separator.is-style-dots {
  background: transparent;
  text-align: center;
  height: auto;
}

.wp-block-separator.is-style-dots::before {
  content: "• • •";
  color: #8C8C8C;
  font-size: 1.5rem;
  letter-spacing: 0.5em;
}

/* Bloco Galeria */
.wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.wp-block-gallery .blocks-gallery-item {
  margin: 0;
}

.wp-block-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #D9D9D9;
}

/* Bloco Mídia e Texto */
.wp-block-media-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin: 2.5rem 0;
}

@media (max-width: 768px) {
  .wp-block-media-text.is-stacked-on-mobile {
    grid-template-columns: 1fr;
  }
}

/* Bloco Cover / Capa */
.wp-block-cover {
  position: relative;
  min-height: 350px;
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  margin: 2.5rem 0;
}

.wp-block-cover__inner-container {
  z-index: 2;
  max-width: 800px;
  text-align: center;
}

.wp-block-cover__inner-container h1,
.wp-block-cover__inner-container h2,
.wp-block-cover__inner-container h3,
.wp-block-cover__inner-container p {
  color: #FFFFFF !important;
}

/* Bloco Colunas */
.wp-block-columns {
  display: flex;
  gap: 1.75rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .wp-block-columns {
    flex-direction: column;
  }
}

.wp-block-column {
  flex: 1;
}

/* Embeds Responsivos */
.wp-block-embed {
  margin: 2rem 0;
}

.wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Bloco de Busca */
.wp-block-search {
  display: flex;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.wp-block-search__input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #D9D9D9;
}

.wp-block-search__button {
  background-color: #E31E24;
  color: #FFFFFF;
  border: none;
  padding: 0.75rem 1.5rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  cursor: pointer;
}

/* ==========================================================================
   4. CLASSE CONTAINER DE CONTEÚDO (`.entry-content`, `.post-content`, `.prose`)
   ========================================================================== */
.entry-content,
.post-content,
.prose {
  color: #5C5C5C;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
}

.entry-content > *:first-child,
.post-content > *:first-child,
.prose > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child,
.post-content > *:last-child,
.prose > *:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   5. ACESSIBILIDADE E CLASSES DE SUPORTE DO WORDPRESS
   ========================================================================== */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #F5F5F5;
  clip: auto !important;
  clip-path: none;
  color: #2B2B2B;
  display: block;
  font-size: 0.875rem;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ==========================================================================
   6. COMPONENTES DIVERSOS DO TEMA SMARTIMOB
   ========================================================================== */
.brand-gradient {
  background: linear-gradient(135deg, #E31E24 0%, #B71C1C 100%);
}

.glassmorphism {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-divider {
  height: 1px;
  width: 80px;
  background-color: #8C8C8C;
}

.smartimob-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.smartimob-lightbox.active {
  display: flex;
}

.smartimob-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

/* ==========================================================================
   7. HEADER & NAVEGAÇÃO PRINCIPAL (NAV MENU WORDPRESS)
   ========================================================================== */

/* --- Card / Badge Destacado do Logo Pop-out no Cabeçalho --- */
.logo-badge-container {
  background-color: #FFFFFF !important;
  border: 1px solid #D9D9D9 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15) !important;
  padding: 0.75rem 1.25rem !important;
  margin-top: -12px !important;
  margin-bottom: -20px !important;
  min-height: 95px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 60 !important;
  position: relative !important;
  text-decoration: none !important;
}

.custom-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.custom-logo,
header img.custom-logo,
.logo-badge-container img {
  max-height: 75px !important;
  height: auto !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
}

/* --- Padronização Estrita da Largura dos Contêineres (Header e Corpo) --- */
.container,
header .container {
  width: 100% !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

header nav ul,
header nav ol,
.nav-primary-menu,
.nav-mobile-menu {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.nav-primary-menu {
  display: flex !important;
  align-items: center !important;
  gap: 2rem !important;
  flex-wrap: nowrap !important;
}

.nav-primary-menu li {
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style-type: none !important;
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}

.nav-primary-menu li a {
  color: #2B2B2B !important;
  text-decoration: none !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  padding: 0.5rem 0 !important;
  transition: color 0.25s ease !important;
  display: inline-block !important;
}

.nav-primary-menu li a:hover,
.nav-primary-menu li a:focus,
.nav-primary-menu li.current-menu-item > a,
.nav-primary-menu li.current_page_item > a,
.nav-primary-menu li.current-menu-ancestor > a {
  color: #E31E24 !important;
}

.nav-primary-menu li > a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background-color: #E31E24;
  transition: width 0.3s ease;
  margin-top: 2px;
}

.nav-primary-menu li > a:hover::after,
.nav-primary-menu li.current-menu-item > a::after,
.nav-primary-menu li.current_page_item > a::after {
  width: 100%;
}

.nav-primary-menu li.menu-item-has-children {
  position: relative;
}

.nav-primary-menu li.menu-item-has-children > a::after {
  content: ' ▾';
  font-size: 0.7em;
  margin-left: 4px;
}

.nav-primary-menu .sub-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  min-width: 200px !important;
  background-color: #FFFFFF !important;
  border: 1px solid #D9D9D9 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1) !important;
  padding: 0.75rem 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(10px) !important;
  transition: all 0.25s ease !important;
  z-index: 100 !important;
}

.nav-primary-menu li:hover > .sub-menu,
.nav-primary-menu li:focus-within > .sub-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.nav-primary-menu .sub-menu li {
  width: 100% !important;
  display: block !important;
  margin: 0 !important;
}

.nav-primary-menu .sub-menu li a {
  display: block !important;
  padding: 0.6rem 1.25rem !important;
  font-size: 0.75rem !important;
  color: #2B2B2B !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  white-space: nowrap !important;
  border-bottom: 1px solid #F5F5F5 !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

.nav-primary-menu .sub-menu li:last-child a {
  border-bottom: none !important;
}

.nav-primary-menu .sub-menu li a:hover {
  background-color: #F5F5F5 !important;
  color: #E31E24 !important;
}

.nav-primary-menu .sub-menu li a::after {
  display: none !important;
}

.nav-mobile-menu {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}

.nav-mobile-menu li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-mobile-menu li a {
  display: block !important;
  padding: 0.5rem 0 !important;
  color: #2B2B2B !important;
  font-size: 0.875rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  text-decoration: none !important;
}

.nav-mobile-menu li a:hover,
.nav-mobile-menu li.current-menu-item a {
  color: #E31E24 !important;
}

/* ==========================================================================
   8. ESTILIZAÇÃO DO CONTACT FORM 7 (CF7)
   ========================================================================== */
.wpcf7 {
  width: 100% !important;
}

.wpcf7-form p {
  margin-bottom: 1rem !important;
}

.wpcf7-form label {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #5C5C5C !important;
  display: block !important;
  margin-bottom: 0.35rem !important;
  width: 100% !important;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form textarea,
.wpcf7-form select,
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea,
.wpcf7-form-control-wrap select {
  width: 100% !important;
  background-color: #F9F9F9 !important;
  border: 1px solid #D9D9D9 !important;
  padding: 0.75rem 1rem !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.875rem !important;
  color: #2B2B2B !important;
  outline: none !important;
  transition: border-color 0.2s ease, background-color 0.2s ease !important;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus,
.wpcf7-form-control-wrap input:focus,
.wpcf7-form-control-wrap textarea:focus {
  border-color: #E31E24 !important;
  background-color: #FFFFFF !important;
}

.wpcf7-form input[type="submit"],
.wpcf7-submit {
  width: 100% !important;
  background-color: #E31E24 !important;
  color: #FFFFFF !important;
  font-family: 'Playfair Display', serif !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  padding: 0.9rem 1.5rem !important;
  border: none !important;
  cursor: pointer !important;
  transition: background-color 0.25s ease !important;
  margin-top: 0.5rem !important;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-submit:hover {
  background-color: #B71C1C !important;
}

.wpcf7-response-output {
  margin: 1rem 0 0 0 !important;
  padding: 0.85rem 1rem !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.8125rem !important;
  border-radius: 0 !important;
  border: 1px solid #D9D9D9 !important;
  text-align: center !important;
}

.wpcf7-not-valid-tip {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.75rem !important;
  color: #E31E24 !important;
  margin-top: 0.25rem !important;
}
