/*
Theme Name: Grupo MYR Corporate v4
Theme URI: https://grupomyr.com.br
Author: Grupo MYR / Manus AI
Author URI: https://grupomyr.com.br
Description: Tema corporativo do Grupo MYR — Soluções Sustentáveis de Classe Mundial. 100% gerenciável pelo painel do WordPress.
Version: 4.6.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: grupomyr
Tags: corporate, sustainability, esg, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ============================================
   GRUPO MYR — DESIGN SYSTEM v4.4
   Cores: Verde #007680 · Cinza #787878 · Bege #dcdeda · Dark Teal #0A2E36
   Tipografia: Cabin (títulos) + Roboto (corpo)
   ============================================ */

:root {
    --myr-verde: #007680;
    --myr-verde-hover: #005f67;
    --myr-verde-20: #48bbc0;
    --myr-dark-teal: #0A2E36;
    --myr-cinza: #787878;
    --myr-bege: #dcdeda;
    --myr-bg-light: #F5F5F3;
    --myr-white: #ffffff;
    --myr-text-dark: #1a1a1a;
    --myr-text-body: #4a4a4a;
    --myr-text-muted: #6b7280;
    --myr-radius: 8px;
    --myr-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --myr-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--myr-text-dark);
    background: var(--myr-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cabin', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--myr-text-dark);
}

a {
    text-decoration: none;
    color: var(--myr-verde);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--myr-verde-hover);
}

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

ul, ol {
    list-style: none;
}

p {
    margin-bottom: 1em;
}

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

section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header--center {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--myr-verde);
    margin-bottom: 12px;
}

.section-title {
    font-size: 38px;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--myr-text-body);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: 'Cabin', sans-serif;
    font-weight: 600;
    font-size: 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    gap: 8px;
}

.btn-primary {
    background-color: var(--myr-verde);
    color: var(--myr-white);
}

.btn-primary:hover {
    background-color: var(--myr-verde-hover);
    color: var(--myr-white);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--myr-verde);
    color: var(--myr-verde);
}

.btn-outline:hover {
    background-color: var(--myr-verde);
    color: var(--myr-white);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.myr-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 9999;
    transition: all 0.3s ease;
}

/* Sticky: fundo verde escuro (mantém identidade) */
.myr-header.scrolled {
    background: var(--myr-dark-teal);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Páginas internas: fundo verde desde o início */
body:not(.home-page) .myr-header {
    background: var(--myr-dark-teal);
}

/* Menu: branco sempre (fundo verde em ambos os estados) */
.myr-header.scrolled .myr-nav > ul > li > a {
    color: #ffffff;
}

/* Logo light/dark switching */
.myr-logo .logo-dark {
    display: none;
}

.myr-logo .logo-light {
    display: block;
}

/* Se não houver logo light/dark, manter logo visível */
.myr-header.scrolled .myr-logo img {
    filter: none;
}

/* Fallback: se usar custom-logo padrão do WP */
.myr-header .custom-logo-link img {
    transition: filter 0.3s ease;
}

.myr-header .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 80px;
    gap: 40px;
}

.myr-logo {
    margin-right: auto;
    flex-shrink: 0;
}

.myr-logo img,
.myr-logo .custom-logo {
    max-height: 50px;
    width: auto;
    transition: opacity 0.3s ease;
}

/* Navigation */
.myr-nav {
    display: flex;
    align-items: center;
}

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

.myr-nav > ul > li {
    position: relative;
}

/* Menu principal: fonte BRANCA (contrasta com fundo verde) */
.myr-nav > ul > li > a {
    display: block;
    padding: 10px 16px;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.myr-nav > ul > li > a:hover,
.myr-nav > ul > li.current-menu-item > a {
    color: var(--myr-verde-20);
}

/* Submenu / Dropdown: fundo branco, fonte ESCURA */
.myr-nav ul ul,
.myr-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--myr-white);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-radius: var(--myr-radius);
    border-top: 3px solid var(--myr-verde);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10000;
}

.myr-nav > ul > li:hover > ul,
.myr-nav > ul > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.myr-nav .sub-menu li {
    display: block;
}

/* Submenu: fonte escura para legibilidade */
.myr-nav .sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--myr-text-dark);
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.myr-nav .sub-menu li a:hover {
    color: var(--myr-verde);
    background: var(--myr-bg-light);
    padding-left: 24px;
}

/* Language Flags */
.myr-nav .lang-item img,
.lang-item img {
    width: 24px !important;
    height: auto !important;
    vertical-align: middle;
    display: inline-block;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--myr-white);
    cursor: pointer;
    z-index: 10001;
    padding: 10px;
}

.myr-header.scrolled .menu-toggle {
    color: var(--myr-white);
}

/* ============================================
   HERO SECTION
   ============================================ */
.myr-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--myr-dark-teal);
    color: var(--myr-white);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Hero Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroFade 20s infinite;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 5s; }
.hero-slide:nth-child(3) { animation-delay: 10s; }
.hero-slide:nth-child(4) { animation-delay: 15s; }

.hero-slide--default {
    opacity: 1;
    animation: none;
    background: var(--myr-dark-teal);
}

@keyframes heroFade {
    0%   { opacity: 0; }
    5%   { opacity: 1; }
    25%  { opacity: 1; }
    30%  { opacity: 0; }
    100% { opacity: 0; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 77, 77, 0.75) 0%, rgba(0, 51, 51, 0.85) 100%);
    z-index: 1;
}

.myr-hero .container {
    position: relative;
    z-index: 2;
}

.myr-hero h1 {
    color: var(--myr-white);
    font-size: 52px;
    margin-bottom: 24px;
    max-width: 700px;
}

.myr-hero p {
    font-size: 20px;
    max-width: 600px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-buttons .btn-outline {
    color: var(--myr-white);
    border-color: var(--myr-white);
}

.hero-buttons .btn-outline:hover {
    background-color: var(--myr-white);
    color: var(--myr-dark-teal);
}

/* ============================================
   SOBRE / ABOUT
   ============================================ */
.myr-about {
    background-color: var(--myr-bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper img {
    border-radius: var(--myr-radius);
    width: 100%;
}

.about-content .section-label {
    margin-bottom: 12px;
}

.about-content .section-title {
    font-size: 32px;
    margin-bottom: 24px;
}

.about-content p {
    color: var(--myr-text-body);
    margin-bottom: 16px;
}

.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 14px;
    background: var(--myr-white);
    padding: 10px 16px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.badge-item i {
    color: var(--myr-verde);
    font-size: 18px;
}

/* ============================================
   SOLUÇÕES
   ============================================ */
.myr-solutions {
    background: var(--myr-bg-light);
    padding: 100px 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.solution-card-link {
    text-decoration: none;
    color: inherit;
}

.solution-card {
    background: var(--myr-white);
    border-radius: var(--myr-radius);
    overflow: hidden;
    box-shadow: var(--myr-shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.solution-card:hover {
    box-shadow: var(--myr-shadow-hover);
    transform: translateY(-4px);
}

.solution-image {
    height: 180px;
    overflow: hidden;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.solution-card:hover .solution-image img {
    transform: scale(1.05);
}

.solution-content {
    padding: 24px;
}

.solution-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--myr-text-dark);
}

.solution-excerpt {
    font-size: 14px;
    color: var(--myr-text-muted);
    line-height: 1.6;
}

/* ============================================
   ECOSSISTEMA
   ============================================ */
.myr-ecosystem {
    background: var(--myr-white);
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.ecosystem-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.ecosystem-card {
    background: var(--myr-white);
    padding: 40px 30px;
    border-radius: var(--myr-radius);
    box-shadow: var(--myr-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ecosystem-card-link:hover .ecosystem-card {
    transform: translateY(-5px);
    box-shadow: var(--myr-shadow-hover);
}

.ecosystem-logo {
    margin-bottom: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ecosystem-logo img {
    max-height: 80px;
    width: auto;
    margin: 0 auto;
}

.ecosystem-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--myr-text-dark);
}

/* ============================================
   LIDERANCA
   ============================================ */
.myr-leadership {
    background: var(--myr-bg-light);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.leader-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.leader-card {
    background: var(--myr-white);
    border-radius: var(--myr-radius);
    overflow: hidden;
    box-shadow: var(--myr-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 30px;
}

.leader-card-link:hover .leader-card {
    transform: translateY(-5px);
    box-shadow: var(--myr-shadow-hover);
}

.leader-info {
    padding: 0;
}

.leader-name {
    font-size: 20px;
    margin-bottom: 8px;
}

/* ============================================
   IMPACTO
   ============================================ */
.myr-impact {
    background-color: var(--myr-dark-teal);
    color: var(--myr-white);
}

.myr-impact .section-title,
.myr-impact .section-label {
    color: var(--myr-white);
}

.myr-impact .section-label {
    color: var(--myr-verde-20);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    text-align: center;
}

.impact-stat {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--myr-radius);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.impact-number {
    font-size: 48px;
    font-family: 'Cabin', sans-serif;
    font-weight: 700;
    color: var(--myr-verde-20);
    margin-bottom: 8px;
}

.impact-label {
    font-size: 14px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ============================================
   INSIGHTS / BLOG
   ============================================ */
.myr-insights {
    background: var(--myr-white);
}

.insights-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.insight-card {
    background: var(--myr-white);
    border-radius: var(--myr-radius);
    overflow: hidden;
    box-shadow: var(--myr-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--myr-shadow-hover);
}

.insight-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.insight-content {
    padding: 24px;
}

.insight-meta {
    font-size: 12px;
    color: var(--myr-cinza);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.insight-category {
    color: var(--myr-verde);
    font-weight: 600;
}

.insight-title {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.insight-title a {
    color: var(--myr-text-dark);
}

.insight-title a:hover {
    color: var(--myr-verde);
}

.insight-excerpt {
    font-size: 14px;
    color: var(--myr-text-body);
    line-height: 1.6;
}

/* ============================================
   NOVIDADES (Page Template)
   ============================================ */
.page-header-section {
    background: var(--myr-dark-teal);
    color: var(--myr-white);
    padding: 140px 0 60px;
    text-align: center;
}

.page-header-section h1 {
    color: var(--myr-white);
    font-size: 42px;
}

.myr-novidades {
    padding: 60px 0 100px;
}

.novidades-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-btn {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid var(--myr-bege);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--myr-text-body);
    text-decoration: none;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--myr-verde);
    color: var(--myr-white);
    border-color: var(--myr-verde);
}

.insights-grid--archive {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.novidades-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.novidades-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--myr-radius);
    background: var(--myr-white);
    color: var(--myr-text-body);
    text-decoration: none;
    font-size: 14px;
    border: 1px solid var(--myr-bege);
    transition: all 0.3s ease;
}

.novidades-pagination .page-numbers.current,
.novidades-pagination .page-numbers:hover {
    background: var(--myr-verde);
    color: var(--myr-white);
    border-color: var(--myr-verde);
}

/* Native Clients Carousel (infinite scroll, no plugin) */
.clients-carousel-wrapper {
    overflow: hidden;
    margin-top: 40px;
    position: relative;
}

.clients-carousel-wrapper::before,
.clients-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--myr-dark-teal), transparent);
}

.clients-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--myr-dark-teal), transparent);
}

.clients-carousel-track {
    display: flex;
    gap: 24px;
    animation: clientsScroll 40s linear infinite;
    width: max-content;
}

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

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

.client-logo-card {
    flex-shrink: 0;
    width: 140px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--myr-radius);
    padding: 16px;
    transition: background 0.3s ease;
}

/* Esconder cards sem imagem (fix quadrados brancos) */
.client-logo-card:empty {
    display: none;
}

.client-logo-card:hover {
    background: rgba(255, 255, 255, 0.15);
}

.client-logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Fix: imagens com src vazio ou quebradas */
.client-logo-card img[src=""],
.client-logo-card img:not([src]) {
    display: none;
}

.client-logo-card:hover img {
    opacity: 1;
}

/* ============================================
   YOUTUBE SECTION
   ============================================ */
.youtube-section {
    margin-top: 40px;
}

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

.youtube-card {
    background: var(--myr-white);
    border-radius: var(--myr-radius);
    overflow: hidden;
    box-shadow: var(--myr-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.youtube-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--myr-shadow-hover);
}

.youtube-thumb {
    display: block;
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.youtube-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 0, 0, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.youtube-card:hover .youtube-play {
    transform: translate(-50%, -50%) scale(1.1);
}

.youtube-info {
    padding: 16px;
}

.youtube-info time {
    font-size: 12px;
    color: var(--myr-text-muted);
    display: block;
    margin-bottom: 6px;
}

.youtube-info h4 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.youtube-info h4 a {
    color: var(--myr-text-dark);
    transition: color 0.3s ease;
}

.youtube-info h4 a:hover {
    color: var(--myr-verde);
}

/* ============================================
   CONTATO
   ============================================ */
.myr-contact {
    background: var(--myr-bg-light);
}

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

.contact-info .section-label {
    margin-bottom: 12px;
}

.contact-info .section-title {
    margin-bottom: 16px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 24px;
}

.contact-item i {
    color: var(--myr-verde);
    font-size: 20px;
    margin-top: 4px;
    width: 24px;
    text-align: center;
}

.contact-item strong {
    display: block;
    margin-bottom: 2px;
}

/* Contact Form 7 Styling */
.contact-form-wrapper .wpcf7-form {
    background: var(--myr-white);
    padding: 40px;
    border-radius: var(--myr-radius);
    box-shadow: var(--myr-shadow);
}

.contact-form-wrapper .wpcf7-form label {
    display: block;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--myr-text-body);
}

.contact-form-wrapper .wpcf7-form input[type="text"],
.contact-form-wrapper .wpcf7-form input[type="email"],
.contact-form-wrapper .wpcf7-form input[type="tel"],
.contact-form-wrapper .wpcf7-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s ease;
    margin-top: 6px;
}

.contact-form-wrapper .wpcf7-form input:focus,
.contact-form-wrapper .wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--myr-verde);
}

.contact-form-wrapper .wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form-wrapper .wpcf7-form input[type="submit"] {
    background-color: var(--myr-verde);
    color: var(--myr-white);
    border: none;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Cabin', sans-serif;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.contact-form-wrapper .wpcf7-form input[type="submit"]:hover {
    background-color: var(--myr-verde-hover);
}

/* ============================================
   FOOTER
   ============================================ */
.myr-footer {
    background-color: var(--myr-dark-teal);
    color: var(--myr-white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img,
.footer-logo .custom-logo {
    max-height: 50px;
    width: auto;
    height: auto;
    max-width: 160px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.myr-footer p {
    opacity: 0.8;
    font-size: 14px;
    line-height: 1.6;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--myr-white);
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--myr-verde);
    color: var(--myr-white);
}

.footer-heading {
    color: var(--myr-white);
    margin-bottom: 24px;
    font-size: 18px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: var(--myr-white);
    opacity: 0.7;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.footer-menu a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    opacity: 0.5;
}

/* WhatsApp Button (Ajuste 7) */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25D366;
    color: white !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    color: white !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .myr-hero h1 {
        font-size: 40px;
    }

    .about-grid {
        gap: 40px;
    }

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

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .myr-header .container {
        height: 70px;
    }

    .myr-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--myr-dark-teal);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
        padding: 20px;
    }

    .myr-nav.active {
        display: block;
    }

    .myr-nav.active ul > li > a {
        color: #ffffff;
    }

    .myr-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .myr-nav > ul > li > a {
        padding: 12px 0;
    }

    .myr-nav .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        background: transparent;
        border-top: none;
    }

    .myr-nav .sub-menu li a {
        color: rgba(255, 255, 255, 0.8);
    }

    .myr-nav .sub-menu li a:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.1);
    }

    .menu-toggle {
        display: block;
    }

    .myr-hero h1 {
        font-size: 32px;
    }

    .myr-hero p {
        font-size: 17px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title {
        font-size: 28px;
    }

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

    .youtube-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

    .insights-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

/* ============================================
   UTILITIES & OVERRIDES
   ============================================ */

/* Override WP block styles that conflict */
.wp-block-image img {
    border-radius: var(--myr-radius);
}

/* Polylang flags in menu — header and footer */
.myr-nav .lang-item,
.myr-footer .lang-item,
.menu-item-language {
    padding: 0 8px;
}

.myr-nav .lang-item img,
.myr-footer .lang-item img,
.menu-item-language img,
.myr-header img[src*="flag"],
.myr-footer img[src*="flag"],
li.lang-item img,
.pll-parent-menu-item img {
    width: 28px !important;
    height: 20px !important;
    object-fit: cover;
    border-radius: 2px;
    vertical-align: middle;
}

/* Entry content for single pages */
.entry-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--myr-text-body);
}

.entry-content h2 {
    margin-top: 40px;
    margin-bottom: 16px;
}

.entry-content h3 {
    margin-top: 30px;
    margin-bottom: 12px;
}

.entry-content p {
    margin-bottom: 1.2em;
}

.entry-content ul,
.entry-content ol {
    padding-left: 24px;
    margin-bottom: 1.2em;
    list-style: disc;
}

.entry-content a {
    text-decoration: underline;
}

/* Page header for inner pages */
.page-header-section {
    background: var(--myr-dark-teal);
    padding: 120px 0 60px;
    text-align: center;
}

.page-header-section h1 {
    color: var(--myr-white);
    font-size: 42px;
}

.page-header-section .section-label {
    color: var(--myr-verde-20);
}

/* WhatsApp button */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: var(--myr-white) !important;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    margin-top: 20px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.whatsapp-btn:hover {
    background: #1da851;
    transform: translateY(-2px);
    color: var(--myr-white) !important;
}

.whatsapp-btn i {
    font-size: 20px;
}

/* Polylang inline base64 flags — force larger size everywhere */
img.pll-flag,
.lang-item img[src^="data:image"],
li img[src^="data:image/png;base64"] {
    width: 28px !important;
    height: 20px !important;
    object-fit: cover;
    border-radius: 2px;
    vertical-align: middle;
}

/* Fix for Polylang flags in header nav specifically */
.myr-nav li img {
    width: 28px !important;
    height: 20px !important;
    object-fit: cover;
    border-radius: 2px;
}

/* Footer WhatsApp button spacing */
.footer-col .whatsapp-btn {
    margin-top: 16px;
    font-size: 14px;
    padding: 12px 20px;
}

/* Impact section — reinforce dark background and padding */
.myr-impact {
    background: var(--myr-dark-teal) !important;
    padding: 80px 0;
    color: var(--myr-white);
}

/* About image fix */
.about-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: var(--myr-radius);
    object-fit: cover;
}

/* Additional responsive: 480px breakpoint */
@media (max-width: 480px) {
    .ecosystem-grid {
        grid-template-columns: 1fr;
    }

    .impact-stats {
        grid-template-columns: 1fr;
    }

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

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

/* ============================================
   PROJETOS / EXPERIÊNCIA — v4.4
   ============================================ */

/* --- Homepage Section --- */
.myr-projetos {
    padding: 100px 0;
    background: var(--myr-bg-light);
}

.projetos-home-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid var(--myr-verde);
    border-radius: 30px;
    background: transparent;
    color: var(--myr-verde);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--myr-verde);
    color: var(--myr-white);
}

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

.projetos-grid--home {
    margin-bottom: 40px;
}

.projetos-home-cta {
    text-align: center;
    margin-top: 20px;
}

.projetos-empty-home {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--myr-text-muted);
    font-size: 16px;
}

/* --- Projeto Card --- */
.projeto-card {
    border-radius: var(--myr-radius);
    overflow: hidden;
    background: var(--myr-white);
    box-shadow: var(--myr-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projeto-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--myr-shadow-hover);
}

.projeto-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.projeto-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.projeto-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.projeto-card:hover .projeto-card-image img {
    transform: scale(1.05);
}

.projeto-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 118, 128, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.projeto-card:hover .projeto-card-overlay {
    opacity: 1;
}

.projeto-card-cta {
    color: var(--myr-white);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.projeto-card-content {
    padding: 20px;
}

.projeto-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.projeto-card-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(0, 118, 128, 0.1);
    color: var(--myr-verde);
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.projeto-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--myr-text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.projeto-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--myr-text-muted);
}

.projeto-card-meta i {
    margin-right: 4px;
    color: var(--myr-verde);
}

.projeto-card-excerpt {
    font-size: 14px;
    color: var(--myr-text-body);
    margin-top: 10px;
    line-height: 1.5;
}

/* --- Archive Page Header --- */
.page-header--projetos {
    background: linear-gradient(135deg, var(--myr-dark-teal) 0%, var(--myr-verde) 100%);
    padding: 120px 0 60px;
    color: var(--myr-white);
    text-align: center;
}

.page-header--projetos .section-label {
    color: var(--myr-verde-20);
}

.page-header--projetos .page-title {
    color: var(--myr-white);
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header--projetos .page-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Archive Filters --- */
.projetos-filters {
    background: var(--myr-white);
    padding: 25px 0;
    border-bottom: 1px solid var(--myr-bege);
    position: sticky;
    top: 70px;
    z-index: 50;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* --- Archive Grid --- */
.projetos-archive {
    padding: 60px 0;
    background: var(--myr-bg-light);
}

/* --- Pagination --- */
.projetos-pagination {
    margin-top: 50px;
    text-align: center;
}

.projetos-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.projetos-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--myr-radius);
    background: var(--myr-white);
    color: var(--myr-text-dark);
    text-decoration: none;
    font-weight: 500;
    border: 1px solid var(--myr-bege);
    transition: all 0.3s ease;
}

.projetos-pagination .page-numbers:hover,
.projetos-pagination .page-numbers.current {
    background: var(--myr-verde);
    color: var(--myr-white);
    border-color: var(--myr-verde);
}

/* --- Empty State --- */
.projetos-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--myr-text-muted);
}

.projetos-empty i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--myr-bege);
}

.projetos-empty h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--myr-text-dark);
}

/* --- CTA Box --- */
.projetos-cta {
    padding: 80px 0;
    background: var(--myr-white);
}

.cta-box {
    background: linear-gradient(135deg, var(--myr-dark-teal) 0%, var(--myr-verde) 100%);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    color: var(--myr-white);
}

.cta-box h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Single Projeto --- */
.projeto-single {
    padding-bottom: 0;
}

.projeto-hero {
    background: linear-gradient(135deg, var(--myr-dark-teal) 0%, var(--myr-verde) 100%);
    padding: 120px 0 50px;
    color: var(--myr-white);
}

.projeto-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.projeto-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--myr-white);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s ease;
}

.projeto-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--myr-white);
}

.projeto-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
}

.projeto-subtitle {
    font-size: 18px;
    opacity: 0.85;
    max-width: 700px;
}

.projeto-featured-image {
    margin-top: -30px;
    margin-bottom: 40px;
}

.projeto-featured-image .container {
    max-width: 900px;
}

.projeto-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.projeto-details {
    padding: 60px 0;
}

.projeto-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: start;
}

/* --- Sidebar Metadados --- */
.projeto-meta-sidebar {
    position: sticky;
    top: 100px;
    background: var(--myr-bg-light);
    border-radius: 12px;
    padding: 30px;
}

.projeto-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid var(--myr-bege);
}

.projeto-meta-item:last-child {
    border-bottom: none;
}

.projeto-meta-item i {
    color: var(--myr-verde);
    font-size: 18px;
    margin-top: 2px;
    min-width: 22px;
}

.meta-label {
    display: block;
    font-size: 12px;
    color: var(--myr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.meta-value {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--myr-text-dark);
}

.projeto-resultados {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--myr-verde);
}

.projeto-resultados h4 {
    font-size: 14px;
    color: var(--myr-verde);
    margin-bottom: 12px;
}

.projeto-resultados ul {
    list-style: none;
    padding: 0;
}

.projeto-resultados li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--myr-text-body);
    line-height: 1.4;
}

.projeto-resultados li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    background: var(--myr-verde);
    border-radius: 50%;
}

/* --- Conteúdo Principal --- */
.projeto-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--myr-text-body);
}

.projeto-content h2,
.projeto-content h3,
.projeto-content h4 {
    color: var(--myr-text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.projeto-content p {
    margin-bottom: 18px;
}

.projeto-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--myr-radius);
    margin: 20px 0;
}

/* --- Related Sections --- */
.projeto-related {
    padding: 60px 0;
    background: var(--myr-bg-light);
}

.projeto-related--projetos {
    background: var(--myr-white);
}

.related-title {
    font-size: 22px;
    color: var(--myr-text-dark);
    margin-bottom: 30px;
}

.related-title i {
    color: var(--myr-verde);
    margin-right: 8px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.related-card {
    display: block;
    text-decoration: none;
    background: var(--myr-white);
    border-radius: var(--myr-radius);
    overflow: hidden;
    box-shadow: var(--myr-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projeto-related--projetos .related-card {
    background: var(--myr-bg-light);
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--myr-shadow-hover);
}

.related-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-card h4 {
    padding: 15px 18px 5px;
    font-size: 15px;
    color: var(--myr-text-dark);
    line-height: 1.3;
}

.related-meta {
    display: block;
    padding: 0 18px 15px;
    font-size: 13px;
    color: var(--myr-text-muted);
}

/* --- Navigation --- */
.projeto-nav {
    padding: 40px 0 60px;
    background: var(--myr-white);
}

.projeto-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- Taxonomy Page --- */
.taxonomy-section {
    padding: 60px 0;
}

.taxonomy-section:nth-child(even) {
    background: var(--myr-bg-light);
}

.taxonomy-section-title {
    font-size: 24px;
    color: var(--myr-text-dark);
    margin-bottom: 30px;
}

.taxonomy-section-title i {
    color: var(--myr-verde);
    margin-right: 8px;
}

/* ============================================
   PROJETOS — RESPONSIVIDADE
   ============================================ */

@media (max-width: 992px) {
    .projetos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .projeto-meta-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .projeto-resultados {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .myr-projetos {
        padding: 60px 0;
    }

    .projetos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .projetos-home-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 13px;
    }

    .page-header--projetos {
        padding: 100px 0 40px;
    }

    .page-header--projetos .page-title {
        font-size: 30px;
    }

    .projetos-filters {
        top: 60px;
    }

    .filter-buttons {
        gap: 8px;
    }

    .projeto-hero {
        padding: 100px 0 40px;
    }

    .projeto-title {
        font-size: 28px;
    }

    .projeto-meta-sidebar {
        grid-template-columns: 1fr;
    }

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

    .cta-box {
        padding: 40px 25px;
    }

    .cta-box h3 {
        font-size: 22px;
    }

    .projeto-nav .container {
        flex-direction: column;
        align-items: stretch;
    }

    .projeto-nav .btn {
        text-align: center;
    }
}

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

    .projeto-card-title {
        font-size: 16px;
    }

    .projeto-card-content {
        padding: 15px;
    }

    .projeto-title {
        font-size: 24px;
    }
}

/* ============================================
   ANIMAÇÕES DE SCROLL
   ============================================ */
.myr-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.myr-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SINGLE SOLUÇÃO
   ============================================ */
.single-solucao .solucao-hero {
    background: var(--myr-dark-teal);
    padding: 140px 0 80px;
    color: #ffffff;
}

.solucao-hero .section-label {
    color: var(--myr-verde-20);
}

.solucao-title {
    font-size: 42px;
    color: #ffffff;
    margin-bottom: 16px;
}

.solucao-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
}

.solucao-categories {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.solucao-category-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.solucao-category-badge:hover {
    background: var(--myr-verde);
    border-color: var(--myr-verde);
    color: #ffffff;
}

.solucao-content-section {
    padding: 80px 0;
}

.solucao-layout {
    max-width: 800px;
    margin: 0 auto;
}

.solucao-featured-image {
    margin-bottom: 40px;
    border-radius: var(--myr-radius);
    overflow: hidden;
}

.solucao-featured-image img {
    width: 100%;
    height: auto;
    border-radius: var(--myr-radius);
}

.solucao-body {
    font-size: 17px;
    line-height: 1.8;
    color: var(--myr-text-body);
}

.solucao-body h2,
.solucao-body h3 {
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--myr-text-dark);
}

.solucao-body ul,
.solucao-body ol {
    padding-left: 24px;
    margin-bottom: 20px;
    list-style: disc;
}

.solucao-body li {
    margin-bottom: 8px;
}

/* Projetos Relacionados na Solução */
.solucao-projetos-relacionados {
    background: var(--myr-bg-light);
    padding: 80px 0;
}

.solucao-projetos-relacionados .section-header {
    margin-bottom: 40px;
}

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

.solucao-cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* CTA Section */
.solucao-cta-section {
    padding: 80px 0;
}

.solucao-cta-box {
    background: var(--myr-dark-teal);
    border-radius: 16px;
    padding: 50px;
    text-align: center;
    color: #ffffff;
}

.solucao-cta-box h3 {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 12px;
}

.solucao-cta-box p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    font-size: 17px;
}

/* Navegação */
.solucao-nav-section {
    padding: 0 0 80px;
}

/* Badges de Soluções no Single Projeto */
.projeto-solucoes-badges {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--myr-bege);
}

.projeto-solucoes-badges h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--myr-text-dark);
    margin-bottom: 12px;
}

.projeto-solucoes-badges h4 i {
    color: var(--myr-verde);
    margin-right: 6px;
}

.solucao-badges-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.solucao-badge-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0, 118, 128, 0.08);
    border: 1px solid rgba(0, 118, 128, 0.2);
    border-radius: 6px;
    color: var(--myr-verde);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.solucao-badge-link:hover {
    background: var(--myr-verde);
    border-color: var(--myr-verde);
    color: #ffffff;
}

.solucao-badge-link i {
    font-size: 11px;
}

/* Responsive Single Solução */
@media (max-width: 768px) {
    .solucao-title {
        font-size: 28px;
    }

    .projetos-grid--related {
        grid-template-columns: 1fr;
    }

    .solucao-cta-box {
        padding: 30px 20px;
    }
}

/* ============================================
   CREDENCIAIS INSTITUCIONAIS (Sobre Nós)
   ============================================ */
.about-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--myr-bege);
}

.credential-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(0, 118, 128, 0.06);
    border: 1px solid rgba(0, 118, 128, 0.15);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--myr-verde);
    transition: all 0.3s ease;
}

.credential-item:hover {
    background: rgba(0, 118, 128, 0.12);
    border-color: var(--myr-verde);
}

.credential-item i {
    font-size: 14px;
}

/* ============================================
   FOOTER TRUST BADGES (Selos de Confiança)
   ============================================ */
.footer-trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 12px 16px;
    min-height: 70px;
    transition: all 0.3s ease;
}

.trust-badge img {
    max-height: 55px;
    width: auto;
    object-fit: contain;
    filter: none;
    transition: transform 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.trust-badge:hover img {
    transform: scale(1.05);
}

/* ============================================
   LIDERANÇA MELHORADA (Fotos + Descrição)
   ============================================ */
.leader-card {
    text-align: center;
    padding: 24px;
    background: var(--myr-white);
    border-radius: var(--myr-radius);
    box-shadow: var(--myr-shadow);
    transition: all 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.leader-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid var(--myr-verde-20);
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--myr-text-dark);
    margin-bottom: 4px;
}

.leader-role {
    font-size: 14px;
    color: var(--myr-text-body);
    line-height: 1.5;
}

/* Responsive credentials and trust badges */
@media (max-width: 768px) {
    .about-credentials {
        gap: 10px;
    }

    .credential-item {
        font-size: 12px;
        padding: 6px 10px;
    }

    .footer-trust-badges {
        gap: 12px;
    }

    .trust-badge {
        padding: 8px 12px;
        min-height: 55px;
    }

    .trust-badge img {
        max-height: 40px;
    }
}
