/*
Theme Name: Maria Clara Vasconcelos
Theme URI: https://mariaclaravasconcelos.com.br
Description: Tema profissional para advocacia especializada em Homologação de Sentença Estrangeira e Divórcio Internacional
Version: 1.0
Author: ANDE
*/

:root {
  --navy: #0D1B2E;
  --blue-dark: #1A3D6E;
  --blue: #2563EB;
  --teal: #1B6CA8;
  --blue-pale: #EFF4FF;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-300: #CBD5E1;
  --gray-500: #64748B;
  --gray-700: #334155;
  --gray-900: #0F172A;
  --gold: #C9A84C;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --shadow-md: 0 4px 12px rgba(15,23,42,.08);
  --shadow-lg: 0 20px 40px rgba(15,23,42,.12);
  --radius: 12px;
  --radius-lg: 20px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }

h1,h2,h3,h4,h5,h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
}
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all .25s ease;
  text-decoration: none;
  font-family: inherit;
  line-height: 1;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(37,99,235,.3); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(37,99,235,.4); }
.btn-secondary { background: var(--white); color: var(--navy); border: 1.5px solid var(--gray-300); }
.btn-secondary:hover { background: var(--gray-50); border-color: var(--navy); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1ebe57; color: #fff; }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blue-pale);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 600;
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  transition: box-shadow .3s ease, padding .3s ease;
  padding: 14px 0;
}
.site-header.scrolled { box-shadow: var(--shadow-md); padding: 10px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 44px; height: 44px; flex-shrink: 0; }
.brand-text { line-height: 1.2; }
.brand-name { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--navy); font-size: 17px; }
.brand-sub { font-size: 11px; color: var(--gray-500); letter-spacing: .5px; }

.primary-menu { display: none; gap: 28px; list-style: none; margin: 0; padding: 0; }
.primary-menu a { color: var(--gray-700); font-weight: 500; font-size: 14.5px; }
.primary-menu a:hover { color: var(--blue); }

.header-cta { display: none; }
.menu-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--navy); transition: .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
  background: #fff; padding: 40px 24px;
  transform: translateX(100%); transition: transform .3s ease;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.mobile-menu a { color: var(--navy); font-size: 18px; font-weight: 500; }
.mobile-menu .btn { margin-top: 20px; }

@media (min-width: 1024px) {
  .primary-menu { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* Hero */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--blue-pale) 0%, #fff 60%);
  overflow: hidden;
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--navy);
  margin: 16px 0 20px;
}
.hero h1 em { color: var(--blue); font-style: italic; }
.hero-sub { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--gray-700); max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust { display: flex; flex-direction: column; gap: 8px; }
.hero-trust span { font-size: 14px; color: var(--gray-700); display: flex; align-items: center; gap: 8px; }
.hero-trust span::before { content: '✓'; color: var(--blue); font-weight: 700; }

.hero-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}
.hero-card h3 { font-size: 22px; margin-bottom: 8px; }
.hero-card p { color: var(--gray-500); margin-bottom: 20px; font-size: 14.5px; }

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.3fr 1fr; }
}

/* Sections */
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 16px; }
.section-head p { color: var(--gray-500); font-size: 17px; }
.eyebrow { color: var(--blue); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }

/* Atenção */
.attention { background: var(--gray-50); }
.attention-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 24px; margin-top: 40px; }
.attention-item {
  background: #fff; padding: 24px; border-radius: var(--radius);
  border-left: 4px solid var(--blue); box-shadow: var(--shadow-sm);
}
.attention-item h4 { font-size: 16px; margin-bottom: 8px; }
.attention-item p { font-size: 14px; color: var(--gray-500); margin: 0; }

/* Sobre */
.about-grid { display: grid; gap: 48px; align-items: center; }
.about-photo {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--blue-pale), var(--gray-100));
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-500); font-style: italic;
  box-shadow: var(--shadow-md);
}
.about-list { list-style: none; padding: 0; margin: 24px 0; }
.about-list li { padding: 8px 0 8px 28px; position: relative; }
.about-list li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1.4fr; } }

/* Serviços */
.services-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); }
.service-card {
  background: #fff; padding: 32px 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100); transition: all .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-pale); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--blue-pale); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 19px; margin-bottom: 12px; }
.service-card p { font-size: 14.5px; color: var(--gray-500); margin-bottom: 20px; }
.service-card a { font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

/* Diferenciais */
.benefits { background: var(--navy); color: #fff; }
.benefits .section-head h2, .benefits .section-head p { color: #fff; }
.benefits .section-head p { color: rgba(255,255,255,.7); }
.benefits-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
.benefit { text-align: center; }
.benefit-icon {
  width: 64px; height: 64px; margin: 0 auto 16px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.benefit h4 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.benefit p { color: rgba(255,255,255,.7); font-size: 14px; margin: 0; }

/* Como funciona */
.steps { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
.step { text-align: center; position: relative; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700;
  margin: 0 auto 20px;
}
.step h4 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--gray-500); margin: 0; }

/* Depoimentos */
.testimonials { background: var(--gray-50); }
.testimonials-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); }
.testimonial {
  background: #fff; padding: 28px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px;
}
.stars { color: var(--gold); letter-spacing: 2px; font-size: 16px; }
.testimonial p { font-style: italic; color: var(--gray-700); margin: 0; }
.testimonial-author { font-weight: 600; color: var(--navy); font-size: 14px; }
.testimonial-loc { font-size: 13px; color: var(--gray-500); }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: #fff; border: 1px solid var(--gray-100);
  border-radius: var(--radius); padding: 4px 24px;
  transition: box-shadow .2s ease;
}
.faq-list details[open] { box-shadow: var(--shadow-md); border-color: var(--blue-pale); }
.faq-list summary {
  cursor: pointer; padding: 20px 0; font-weight: 600;
  color: var(--navy); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; font-size: 24px; color: var(--blue); transition: transform .2s ease;
  flex-shrink: 0; font-weight: 400;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .faq-answer { padding: 0 0 20px; color: var(--gray-700); }

/* Blog cards */
.posts-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); }
.post-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gray-100); transition: all .3s ease;
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-thumb {
  aspect-ratio: 16/9; background: var(--blue-pale);
  overflow: hidden;
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.post-meta { font-size: 13px; color: var(--gray-500); display: flex; gap: 12px; align-items: center; }
.post-cat { color: var(--blue); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; font-size: 11px; }
.post-card h3 { font-size: 19px; margin: 4px 0 8px; }
.post-card h3 a { color: var(--navy); }
.post-card h3 a:hover { color: var(--blue); }
.post-card .excerpt { font-size: 14.5px; color: var(--gray-500); flex: 1; }
.post-card .read-more { font-weight: 600; font-size: 14px; color: var(--blue); margin-top: 8px; }

/* Contato */
.contact { background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%); color: #fff; }
.contact .section-head h2, .contact .section-head p { color: #fff; }
.contact .section-head p { color: rgba(255,255,255,.7); }
.contact-grid { display: grid; gap: 32px; }
.contact-form {
  background: #fff; color: var(--gray-700);
  padding: 36px; border-radius: var(--radius-lg);
}
.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
@media(min-width:640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.form-row label { display: block; font-size: 14px; font-weight: 500; color: var(--gray-700); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-300);
  border-radius: 8px; font-family: inherit; font-size: 15px; background: #fff;
  transition: border-color .2s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--blue);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-status { margin-top: 12px; padding: 12px; border-radius: 8px; font-size: 14px; display: none; }
.form-status.success { display: block; background: #d1fae5; color: #065f46; }
.form-status.error { display: block; background: #fee2e2; color: #991b1b; }

.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  flex-shrink: 0;
}
.contact-info-item h4 { color: #fff; font-size: 16px; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { color: rgba(255,255,255,.8); font-size: 15px; margin: 0; }
.contact-info-item a:hover { color: #fff; }

@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.3fr 1fr; } }

/* Footer */
.site-footer { background: #0a1424; color: rgba(255,255,255,.7); padding: 64px 0 24px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; margin-bottom: 40px; }
@media(min-width:640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h5 { color: #fff; font-family: 'Inter', sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.7); font-size: 14.5px; }
.site-footer a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--blue); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  text-align: center; font-size: 13px; color: rgba(255,255,255,.5);
}

/* WhatsApp floating */
.wa-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.5);
  z-index: 90; animation: pulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.6); }
  50% { box-shadow: 0 8px 24px rgba(37,211,102,.5), 0 0 0 16px rgba(37,211,102,0); }
}

/* Fade in */
.fade-in { opacity: 0; transform: translateY(20px); transition: all .8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Single post */
.post-hero { padding: 120px 0 40px; background: var(--gray-50); }
.breadcrumb { font-size: 13px; color: var(--gray-500); margin-bottom: 16px; }
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--blue); }
.post-hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 16px; }
.post-featured-img { aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius-lg); margin: 32px 0; }
.post-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.post-content { max-width: 760px; margin: 0 auto; padding: 40px 20px 80px; }
.post-content h2 { font-size: 1.7rem; margin: 1.5em 0 .6em; }
.post-content h3 { font-size: 1.3rem; margin: 1.2em 0 .5em; }
.post-content p { font-size: 17px; line-height: 1.75; }
.post-content img { border-radius: var(--radius); margin: 24px 0; }
.post-content blockquote {
  border-left: 4px solid var(--blue); padding: 8px 24px;
  background: var(--gray-50); margin: 24px 0; font-style: italic; color: var(--gray-700);
}

.cta-box {
  background: linear-gradient(135deg, var(--blue-pale), #fff);
  border: 1px solid var(--blue-pale);
  padding: 32px; border-radius: var(--radius-lg);
  text-align: center; margin: 40px 0;
}
.cta-box h3 { margin-bottom: 12px; }
.cta-box p { margin-bottom: 20px; color: var(--gray-500); }

.author-box {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--gray-50); padding: 24px; border-radius: var(--radius);
  margin-top: 40px;
}
.author-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 22px; flex-shrink: 0;
}
.author-box h4 { font-size: 16px; margin-bottom: 4px; }
.author-box p { font-size: 14px; color: var(--gray-500); margin: 0; }

/* Archive */
.archive-header { padding: 120px 0 40px; background: var(--gray-50); text-align: center; }
.archive-header h1 { font-size: clamp(2rem, 4vw, 3rem); }
.archive-layout { display: grid; gap: 40px; padding: 60px 0; }
@media(min-width:1024px) { .archive-layout { grid-template-columns: 1fr 280px; } }
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-block { background: #fff; padding: 24px; border-radius: var(--radius); border: 1px solid var(--gray-100); }
.sidebar-block h4 { font-size: 16px; margin-bottom: 12px; }
.sidebar-block ul { list-style: none; padding: 0; margin: 0; }
.sidebar-block li { padding: 6px 0; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination .page-numbers {
  padding: 10px 16px; border-radius: 8px; background: #fff;
  border: 1px solid var(--gray-300); color: var(--gray-700); font-weight: 500;
}
.pagination .current, .pagination .page-numbers:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* 404 */
.error-404 { padding: 160px 0 100px; text-align: center; }
.error-404 h1 { font-size: clamp(4rem, 12vw, 8rem); color: var(--blue); }
.error-404 h2 { margin-bottom: 16px; }
.error-404 p { color: var(--gray-500); margin-bottom: 32px; }
