/*
Theme Name: IAG
Theme URI: https://iaguru.com.br
Author: IA Guru
Description: Tema dark luxury para o blog IA Guru
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: iag
*/

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

:root {
  --red:        #C0392B;
  --red-light:  #E74C3C;
  --gold:       #D4A853;
  --bg:         #080808;
  --bg-2:       #0F0F0F;
  --bg-3:       #141414;
  --border:     rgba(255,255,255,0.07);
  --text:       #F0F0F0;
  --muted:      #888;
  --radius:     4px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-top: 68px; /* espaço fixo para o header fixo */
}
.admin-bar body { padding-top: 100px; } /* 68px header + 32px barra admin */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
  line-height: 1.2;
  font-weight: 700;
}

a { color: var(--red-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }

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

/* =============================================
   CONTAINER
============================================= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   NAVBAR
============================================= */
/* Ajuste para barra do admin WordPress */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.site-logo span { color: var(--red); }

.site-nav { display: flex; align-items: center; gap: 32px; }

.site-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color .2s;
}

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

.nav-cta {
  background: var(--red) !important;
  color: var(--text) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.85rem !important;
}

.nav-cta:hover { background: var(--red-light) !important; color: #fff !important; }

/* =============================================
   HERO DO BLOG
============================================= */
.blog-hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(192,57,43,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.blog-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 20px;
}

.blog-hero .eyebrow::before,
.blog-hero .eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--red);
}

.blog-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--text);
  margin-bottom: 16px;
}

.blog-hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

/* =============================================
   GRID DE POSTS
============================================= */
.posts-section { padding: 0 0 80px; }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

/* =============================================
   CARD DE POST
============================================= */
.post-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(192,57,43,0.4);
  box-shadow: 0 8px 32px rgba(192,57,43,0.1);
}

.post-card-thumb { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card-thumb img { transform: scale(1.05); }

.post-card-thumb .post-cat {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--red);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius);
}

.post-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.post-card-meta span { display: flex; align-items: center; gap: 4px; }

.post-card h2 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.post-card h2 a { color: var(--text); transition: color .2s; }
.post-card h2 a:hover { color: var(--red-light); }

.post-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.read-more {
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red-light);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s, color .2s;
}

.read-more:hover { gap: 10px; color: var(--gold); }
.read-more::after { content: '→'; }

.post-reading-time {
  font-size: 0.78rem;
  color: var(--muted);
}

/* =============================================
   PAGINAÇÃO
============================================= */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 40px 0 80px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  transition: all .2s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* =============================================
   POST ÚNICO
============================================= */
.single-hero {
  padding: 120px 0 60px;
  position: relative;
}

.single-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 300px;
  background: linear-gradient(to bottom, rgba(192,57,43,0.05), transparent);
  pointer-events: none;
}

.single-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.single-cat {
  background: var(--red);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius);
}

.single-date, .single-reading {
  font-size: 0.82rem;
  color: var(--muted);
}

.single-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 20px;
}

.single-excerpt {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 40px;
}

.single-thumb {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 60px;
  border: 1px solid var(--border);
}

.single-thumb img { width: 100%; max-height: 480px; object-fit: cover; }

/* =============================================
   CONTEÚDO DO POST
============================================= */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
  padding-bottom: 80px;
}

.post-content { max-width: 100%; }

.post-content h2 {
  font-size: 1.6rem;
  margin: 2em 0 0.75em;
  color: var(--text);
  padding-left: 16px;
  border-left: 3px solid var(--red);
}

.post-content h3 {
  font-size: 1.25rem;
  margin: 1.5em 0 0.6em;
  color: var(--text);
}

.post-content p { color: #ccc; margin-bottom: 1.4em; }

.post-content a { color: var(--red-light); text-decoration: underline; text-underline-offset: 3px; }

.post-content ul, .post-content ol {
  color: #ccc;
  padding-left: 24px;
  margin-bottom: 1.4em;
}

.post-content li { margin-bottom: 6px; }

.post-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  margin: 2em 0;
  background: var(--bg-3);
  border-radius: 0 8px 8px 0;
  color: var(--muted);
  font-style: italic;
}

.post-content code {
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.87em;
  color: var(--gold);
}

.post-content pre {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  overflow-x: auto;
  margin-bottom: 1.4em;
}

.post-content pre code {
  background: none;
  border: none;
  padding: 0;
  color: #ccc;
  font-size: 0.9em;
}

.post-content img {
  border-radius: 8px;
  margin: 1.5em 0;
  border: 1px solid var(--border);
}

.post-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5em 0;
}

/* =============================================
   SIDEBAR
============================================= */
.sidebar { position: sticky; top: 90px; }

.sidebar-widget {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-widget h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.widget-post {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.widget-post:last-child { border-bottom: none; padding-bottom: 0; }

.widget-post-thumb {
  width: 64px;
  height: 64px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.widget-post-thumb img { width: 100%; height: 100%; object-fit: cover; }

.widget-post-info h4 {
  font-size: 0.85rem;
  line-height: 1.3;
  margin-bottom: 4px;
}

.widget-post-info h4 a { color: var(--text); }
.widget-post-info h4 a:hover { color: var(--red-light); }

.widget-post-info span { font-size: 0.75rem; color: var(--muted); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

.tag-cloud a {
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 20px;
  transition: all .2s;
}

.tag-cloud a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* =============================================
   POST AUTHOR BOX
============================================= */
.author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  margin: 60px 0 40px;
}

.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--red);
}

.author-avatar img { width: 100%; height: 100%; object-fit: cover; }

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text);
}

.author-info p { font-size: 0.88rem; color: var(--muted); }

/* =============================================
   POSTS RELACIONADOS
============================================= */
.related-posts { padding: 0 0 80px; }

.related-posts h2 {
  font-size: 1.4rem;
  margin-bottom: 28px;
  padding-left: 16px;
  border-left: 3px solid var(--red);
}

/* =============================================
   FOOTER
============================================= */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .site-logo { margin-bottom: 12px; }
.footer-brand p { color: var(--muted); font-size: 0.88rem; max-width: 280px; }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--muted); font-size: 0.9rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
}

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

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  color: #fff;
}

.whatsapp-float svg { width: 26px; height: 26px; fill: currentColor; }

/* =============================================
   BLOG — FILTRO DE CATEGORIAS
============================================= */
.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted) !important;
  padding: 7px 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff !important;
}

.filter-count {
  background: rgba(255,255,255,0.15);
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 10px;
}

/* =============================================
   FRONT PAGE — HERO
============================================= */
.fp-hero {
  position: relative;
  padding: 5px 0 60px;
  overflow: hidden;
  text-align: center;
}

.fp-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(192,57,43,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(212,168,83,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.fp-hero-inner { position: relative; z-index: 1; }

.fp-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 24px;
  padding: 6px 16px;
  border: 1px solid rgba(192,57,43,0.3);
  border-radius: 20px;
}

.fp-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
}

.fp-title span { color: var(--red-light); }

.fp-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.fp-cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.fp-btn-primary {
  background: var(--red);
  color: #fff !important;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: background .2s, transform .2s;
  display: inline-block;
}

.fp-btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  color: #fff !important;
}

.fp-btn-ghost {
  color: var(--muted) !important;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color .2s, color .2s;
  display: inline-block;
}

.fp-btn-ghost:hover { border-color: var(--red); color: var(--text) !important; }

/* =============================================
   FRONT PAGE — POSTS
============================================= */
.fp-posts { padding: 20px 0 80px; }

.fp-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.fp-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.fp-see-all {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red-light) !important;
  transition: color .2s;
}

.fp-see-all:hover { color: var(--gold) !important; }

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

.post-card--featured {
  grid-column: span 2;
}

.post-card--featured .post-card-thumb { aspect-ratio: 16/8; }

.post-card--featured h2 { font-size: 1.4rem; }

/* =============================================
   FRONT PAGE — CTA FINAL
============================================= */
.fp-cta-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.fp-cta-inner {
  text-align: center;
}

.fp-cta-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.fp-cta-inner p {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 1rem;
}

/* =============================================
   NO POSTS / 404
============================================= */
.no-posts {
  text-align: center;
  padding: 80px 0;
  color: var(--muted);
}

.no-posts h2 { font-size: 1.5rem; margin-bottom: 12px; color: var(--text); }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 900px) {
  .single-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sidebar { position: static; }
  .fp-grid { grid-template-columns: repeat(2, 1fr); }
  .post-card--featured { grid-column: span 2; }
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .posts-grid { grid-template-columns: 1fr; }
  .fp-grid { grid-template-columns: 1fr; }
  .post-card--featured { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .author-box { flex-direction: column; }
}

/* =============================================
   FORMULÁRIO DE CONTATO
============================================= */
.contact-section {
  padding: 60px 0 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}

/* --- Form --- */
.contact-form-wrap {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  padding: 12px 16px;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--bg-3);
  color: var(--text);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
  opacity: .6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
}

.btn-submit {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 14px 32px;
  cursor: pointer;
  transition: background .2s, transform .15s;
  align-self: flex-start;
}

.btn-submit:hover:not(:disabled) {
  background: var(--red-light);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.form-feedback {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
}

.feedback-ok {
  background: rgba(39,174,96,.12);
  border: 1px solid rgba(39,174,96,.3);
  color: #2ecc71;
}

.feedback-err {
  background: rgba(192,57,43,.12);
  border: 1px solid rgba(192,57,43,.3);
  color: var(--red-light);
}

/* --- Info sidebar --- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 90px;
}

.contact-info-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(192,57,43,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red-light);
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-info-block h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 4px;
}

.contact-info-block p,
.contact-info-block a {
  font-size: 15px;
  color: var(--text);
}

.contact-info-block a:hover {
  color: var(--gold);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
}

/* =============================================
   FRONT PAGE — CARROSSEL DE POSTS
============================================= */
.fp-carousel-section {
  padding: 0 0 64px;
  overflow: hidden;
}

.fp-carousel-track-wrapper {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.fp-carousel-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 24px;
  width: max-content;
  animation: carousel-scroll 32s linear infinite;
}

.fp-carousel-track:hover {
  animation-play-state: paused;
}

@keyframes carousel-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.fp-carousel-card {
  display: flex;
  flex-direction: column;
  width: 260px;
  min-width: 260px;
  flex-shrink: 0;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  transition: border-color .25s, transform .25s;
}

.fp-carousel-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}

.fp-carousel-img {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #1a1a1a;
  flex-shrink: 0;
}

.fp-carousel-img img {
  width: 100% !important;
  height: 160px !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform .4s ease;
}

.fp-carousel-card:hover .fp-carousel-img img {
  transform: scale(1.05);
}

.fp-carousel-img--placeholder {
  background: linear-gradient(135deg, #1a1a1a 0%, #222 100%);
}

.fp-carousel-title {
  padding: 14px 16px 18px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  transition: color .2s;
}

.fp-carousel-card:hover .fp-carousel-title {
  color: var(--gold);
}
