/*
Theme Name: Graecus Theme
Theme URI: https://graecus.com.br
Author: Graecus Dev
Description: Custom WordPress Theme
Version: 12.1
Text Domain: graecus
Date: 12-05
*/

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

html {
  font-size: clamp(12px, 0.8333vw, 16px);
  width: 100%;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  width: 100% !important;
  min-height: 100vh !important;
  background: #060f1e !important;
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

html.wp-toolbar { padding-top: 0 !important; }
#wpadminbar { display: none !important; }

.site, .site-content, .container, .content-area {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 2. DESIGN SYSTEM */
:root {
  --color-bg-start:        #060f1e;
  --color-bg-end:          #0d3e7a;
  --color-text-primary:    #f5f4f0;
  --color-text-secondary:  #c9d8e8;
  --color-text-muted:      #4a6070;
  --color-btn-bg:          #eaf4ff;
  --color-btn-text:        #1e2d3a;
  --color-divider-start:   #90c8f0;
  --color-divider-mid:     #2196d3;
  --color-divider-end:     rgba(8,39,66,0.20);
  --color-card-bg:         #c9d8e8;
  --color-light-bg:        #eaf4ff;
  --color-sky-blue:        #00a8ff;
  --font-headline:  'IBM Plex Sans', sans-serif;
  --font-body:      'DM Sans', sans-serif;
  --container-padding: clamp(2rem, 16.66vw, 20rem);
  --radius-card: 0.625rem;
  --radius-btn: 0.75rem;
}

/* 3. HERO */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-bg-start) 0%, var(--color-bg-end) 100%);
  display: flex;
  flex-direction: column;
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.0625rem var(--container-padding) 0;
  z-index: 10;
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: -1.25rem;
  left: var(--container-padding);
  width: calc(100% - (var(--container-padding) * 2));
  height: 2px;
  background: linear-gradient(to right, var(--color-divider-start), var(--color-divider-mid), var(--color-divider-end));
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo__icon {
  position: relative;
  width: 3.5625rem;
  height: 3.5625rem;
}

.logo__icon img:nth-child(1) {
  position: absolute;
  top: 0;
  left: 2.0375rem;
  height: 3.485rem;
  width: auto;
}

.logo__icon img:nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
  height: 3.525rem;
  width: auto;
}

.logo__text img {
  height: 1.41rem;
  display: block;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  height: 3.5rem;
  border: 1.64px solid var(--color-text-secondary);
  border-radius: var(--radius-btn);
  color: var(--color-text-secondary);
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-nav:hover {
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
  border-color: var(--color-btn-bg);
}

.hero__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem var(--container-padding);
}

.hero__headline {
  font-family: var(--font-headline);
  font-size: 5.5rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
  min-height: 12rem;
}

#dynamic-word-container {
  display: inline-block;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
}

.hero__headline span.dynamic-word {
  display: inline;
  color: var(--color-text-primary);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero__subtitle {
  font-size: 2.25rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
  max-width: 45rem;
  margin-bottom: 3rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content !important;
  min-width: 12rem;
  padding: 0 2.5rem !important;
  height: 3.5rem;
  background: var(--color-btn-bg);
  border-radius: var(--radius-btn);
  color: var(--color-btn-text);
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-cta:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.hero__footer {
  position: relative;
  padding: 0 var(--container-padding);
  margin-top: auto;
}

.hero__footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--container-padding);
  width: calc(100% - (var(--container-padding) * 2));
  height: 2px;
  background: linear-gradient(to left, var(--color-divider-start), var(--color-divider-mid), var(--color-divider-end));
}

.hero__footer-inner {
  display: flex;
  align-items: center;
  padding: 1.625rem 0 1.875rem;
}

.stats__text {
  font-size: 1.875rem;
  line-height: 1.4;
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.brace {
  font-family: var(--font-headline);
  font-size: 6rem;
  font-weight: 200;
  color: var(--color-text-primary);
  margin: 0 2rem;
  line-height: 1;
}

.logos-track-wrapper {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  margin-left: -1rem;
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: scroll-logos 25s linear infinite;
}

.logos-track__item img {
  height: 5rem;
  filter: brightness(0) invert(1);
}

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

/* 4. SERVICES GRID */
.services {
  background: var(--color-light-bg);
  padding: 10rem var(--container-padding);
}

.services__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.services__title {
  font-family: var(--font-headline);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--color-btn-text);
  margin-bottom: 1rem;
}

.services__paragraph {
  font-size: 1.375rem;
  color: var(--color-text-muted);
  max-width: 30rem;
}

.services .btn-cta {
  background: var(--color-btn-text) !important;
  color: white !important;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-card);
  padding: 2rem;
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.4s ease;
  overflow: hidden;
}

.service-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-btn-text);
  transition: opacity 0.35s ease, max-height 0.4s ease, margin-bottom 0.35s ease;
  overflow: hidden;
  max-height: 5rem;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.service-card__tag {
  background: rgba(255, 255, 255, 0.5);
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.service-card__title {
  font-family: var(--font-headline);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--color-btn-text);
  line-height: 1.1;
  margin-top: auto;
}

.service-card__hover-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, margin-top 0.35s ease;
  margin-top: 0;
}

.service-card__divider {
  height: 1px;
  background: linear-gradient(to right, var(--color-divider-start), var(--color-divider-mid), var(--color-divider-end));
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.service-card__desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  padding-bottom: 0.5rem;
}

.service-card:hover .service-card__icon {
  opacity: 0;
  max-height: 0;
  margin-bottom: 0;
}

.service-card:hover .service-card__hover-content {
  max-height: 10rem;
  opacity: 1;
  margin-top: 0;
}

/* 5. FAQ */
.faq {
  background: linear-gradient(to bottom, var(--color-bg-start), var(--color-bg-end));
  padding: 10rem var(--container-padding);
  display: flex;
  gap: 4rem;
}

.faq__content { flex: 1; }

.faq__title {
  font-family: var(--font-headline);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
}

.faq__paragraph {
  font-size: 1.375rem;
  color: var(--color-text-secondary);
  margin-bottom: 3rem;
}

.faq__items { flex: 1.2; }

.faq-item {
  border-bottom: 1.26px solid transparent;
  border-image: linear-gradient(to right, var(--color-divider-start), var(--color-divider-mid), var(--color-divider-end)) 1;
  padding: 1.5rem 0;
  cursor: pointer;
}

.faq-item__question {
  font-family: var(--font-headline);
  font-size: 1.57rem;
  color: var(--color-light-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item__question::after {
  content: '+';
  font-size: 2rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-item__question::after { transform: rotate(45deg); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

.faq-item.active .faq-item__answer {
  max-height: 500px;
  padding-top: 1rem;
}

/* 6. BLOG GRID (HOMEPAGE) */
.blog {
  background: var(--color-bg-end);
  padding: 5rem var(--container-padding);
}

.blog__container {
  background: var(--color-card-bg);
  border-radius: 1.25rem;
  padding: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.blog__header {
  text-align: left;
  margin-bottom: 3rem;
}

.blog__title {
  font-family: var(--font-headline);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--color-btn-text);
  margin-bottom: 1rem;
}

.blog__desc {
  font-size: 1.375rem;
  color: var(--color-text-muted);
  max-width: 30rem;
}

/* Slider wrapper */
.blog__slider-wrapper {
  overflow: hidden;
}

.blog__slider {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Blog card: dark bg, image left, content right */
.blog-card {
  flex: 0 0 calc(50% - 1rem);
  scroll-snap-align: start;
  background: var(--color-bg-start);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  color: var(--color-text-primary);
  overflow: hidden;
}

.blog-card__img {
  width: 12rem;
  height: 12rem;
  min-width: 12rem;
  border-radius: 0.75rem;
  object-fit: cover;
  flex-shrink: 0;
}

.blog-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.blog-card__title {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-text-primary);
}

.blog-card__title a,
.blog-card__title a:visited,
.blog-card__title a:hover,
.blog-card__title a:focus,
.blog-card__title a:active,
.blog-card__image-link,
.blog-card__image-link:visited,
.blog-card__image-link:hover,
.blog-card__image-link:focus,
.blog-card__image-link:active {
  color: var(--color-text-primary) !important;
  text-decoration: none;
}

.blog-card__title a:hover,
.blog-card__title a:focus {
  color: #90C8F0 !important;
}

.blog-card__text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.blog-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 8rem;
  height: 2.5rem;
  border: 1px solid var(--color-text-secondary);
  border-radius: 0.5rem;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.blog-card__btn:hover {
  background: var(--color-text-secondary);
  color: var(--color-bg-start);
}

.blog-card__btn:visited {
  color: var(--color-text-secondary);
}

/* Slider dots */
.blog__controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.blog__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.3s ease;
}

.blog__dot.active {
  background: var(--color-sky-blue);
}

/* 7. CONTACT FORM */
.form-section {
  background: var(--color-light-bg);
  padding: 10rem var(--container-padding);
  position: relative;
  display: flex;
  justify-content: flex-end;
  overflow: hidden;
}

.form-section__shape {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 100%;
  width: auto;
  z-index: 1;
  pointer-events: none;
  filter: brightness(0) saturate(100%) invert(87%) sepia(10%) saturate(400%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.form-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 60rem;
}

.form__title {
  font-family: var(--font-headline);
  font-size: 5rem;
  font-weight: 600;
  color: var(--color-btn-text);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.form__desc {
  font-size: 1.8rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
}

.wpcf7-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.wpcf7-form p { margin: 0; }
.form-full-width { grid-column: span 2; }

.wpcf7-text, .wpcf7-email, .wpcf7-tel, .wpcf7-select {
  width: 100% !important;
  height: 4rem !important;
  background: white !important;
  border: 1px solid rgba(0,0,0,0.05) !important;
  border-radius: 0.75rem !important;
  padding: 0 1.5rem !important;
  font-size: 1.2rem !important;
  color: var(--color-btn-text) !important;
  outline: none !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03) !important;
  font-family: var(--font-body) !important;
}

.wpcf7-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231e2d3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1.5rem center !important;
  background-size: 1.2rem !important;
  cursor: pointer;
}

/* Ajuste específico para garantir que o select não tenha bordas azuis nativas no mobile */
.wpcf7-select:focus {
  border-color: var(--color-sky-blue) !important;
}

.wpcf7-checkbox {
  display: flex !important;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.wpcf7-list-item {
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center;
}

.wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  color: var(--color-btn-text);
  cursor: pointer;
}

.wpcf7-list-item input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--color-sky-blue);
  cursor: pointer;
}

.wpcf7-list-item label select {
  margin-left: 0.5rem;
}

.wpcf7-submit {
  grid-column: span 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  min-width: 12rem !important;
  padding: 0 2.5rem !important;
  height: 3.5rem !important;
  background: #1e2d3a !important;
  color: #f5f4f0 !important;
  border: none !important;
  border-radius: 0.75rem !important;
  font-size: 1.125rem !important;
  font-weight: 500 !important;
  font-family: 'DM Sans', sans-serif !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  margin-top: 1rem !important;
  text-decoration: none !important;
}

.wpcf7-submit:hover { opacity: 0.9 !important; transform: translateY(-2px) !important; }

/* 8. FOOTER */
.footer {
  background: white;
  padding: 5rem var(--container-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.footer-logo .logo__icon img:nth-child(1),
.footer-logo .logo__icon img:nth-child(2) {
  filter: brightness(0) saturate(100%) invert(48%) sepia(95%) saturate(1200%) hue-rotate(193deg) brightness(103%) contrast(104%);
}

.footer__copyright {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  font-weight: 500;
}

/* 9. SINGLE POST REFINED */
.single-post-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-bg-start) 0%, var(--color-bg-end) 100%);
  display: flex;
  flex-direction: column;
}

.single-post__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 4rem var(--container-padding);
}

.post-single {
  max-width: 65rem;
  margin: 0 auto;
  width: 100%;
}

.post-header-refined {
  margin-bottom: 4rem;
  text-align: left;
}

.post-title-refined {
  font-family: var(--font-headline);
  font-size: 5rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-text-primary);
  margin-bottom: 2rem;
}

.post-description-refined {
  font-family: var(--font-body);
  font-size: 1.8rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin-bottom: 3rem;
  max-width: 50rem;
}

.post-meta-bar {
  display: flex;
  gap: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.post-meta-bar a {
  color: var(--color-sky-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-meta-bar a:hover {
  color: var(--color-divider-start);
}

.post-meta-bar a:visited {
  color: var(--color-sky-blue);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.meta-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
}

.meta-value {
  font-size: 1.125rem;
  color: var(--color-text-primary);
  font-family: var(--font-body);
}

.meta-author-item {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.meta-author-avatar img {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-sky-blue);
  object-fit: cover;
}

.meta-author-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.meta-author-name {
  font-weight: 600;
}

.post-featured-image-refined {
  margin-bottom: 5rem;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.post-featured-image-refined img {
  width: 100%;
  height: auto;
  display: block;
}

.post-content {
  font-family: var(--font-body);
  font-size: 1.375rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.post-content p { margin-bottom: 2.5rem; }

.post-content h2, .post-content h3 {
  font-family: var(--font-headline);
  color: var(--color-text-primary);
  margin: 4rem 0 2rem;
}

.post-content a {
  color: var(--color-sky-blue);
  text-decoration: underline;
  text-decoration-color: rgba(0, 168, 255, 0.4);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.post-content a:hover {
  color: var(--color-divider-start);
  text-decoration-color: rgba(144, 200, 240, 0.6);
}

.post-content a:visited {
  color: var(--color-sky-blue);
}

.post-share {
  margin-top: 6rem;
  padding: 4rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.share-title {
  font-family: var(--font-headline);
  font-size: 1.8rem;
  color: var(--color-text-primary);
  margin-bottom: 2rem;
  display: block;
}

.share-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.share-link {
  color: var(--color-text-secondary);
  width: 3rem;
  height: 3rem;
  transition: all 0.3s ease;
}

.share-link:hover {
  color: var(--color-sky-blue);
  transform: translateY(-5px);
}

.post-author-box {
  margin-top: 6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-card);
  padding: 4rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.author-avatar img {
  border-radius: 50%;
  border: 3px solid var(--color-sky-blue);
  width: 100px;
  height: 100px;
}

.author-name {
  font-family: var(--font-headline);
  font-size: 2.25rem;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
}

.author-description {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  opacity: 0.9;
}

.post-form-section {
  margin: 8rem 0;
  background: var(--color-light-bg);
  padding: 8rem 0;
  border-radius: var(--radius-card);
  width: 100%;
}

.post-form-section .form-container {
  max-width: 50rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.recommended-posts { margin-top: 10rem; }

.recommended-title {
  font-family: var(--font-headline);
  font-size: 3.5rem;
  color: var(--color-text-primary);
  margin-bottom: 4rem;
  text-align: center;
}

.recommended-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 2.5rem;
}

.recommended-grid .blog-card {
  flex: 1;
  min-width: 0;
}

@media (max-width: 1200px) {
  .recommended-grid {
    grid-template-columns: 1fr;
  }
}

.post-footer {
  margin-top: 10rem;
  padding: 6rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

.post-navigation-links {
  margin-top: 2rem;
}

/* 10. RESPONSIVE */
@media (max-width: 1024px) {
  .blog-card { flex: 0 0 100%; }
}

@media (max-width: 768px) {
  :root { --container-padding: 1.5rem; }
  .hero__headline { font-size: 3.5rem; min-height: 8rem; }
  
  /* Grid & Forms */
  .services__grid, .recommended-grid { grid-template-columns: 1fr; }
  .wpcf7-form { display: flex; flex-direction: column; gap: 1.25rem; }
  .wpcf7-form-control-wrap { width: 100% !important; }
  .wpcf7-text, .wpcf7-email, .wpcf7-tel, .wpcf7-select, .wpcf7-submit { width: 100% !important; max-width: 100% !important; }
  .form-full-width, .wpcf7-submit { grid-column: auto !important; }

  /* FAQ Mobile */
  .faq { flex-direction: column; gap: 3rem; padding: 5rem var(--container-padding); }
  .faq__title { font-size: 2.5rem; }
  .faq-item__question { font-size: 1.3rem; }
  .faq-item__answer { font-size: 1rem; }

  .post-title-refined { font-size: 3rem; }
  .post-meta-bar { flex-direction: column; gap: 2rem; }
  .meta-author-item { align-items: center; }
  .post-author-box { flex-direction: column; text-align: center; }
  
  /* Blog mobile: cards empilhados */
  .blog__container { padding: 2rem 1.25rem; }
  .blog__title { font-size: 2.2rem; }
  .blog__slider { flex-direction: column; transform: none !important; }
  .blog__slider-wrapper { overflow: visible; }
  .blog-card { flex: 0 0 auto; width: 100%; flex-direction: column; height: auto; }
  .blog-card__img { width: 100%; height: 14rem; min-width: unset; border-radius: 0.75rem; }
  .blog__controls { display: none; }
}

/* --- CUSTOM FIXES --- */

/* Mobile responsiveness for blog post form */
@media (max-width: 768px) {
  .post-form-section .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .post-form-section .wpcf7-form-control-wrap {
    width: 100%;
  }
  
  .post-form-section input, 
  .post-form-section select, 
  .post-form-section textarea {
    width: 100% !important;
  }
}

/* Reduce spacing below recommended posts and back button */
.recommended-posts {
  margin-top: 6rem;
  margin-bottom: 2rem;
}

.post-footer {
  margin-top: 4rem;
  padding: 3rem 0;
}

.post-navigation-links {
  margin-top: 1rem;
}


/* ============================================================
   FORM HOTFIX - Solucao de Interesse as multi-select dropdown
============================================================ */
.graecus-interest-dropdown {
  position: relative;
  width: 100%;
  z-index: 5;
}

.graecus-interest-dropdown__button {
  width: 100% !important;
  min-height: 4.5rem !important;
  padding: 0 3.25rem 0 1.5rem !important;
  border: 1px solid rgba(74, 96, 112, 0.18) !important;
  border-radius: 0.75rem !important;
  background-color: #f5f4f0 !important;
  color: #1e2d3a !important;
  font-family: var(--font-body) !important;
  font-size: 1.15rem !important;
  line-height: 1.2 !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03) !important;
  cursor: pointer !important;
  text-align: left !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
}

.graecus-interest-dropdown__button:focus {
  outline: none !important;
  border-color: var(--color-sky-blue) !important;
  box-shadow: 0 0 0 3px rgba(144, 200, 240, 0.28) !important;
}

.graecus-interest-dropdown__text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #6d7278;
}

.graecus-interest-dropdown.has-selection .graecus-interest-dropdown__text {
  color: #1e2d3a;
}

.graecus-interest-dropdown__chevron {
  flex: 0 0 auto;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid #1e2d3a;
  border-bottom: 2px solid #1e2d3a;
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform 160ms ease;
  margin-left: 0.75rem;
}

.graecus-interest-dropdown.is-open .graecus-interest-dropdown__chevron {
  transform: rotate(-135deg);
}

.graecus-interest-dropdown__panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  display: none;
  padding: 0.5rem;
  border: 1px solid rgba(74, 96, 112, 0.18);
  border-radius: 0.75rem;
  background: #f5f4f0;
  box-shadow: 0 16px 35px rgba(6, 15, 30, 0.14);
  max-height: 17rem;
  overflow-y: auto;
  z-index: 999;
}

.graecus-interest-dropdown.is-open .graecus-interest-dropdown__panel {
  display: block;
}

.graecus-interest-dropdown__option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 0.6rem;
  color: #1e2d3a;
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
  user-select: none;
}

.graecus-interest-dropdown__option:hover,
.graecus-interest-dropdown__option:focus {
  background: rgba(144, 200, 240, 0.18);
  outline: none;
}

.graecus-interest-dropdown__checkbox {
  width: 1.1rem;
  height: 1.1rem;
  border: 1.5px solid rgba(74, 96, 112, 0.55);
  border-radius: 0.28rem;
  background: #fff;
  position: relative;
  flex: 0 0 auto;
}

.graecus-interest-dropdown__option.is-selected .graecus-interest-dropdown__checkbox {
  border-color: var(--color-sky-blue);
  background: var(--color-sky-blue);
}

.graecus-interest-dropdown__option.is-selected .graecus-interest-dropdown__checkbox::after {
  content: '';
  position: absolute;
  left: 0.33rem;
  top: 0.15rem;
  width: 0.32rem;
  height: 0.58rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.graecus-original-interest-options {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip: rect(0 0 0 0) !important;
}

@media (max-width: 768px) {
  .graecus-interest-dropdown__panel {
    max-height: 15rem;
  }
}

/* ============================================================
   FORM HOTFIX v2 - Multiselect layering and color fix
   - Keeps the dropdown above footer/nearby sections
   - Opens upward automatically when close to the viewport bottom
   - Matches the white background of the other form controls
============================================================ */
.form-section.graecus-dropdown-open-parent,
.post-form-section.graecus-dropdown-open-parent,
.landing-hero.graecus-dropdown-open-parent,
.landing-hero__form-card.graecus-dropdown-open-parent,
.landing-hero__form-inner.graecus-dropdown-open-parent,
.form-container.graecus-dropdown-open-parent,
.wpcf7-form.graecus-dropdown-open-parent,
.form-full-width.graecus-dropdown-open-parent,
.wpcf7-form-control-wrap[data-name*="solucao"],
.wpcf7-form-control-wrap[data-name*="interesse"] {
  overflow: visible !important;
  position: relative !important;
  z-index: 10000 !important;
}

.form-section.graecus-dropdown-open-parent {
  overflow: visible !important;
}

.footer {
  position: relative;
  z-index: 1;
}

.graecus-interest-dropdown {
  position: relative !important;
  z-index: 10001 !important;
}

.graecus-interest-dropdown__button {
  background-color: #ffffff !important;
  border-color: rgba(74, 96, 112, 0.14) !important;
  color: #1e2d3a !important;
}

.graecus-interest-dropdown__panel {
  background: #ffffff !important;
  z-index: 10002 !important;
}

.graecus-interest-dropdown.is-open-up .graecus-interest-dropdown__panel {
  top: auto !important;
  bottom: calc(100% + 0.5rem) !important;
}

.graecus-interest-dropdown__option {
  background: #ffffff;
}

/* ============================================================
   CF7 - Consentimentos e ajustes do campo Solução
============================================================ */

.form-interest-title {
  color: #000000;
  margin: 0 0 0.35rem;
  font-weight: 400;
  font-size: 1rem;
  font-family: var(--font-body);
}

.graecus-interest-dropdown__button {
  min-height: 4rem !important;
  height: 4rem !important;
}

.cf7-consents {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: -0.2rem;
}

.cf7-consent-wrap {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-btn-text);
}

.cf7-consent-wrap .wpcf7-list-item {
  margin: 0 !important;
}

.cf7-consent-wrap label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.65rem !important;
  cursor: pointer;
}

.cf7-consent-wrap input[type="checkbox"] {
  width: 1rem !important;
  height: 1rem !important;
  min-width: 1rem !important;
  margin-top: 0.18rem !important;
  accent-color: var(--color-sky-blue);
}

.cf7-consent-wrap a {
  color: var(--color-btn-text);
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 768px) {
  .cf7-consents {
    grid-column: auto;
  }
}

/* ============================================================
   BLOG ARCHIVE, CATEGORY PAGES AND HOME BLOG CTA
============================================================ */
.blog__header--with-action {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.blog__header-content {
  max-width: 34rem;
}

.blog__all-posts-btn {
  background: var(--color-btn-text) !important;
  color: #ffffff !important;
  flex: 0 0 auto;
}

.blog-archive-page {
  background: var(--color-light-bg);
  min-height: 100vh;
  color: var(--color-btn-text);
}

.blog-archive-hero {
  background: linear-gradient(135deg, var(--color-bg-start) 0%, var(--color-bg-end) 100%);
  color: var(--color-text-primary);
  padding: 2.5rem var(--container-padding) 6rem;
}

.blog-archive-logo {
  display: inline-flex;
  margin-bottom: 6rem;
}

.blog-archive-hero__content {
  max-width: 62rem;
}

.blog-archive-kicker {
  color: var(--color-sky-blue);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.blog-archive-title {
  font-family: var(--font-headline);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.blog-archive-desc {
  color: var(--color-text-secondary);
  font-size: 1.35rem;
  line-height: 1.5;
  max-width: 50rem;
}

.blog-archive-content {
  padding: 5rem var(--container-padding) 8rem;
}

.blog-filter {
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  gap: 1rem;
  align-items: end;
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(6, 15, 30, 0.08);
  margin-bottom: 1.5rem;
}

.blog-filter label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-btn-text);
  margin-bottom: 0.5rem;
}

.blog-filter input,
.blog-filter select {
  width: 100%;
  height: 3.5rem;
  border: 1px solid rgba(74, 96, 112, 0.18);
  border-radius: 0.75rem;
  padding: 0 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-btn-text);
  background: #f8fbff;
  outline: none;
}

.blog-filter select {
  cursor: pointer;
}

.blog-filter input:focus,
.blog-filter select:focus {
  border-color: var(--color-sky-blue);
  box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.12);
}

.blog-filter__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.blog-filter__submit {
  height: 3.5rem !important;
  background: var(--color-btn-text) !important;
  color: #ffffff !important;
}

.blog-filter__clear {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}

.blog-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 2.5rem;
}

.blog-category-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(74, 96, 112, 0.15);
  color: var(--color-btn-text);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-category-chip:hover,
.blog-category-chip.is-active {
  background: var(--color-btn-text);
  color: #ffffff;
  border-color: var(--color-btn-text);
}

.blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.archive-blog-card.blog-card {
  flex: none;
  width: 100%;
  min-height: 100%;
  background: var(--color-bg-start);
  flex-direction: column;
}

.archive-blog-card .blog-card__img {
  width: 100%;
  height: 14rem;
  min-width: 0;
}

.archive-blog-card .blog-card__content {
  justify-content: flex-start;
  flex: 1;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.blog-card__category {
  color: var(--color-sky-blue);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-card__date {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.85rem;
  border-radius: 0.65rem;
  background: #ffffff;
  color: var(--color-btn-text);
  font-weight: 600;
  text-decoration: none;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--color-btn-text);
  color: #ffffff;
}

.blog-empty-state {
  background: #ffffff;
  border-radius: 1rem;
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(6, 15, 30, 0.08);
}

.blog-empty-state h2 {
  font-family: var(--font-headline);
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.blog-empty-state p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

@media (max-width: 1024px) {
  .blog-filter {
    grid-template-columns: 1fr 1fr;
  }

  .blog-filter__actions {
    grid-column: span 2;
  }

  .blog-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .blog__header--with-action {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog__all-posts-btn {
    width: 100% !important;
  }

  .blog-archive-hero {
    padding: 2rem var(--container-padding) 4rem;
  }

  .blog-archive-logo {
    margin-bottom: 4rem;
  }

  .blog-archive-content {
    padding: 3rem var(--container-padding) 5rem;
  }

  .blog-filter {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .blog-filter__actions {
    grid-column: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .blog-filter__clear {
    text-align: center;
  }

  .blog-archive-grid {
    grid-template-columns: 1fr;
  }

  .archive-blog-card .blog-card__img {
    height: 13rem;
  }
}

/* ============================================================
   HOME BLOG CARDS - match archive card style with category/date
============================================================ */
.home-blog-card.blog-card {
  background: var(--color-bg-start);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow: hidden;
}

.home-blog-card .blog-card__img {
  width: 100%;
  height: 14rem;
  min-width: 0;
  border-radius: 0.75rem;
  object-fit: cover;
}

.home-blog-card .blog-card__content {
  justify-content: flex-start;
  flex: 1;
}

.home-blog-card .blog-card__text {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .home-blog-card.blog-card {
    width: 100%;
  }

  .home-blog-card .blog-card__img {
    height: 14rem;
  }
}


/* ============================================================
   LEGAL PAGES AND FOOTER LINKS
============================================================ */
.footer__legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.footer__legal-links a,
.footer__legal-links a:visited {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.footer__legal-links a:hover,
.footer__legal-links a:focus {
  color: var(--color-btn-text);
}

.legal-page-hero {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-bg-start) 0%, var(--color-bg-end) 100%);
  display: flex;
  flex-direction: column;
}

.legal-page__body {
  padding: 7rem var(--container-padding) 9rem;
}

.legal-page__article {
  width: 100%;
  max-width: 70rem;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: clamp(2rem, 4vw, 4rem);
}

.legal-page__title {
  font-family: var(--font-headline);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-text-primary);
  margin-bottom: 2.5rem;
}

.legal-page__content {
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.75;
}

.legal-page__content p,
.legal-page__content ul,
.legal-page__content ol {
  margin-bottom: 1.35rem;
}

.legal-page__content h2 {
  font-family: var(--font-headline);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 2.4rem 0 1rem;
}

.legal-page__content a,
.legal-page__content a:visited {
  color: var(--color-sky-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page__content a:hover,
.legal-page__content a:focus {
  color: var(--color-divider-start);
}

@media (max-width: 768px) {
  .footer__legal-links {
    flex-direction: column;
    gap: 0.35rem;
  }

  .footer__legal-links span {
    display: none;
  }

  .legal-page__body {
    padding: 4rem var(--container-padding) 5rem;
  }

  .legal-page__article {
    padding: 1.5rem;
    border-radius: 1rem;
  }

  .legal-page__content {
    font-size: 1rem;
  }
}

/* ============================================================
   LANDING PAGE
============================================================ */
.graecus-landing-page {
  background: var(--color-bg-start) !important;
  --landing-padding-x: 1.25rem;
  overflow-x: clip;
}

.landing-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-bg-start) 0%, var(--color-bg-end) 100%);
  padding: clamp(3rem, 6vh, 5rem) var(--landing-padding-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  overflow-x: clip;
}

.landing-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "content form"
    "logos form";
  gap: clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 5rem);
  align-items: start;
  max-width: 112rem;
  width: 100%;
  margin: 0 auto;
}

.landing-hero__content {
  grid-area: content;
  min-width: 0;
}

.landing-hero__form-card {
  grid-area: form;
  min-width: 0;
  max-width: 100%;
  background: var(--color-light-bg);
  border-radius: 1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.18);
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  align-self: center;
}

.landing-hero__logos {
  grid-area: logos;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.landing-hero__logos.hero__footer {
  padding-left: 0;
  padding-right: 0;
}

.landing-hero__logos::before {
  left: 0;
  width: 100%;
}

.landing-hero__logos .hero__footer-inner {
  padding: 1.5rem 0 0;
}

.landing-hero__form-inner {
  min-width: 0;
  max-width: 100%;
}

.landing-hero__form-inner .wpcf7-form {
  min-width: 0;
  max-width: 100%;
}

.landing-hero__logo {
  margin-bottom: 2.5rem;
}

.landing-hero__headline {
  font-family: var(--font-headline);
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-text-primary);
  max-width: 44rem;
  margin-bottom: 1.5rem;
}

.landing-hero__subtitle {
  max-width: 44rem;
  margin-bottom: 0;
}

.landing-hero__form-inner .wpcf7-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.landing-hero__form-inner label:not(.graecus-interest-dropdown__option) {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-btn-text);
  font-family: var(--font-body);
}

.landing-hero__form-inner .form-full-width,
.landing-hero__form-inner .cf7-consents {
  grid-column: span 2;
}

.landing-hero__form-inner .wpcf7-submit {
  grid-column: span 2 !important;
}

.landing-hero__form-inner select.wpcf7-select.is-placeholder {
  color: var(--color-text-muted) !important;
}

.landing-hero__form-inner select.wpcf7-select option[disabled] {
  color: var(--color-text-muted);
}

.landing-split {
  background: linear-gradient(135deg, var(--color-bg-start) 0%, var(--color-bg-end) 100%);
  padding: 8rem var(--landing-padding-x);
}

.graecus-landing-page .landing-services {
  padding: 10rem var(--landing-padding-x) !important;
}

.graecus-landing-page .landing-services .services__header,
.graecus-landing-page .landing-services .landing-services__slider-wrapper,
.graecus-landing-page .landing-services .landing-services__controls {
  max-width: 112rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.graecus-landing-page .landing-faq {
  padding-left: var(--landing-padding-x);
  padding-right: var(--landing-padding-x);
}

.graecus-landing-page .landing-footer {
  padding-left: var(--landing-padding-x);
  padding-right: var(--landing-padding-x);
}

.landing-split__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  max-width: 112rem;
  width: 100%;
  margin: 0 auto;
}

.landing-split__title {
  font-family: var(--font-headline);
  font-size: clamp(2.25rem, 3.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
}

.landing-split__text {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 1.25rem;
}

.landing-split__text:last-of-type {
  margin-bottom: 2rem;
}

.landing-split__cta {
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
}

.landing-split__media {
  width: 100%;
}

.landing-split__image {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  display: block;
  object-fit: cover;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.25);
}

.landing-faq {
  background: var(--color-bg-start);
}

.landing-services__slider-wrapper {
  overflow: visible;
}

.landing-services__controls {
  display: none;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.landing-services__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.3s ease;
  border: none;
  padding: 0;
}

.landing-services__dot.active {
  background: var(--color-sky-blue);
}

.landing-footer {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .landing-hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "form"
      "logos";
    gap: 2rem;
  }

  .landing-hero__form-card {
    align-self: stretch;
  }

  .landing-split__inner {
    grid-template-columns: 1fr;
  }

  .landing-hero__headline,
  .landing-hero__subtitle {
    max-width: none;
  }

  .landing-split__media {
    order: 2;
  }

  .graecus-landing-page .landing-services .services__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

@media (min-width: 769px) {
  .graecus-landing-page {
    --landing-padding-x: clamp(2rem, 8vw, 12rem);
  }

  .landing-hero__logos .hero__footer-inner {
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding-top: 2rem;
  }

  .landing-hero__logos .brace {
    display: block;
  }

  .landing-hero__logos .stats__text {
    font-size: 1.875rem;
    line-height: 1.4;
    white-space: nowrap;
  }

  .landing-hero__logos .logos-track-wrapper {
    flex: 1;
    margin-left: -1rem;
  }
}

@media (max-width: 768px) {
  .graecus-landing-page:not(.graecus-service-page) {
    --landing-padding-x: 1rem;
  }

  .landing-hero {
    padding-top: 1.75rem;
    padding-bottom: 2rem;
    min-height: auto;
    justify-content: flex-start;
  }

  .landing-hero__logo {
    margin-bottom: 1.25rem;
  }

  .landing-hero__logo .logo__icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .landing-hero__logo .logo__icon img:nth-child(1) {
    height: 2.4rem;
    left: 1.15rem;
  }

  .landing-hero__logo .logo__icon img:nth-child(2) {
    height: 2.45rem;
  }

  .landing-hero__logo .logo__text img {
    height: 0.95rem;
  }

  .landing-hero__subtitle {
    font-size: 1.35rem;
    line-height: 1.5;
  }

  .graecus-service-page .landing-hero__subtitle {
    font-size: 1.75rem;
  }

  .landing-hero__form-card {
    padding: 1.25rem;
  }

  .landing-hero__form-inner .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
  }

  .landing-hero__form-inner .wpcf7-form-control-wrap {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .landing-hero__form-inner .wpcf7-text,
  .landing-hero__form-inner .wpcf7-email,
  .landing-hero__form-inner .wpcf7-tel,
  .landing-hero__form-inner .wpcf7-select,
  .landing-hero__form-inner .graecus-interest-dropdown,
  .landing-hero__form-inner .graecus-interest-dropdown__button {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .landing-hero__form-inner .form-full-width,
  .landing-hero__form-inner .cf7-consents,
  .landing-hero__form-inner .wpcf7-submit {
    grid-column: auto !important;
  }

  .landing-hero__form-inner .wpcf7-submit {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .landing-hero__logos {
    margin-top: 0.5rem;
  }

  .landing-hero__logos .hero__footer-inner {
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 0 0;
    gap: 0;
    text-align: center;
  }

  .landing-hero__logos .brace {
    display: none;
  }

  .landing-hero__logos .stats {
    width: 100%;
  }

  .landing-hero__logos .stats__text {
    white-space: normal;
    font-size: clamp(1.85rem, 5.5vw, 2.15rem);
    line-height: 1.35;
    text-align: center;
  }

  .landing-hero__logos .logos-track-wrapper {
    width: 100%;
    margin-left: 0;
    flex: none;
    padding-top: 2.5rem;
  }

  .landing-split__inner,
  .landing-split__content,
  .landing-split__media {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .landing-services__slider-wrapper {
    overflow: hidden;
  }

  .landing-services .landing-services__slider {
    display: flex;
    gap: 0;
    transition: transform 0.35s ease;
    grid-template-columns: none;
  }

  .landing-services .landing-services__slider .service-card {
    flex: 0 0 100%;
    min-width: 100%;
    min-height: auto;
  }

  .landing-services__controls {
    display: flex;
  }

  .graecus-landing-page .landing-services {
    padding: 5rem var(--landing-padding-x) !important;
  }

  .landing-split {
    padding: 5rem var(--landing-padding-x);
  }

  .graecus-landing-page .landing-faq {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

/* ============================================
   NAVBAR MENU
   ============================================ */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.navbar__menu {
  display: flex;
  align-items: center;
}

.navbar__list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar__item {
  position: relative;
}

.navbar__link,
.navbar__sub-toggle {
  background: none;
  border: none;
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.navbar__link:hover,
.navbar__sub-toggle:hover {
  color: var(--color-text-primary);
}

.navbar__chevron {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

.navbar__item--has-sub.is-open .navbar__chevron {
  transform: rotate(-135deg) translateY(1px);
}

.navbar__submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 14rem;
  background: #0a1a30;
  border: 1px solid rgba(201, 216, 232, 0.15);
  border-radius: 0.75rem;
  padding: 0.75rem 0.5rem 0.5rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 100;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.navbar__item--has-sub.is-open .navbar__submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.navbar__sublink {
  display: block;
  padding: 0.65rem 0.85rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.navbar__sublink:hover {
  background: rgba(234, 244, 255, 0.08);
  color: var(--color-text-primary);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  width: auto;
  min-width: 3.5rem;
  height: 3.5rem;
  padding: 0 0.85rem;
  background: transparent;
  border: 1.64px solid var(--color-text-secondary);
  border-radius: var(--radius-btn);
  cursor: pointer;
  flex-shrink: 0;
}

.navbar__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text-secondary);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar__backdrop {
  display: none;
}

.navbar__toggle.is-active .navbar__toggle-bar:nth-child(1) {
  transform: translateY(0.45rem) rotate(45deg);
}

.navbar__toggle.is-active .navbar__toggle-bar:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.is-active .navbar__toggle-bar:nth-child(3) {
  transform: translateY(-0.45rem) rotate(-45deg);
}

.service-card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-card--link:hover {
  background: #b8cce0;
}

/* Service pages — same horizontal rhythm as home */
.graecus-service-page {
  --landing-padding-x: var(--container-padding);
}

.graecus-service-page .service-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 0 clamp(3rem, 6vh, 5rem);
  box-sizing: border-box;
}

.graecus-service-page .service-hero > .navbar {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 2.0625rem var(--container-padding) 0;
  flex-shrink: 0;
}

.graecus-service-page .service-hero > .navbar::after {
  left: var(--container-padding);
  width: calc(100% - (var(--container-padding) * 2));
}

.graecus-service-page .service-hero .landing-hero__inner {
  flex: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  align-content: center;
  padding: clamp(2rem, 4vh, 3.5rem) var(--container-padding) 0;
  box-sizing: border-box;
}

.graecus-service-page .landing-hero__headline {
  font-size: 5.5rem;
  line-height: 1.1;
  max-width: none;
}

.graecus-service-page .landing-hero__subtitle {
  font-size: 2.25rem;
  line-height: 1.5;
  max-width: 45rem;
}

.graecus-service-page .service-sub-services {
  padding: 10rem var(--container-padding) !important;
}

.graecus-service-page .service-sub-services__grid {
  grid-template-columns: repeat(3, 1fr);
}

.graecus-service-page .service-sub-services__grid .service-card:nth-child(4),
.graecus-service-page .service-sub-services__grid .service-card:nth-child(5) {
  /* allow 5-card grids on midia-paga */
}

.graecus-service-page .landing-split__title {
  font-size: 3.5rem;
  line-height: 1.1;
}

.graecus-service-page .landing-split__text {
  font-size: 1.375rem;
  line-height: 1.5;
}

.graecus-service-page .service-split {
  padding: 8rem var(--container-padding);
}

.graecus-service-page .service-faq {
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

@media (max-width: 1024px) {
  .graecus-service-page .service-sub-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* About page */
.about-hero {
  min-height: 60vh;
  background: linear-gradient(135deg, var(--color-bg-start) 0%, var(--color-bg-end) 100%);
  display: flex;
  flex-direction: column;
}

.about-hero > .navbar::after {
  display: none;
}

.blog-archive-hero > .navbar {
  margin-bottom: 3rem;
}

.blog-archive-hero > .navbar::after {
  display: none;
}

.about-hero__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem var(--container-padding) 6rem;
  max-width: 60rem;
}

.about-hero__kicker {
  color: var(--color-sky-blue);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.about-hero__title {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.about-hero__subtitle {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.about-split {
  padding: 8rem var(--container-padding);
  background: var(--color-light-bg);
}

.about-values {
  padding: 8rem var(--container-padding);
  background: var(--color-light-bg);
}

.about-values__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.about-values__title {
  font-family: var(--font-headline);
  font-size: 3rem;
  font-weight: 600;
  color: var(--color-btn-text);
  margin-bottom: 3rem;
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.about-values__card {
  background: var(--color-card-bg);
  border-radius: var(--radius-card);
  padding: 2rem;
}

.about-values__card h3 {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  color: var(--color-btn-text);
  margin-bottom: 0.75rem;
}

.about-values__card p {
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(20rem, 88vw);
    height: 100vh;
    background: var(--color-light-bg);
    padding: 5.5rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 120;
    align-items: flex-start;
    overflow-y: auto;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  }

  .navbar__menu.is-open ~ .navbar__backdrop,
  body.navbar-open .navbar__backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .navbar__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(6, 15, 30, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 110;
  }

  .navbar__menu.is-open {
    transform: translateX(0);
  }

  .navbar__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .navbar__item {
    border-bottom: 1px solid rgba(30, 45, 58, 0.1);
  }

  .navbar__link,
  .navbar__sub-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 1rem 0;
    font-size: 1.1rem;
    color: var(--color-btn-text);
  }

  .navbar__submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0.5rem;
    display: none;
  }

  .navbar__item--has-sub.is-open .navbar__submenu {
    display: block;
  }

  .navbar__sublink {
    padding: 0.65rem 0 0.65rem 1rem;
    font-size: 1rem;
    color: var(--color-text-muted);
  }

  .navbar__sublink:hover {
    background: rgba(30, 45, 58, 0.06);
    color: var(--color-btn-text);
  }

  .navbar__cta {
    order: -1;
  }

  .navbar__actions {
    gap: 0.75rem;
  }

  body.navbar-open {
    overflow: hidden;
  }

  .graecus-service-page {
    --landing-padding-x: var(--container-padding);
  }

  .graecus-service-page .landing-hero__headline {
    font-size: 3.5rem;
    line-height: 1.1;
  }

  .graecus-service-page .landing-hero__subtitle {
    font-size: 1.75rem;
    line-height: 1.5;
  }

  .graecus-service-page .services__title,
  .graecus-service-page .landing-split__title {
    font-size: 2.5rem;
  }

  .graecus-service-page .services__paragraph,
  .graecus-service-page .landing-split__text,
  .graecus-service-page .faq__paragraph {
    font-size: 1.125rem;
  }

  .graecus-service-page .services__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .graecus-service-page .service-sub-services {
    padding: 5rem var(--container-padding) !important;
  }

  .graecus-service-page .service-sub-services__grid {
    grid-template-columns: 1fr;
  }

  .graecus-service-page .service-split {
    padding: 5rem var(--container-padding);
  }

  .graecus-service-page .service-faq {
    padding: 5rem var(--container-padding);
  }

  .graecus-service-page .service-hero .landing-hero__inner {
    padding-top: 2rem;
  }

  .about-split,
  .about-values {
    padding: 5rem var(--container-padding);
  }

  .about-values__grid {
    grid-template-columns: 1fr;
  }

  .blog-archive-hero .navbar {
    margin-bottom: 2rem;
  }
}
