/* GLOBAL SETTINGS & DESIGN TOKENS */
:root {
    --primary: #0B1F3A;
    --primary-light: #1A365D;
    --secondary: #C8A96A;
    --secondary-hover: #D4B77A;
    --accent: #1E3A8A;
    --bg: #F0F4F8;
    /* softer background */
    --surface: #FFFFFF;
    --text: #1F2937;
    --text-muted: #4B5563;
    --border: #E5E7EB;

    /* Header Tokens */
    --nav-bg: rgba(255, 255, 255, 0.85);
    --nav-height: 80px;

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 25px 40px -5px rgba(0, 0, 0, 0.08);

    /* Radius */
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

p {
    text-align: justify;
    line-height: 1.7;
    color: var(--text-muted);
}

/* HEADER & NAVIGATION */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1400px;
    height: var(--nav-height);
    background-color: var(--nav-bg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 50;
    transition: var(--transition-normal);
}

header:hover {
    box-shadow: var(--shadow-lg);
    background-color: rgba(255, 255, 255, 0.95);
}

.logo_MNC_TOP {
    width: auto;
    height: 110px;
    transition: transform var(--transition-fast);
    margin-top: 12px;
}

.logo_MNC_TOP:hover {
    transform: scale(1.05);
}

nav {
    display: flex;
    gap: 10px;
}

nav a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--secondary);
    transition: width var(--transition-fast);
    border-radius: 4px 4px 0 0;
}

nav a:hover::after,
nav a.active::after {
    width: 60%;
}

nav a:hover,
nav a.active {
    color: var(--primary-light);
    background: rgba(200, 169, 106, 0.1);
}

/* HERO SECTION */
.hero {
    padding: 180px 20px 100px;
    /* Increased top padding for fixed header */
    background: var(--primary);
    color: var(--surface);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(200, 169, 106, 0.15) 0%, transparent 40%);
    pointer-events: none;
    z-index: 2;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 31, 58, 0.85) 0%, rgba(30, 58, 138, 0.75) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero h1,
.hero h2 {
    text-align: left;
    font-size: clamp(1.50rem, 3vw, 2.1rem);
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    text-align: left;
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease-out;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: left;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    text-align: left;
    display: grid;
}

.hero-text-item {
    grid-area: 1 / 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: translateY(20px);
}

.hero-text-item.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.hero-text-item h1,
.hero-text-item h2,
.hero-text-item p {
    text-align: left;
    margin-right: 25px;
    animation: none !important;
}

.hero-cards {
    flex: 0 0 auto;
    width: 260px;
}

.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    pointer-events: none;
    transform: scale(1.05);
}

.hero-image.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollReveal {
    from {
        opacity: 0;
        translate: 0 34px;
        filter: blur(6px);
    }

    to {
        opacity: 1;
        translate: 0 0;
        filter: blur(0);
    }
}

@supports (animation-timeline: view()) {
    .page-header,
    .section > h2,
    .section > h3,
    .section-subtitle,
    .about-content,
    .bakongo-banner,
    .mvv-card,
    .card,
    .service-detail,
    .contact-info,
    .contact-form,
    .auto-carousel-container,
    .card-certification {
        animation: scrollReveal 0.8s ease-out both;
        animation-timeline: view();
        animation-range: entry 0% entry 90%;
    }

    .grid .card:nth-child(2),
    .mvv-card:nth-child(2),
    .card-certification:nth-child(2) {
        animation-range: entry 4% entry 94%;
    }

    .grid .card:nth-child(3),
    .mvv-card:nth-child(3),
    .card-certification:nth-child(3) {
        animation-range: entry 8% entry 100%;
    }
}

/* PAGE HEADERS (Subpages) */
.page-header {
    padding: 160px 20px 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--surface);
    text-align: center;
}

.page-header h1,
.page-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
}

/* GENERIC COMPONENTS & SECTIONS */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--secondary) 0%, #B69A5A 100%);
    color: var(--primary);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(200, 169, 106, 0.3);
    animation: fadeInUp 1.2s ease-out;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(200, 169, 106, 0.4);
    background: linear-gradient(135deg, #B69A5A 0%, var(--secondary) 100%);
}

.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-about {
    background-color: #EBF2FA;
    /* Azul fraco muito suave e elegante */
    text-align: center;
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    box-shadow: 0 4px 20px rgba(11, 31, 58, 0.06);
    /* Sombra ligeiramente azulada para harmonizar */
    margin-bottom: 60px;
    border: 1px solid rgba(11, 31, 58, 0.05);
    /* Borda subtil para destacar do fundo geral */
}

.section h2,
.section h3 {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 50px;
    color: var(--primary);
    position: relative;
    padding-bottom: 15px;
}

.section h2::after,
.section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

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

/* SERVICES CAROUSEL */
.service-carousel {
    position: relative;
    padding: 0 56px 46px;
}

.service-carousel-viewport {
    overflow: hidden;
    border-radius: var(--radius-md);
}

.service-carousel-track {
    --service-carousel-gap: 30px;
    display: flex;
    gap: var(--service-carousel-gap);
}

.service-carousel-track .card {
    flex: 0 0 calc((100% - (var(--service-carousel-gap) * 2)) / 3);
    min-height: 280px;
}

.service-carousel-track.is-ready .card {
    display: none;
}

.service-carousel-track.is-ready .card.is-service-visible {
    display: flex;
    animation: serviceCardEnter 0.55s ease-out both;
    animation-timeline: auto;
    animation-range: normal;
}

@keyframes serviceCardEnter {
    from {
        opacity: 0;
        translate: 28px 0;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

.service-carousel-button {
    position: absolute;
    top: calc(50% - 23px);
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(11, 31, 58, 0.9);
    color: var(--surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 2;
}

.service-carousel-button:hover,
.service-carousel-button:focus-visible {
    background: var(--secondary);
    color: var(--primary);
    outline: none;
}

.service-carousel-button-prev {
    left: 0;
}

.service-carousel-button-next {
    right: 0;
}

.service-carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transform: translateX(-50%);
}

.service-carousel-dot {
    width: 11px;
    height: 11px;
    border: 2px solid rgba(11, 31, 58, 0.35);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: var(--transition-fast);
}

.service-carousel-dot.active,
.service-carousel-dot:hover,
.service-carousel-dot:focus-visible {
    width: 28px;
    border-radius: 999px;
    background: var(--secondary);
    border-color: var(--secondary);
    outline: none;
}

/* CARDS */
.card {
    background: var(--surface);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border-top: 4px solid transparent;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(100, 144, 49, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition-normal);
    color: var(--secondary);
}

.card-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.card:hover .card-icon {
    background: var(--secondary);
    color: var(--surface);
    transform: scale(1.1) rotate(5deg);
}

.card-link {
    margin-top: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.card-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    transition: transform var(--transition-fast);
}

.card-link:hover {
    color: var(--secondary);
}

.card-link:hover svg {
    transform: translateX(4px);
}

.service-card-button {
    margin-top: 24px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 20px;
    background: var(--primary);
    color: var(--surface);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0;
    transition: var(--transition-fast);
    box-shadow: 0 8px 18px rgba(11, 31, 58, 0.14);
}

.service-card-button:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(200, 169, 106, 0.25);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hover);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: -1;
}

.card:hover {
    transform: translateY(-10px);
    border-top-color: var(--secondary);
}

.card:hover::before {
    opacity: 1;
}

.card h3,
.card h4 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 15px;
    text-align: left;
    padding-bottom: 0;
}

.card h3::after,
.card h4::after {
    display: none;
}

.card p {
    line-height: 1.6;
    margin-bottom: auto;
}

.card ul {
    margin-top: 25px;
    padding-left: 0;
    list-style: none;
}

.card ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 28px;
    color: var(--text);
    font-size: 0.95rem;
}

.card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.1rem;
}

/* SOBRE NÓS */
.about-content {
    background: var(--surface);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 60px;
}

.about-text h3 {
    text-align: left;
    margin-bottom: 25px;
}

.about-text h3::after {
    left: 0;
    transform: none;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text);
}

.timeline-section {
    margin: 70px 0;
}

.timeline-intro {
    max-width: 780px;
    margin: 0 auto 44px;
    text-align: center;
}

.timeline-intro h3 {
    margin-bottom: 24px;
}

.timeline-intro p {
    text-align: center;
    font-size: 1.05rem;
}

.animated-timeline {
    position: relative;
    display: grid;
    gap: 34px;
    padding: 18px 0;
}

.animated-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(180deg, rgba(200, 169, 106, 0.15), var(--secondary), rgba(11, 31, 58, 0.24));
    border-radius: 999px;
    transform: translateX(-50%) scaleY(1);
    transform-origin: top;
    animation: timelineGrow 1s ease-out both;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    opacity: 1;
    transform: translateY(0);
    animation: timelineReveal 0.8s ease-out both;
    animation-delay: calc(var(--timeline-index, 0) * 0.08s);
}

.timeline-item:nth-child(1) {
    --timeline-index: 1;
}

.timeline-item:nth-child(2) {
    --timeline-index: 2;
}

.timeline-item:nth-child(3) {
    --timeline-index: 3;
}

.timeline-item:nth-child(4) {
    --timeline-index: 4;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 3;
}

.timeline-item:nth-child(even) .timeline-node {
    grid-column: 2;
    grid-row: 1;
}

.timeline-content {
    position: relative;
    background: var(--surface);
    border: 1px solid rgba(11, 31, 58, 0.07);
    border-left: 4px solid var(--secondary);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.timeline-content:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.timeline-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 34px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(200, 169, 106, 0.14);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
}

.timeline-content h4 {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 1.2rem;
}

.timeline-content p {
    margin: 0;
    text-align: left;
}

.timeline-node {
    position: relative;
    z-index: 1;
    grid-column: 2;
    width: 22px;
    height: 22px;
    justify-self: center;
    border: 5px solid var(--surface);
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 8px rgba(200, 169, 106, 0.18);
    animation: timelinePulse 2.4s ease-in-out infinite;
}

@supports (animation-timeline: view()) {
    .animated-timeline::before {
        transform: translateX(-50%) scaleY(0);
        animation-timeline: view();
        animation-range: entry 18% cover 72%;
    }

    .timeline-item {
        opacity: 0;
        transform: translateY(36px);
        animation-delay: 0s;
        animation-timeline: view();
        animation-range: entry 0% entry 100%;
    }
}

@keyframes timelineGrow {
    from {
        transform: translateX(-50%) scaleY(0);
    }

    to {
        transform: translateX(-50%) scaleY(1);
    }
}

@keyframes timelineReveal {
    from {
        opacity: 0;
        transform: translateY(36px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes timelinePulse {
    0%,
    100% {
        box-shadow: 0 0 0 8px rgba(200, 169, 106, 0.18);
    }

    50% {
        box-shadow: 0 0 0 14px rgba(200, 169, 106, 0.08);
    }
}

@media (max-width: 768px) {
    .timeline-section {
        margin: 54px 0;
    }

    .timeline-intro {
        margin-bottom: 34px;
    }

    .animated-timeline {
        gap: 24px;
    }

    .animated-timeline::before {
        left: 16px;
    }

    .timeline-item {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 16px;
    }

    .timeline-item .timeline-node,
    .timeline-item:nth-child(even) .timeline-node {
        grid-column: 1;
        grid-row: 1;
    }

    .timeline-item .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        grid-column: 2;
    }

    .timeline-content {
        padding: 24px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .animated-timeline::before,
    .timeline-item,
    .timeline-node {
        animation: none;
    }

    .animated-timeline::before {
        transform: translateX(-50%) scaleY(1);
    }

    .timeline-item {
        opacity: 1;
        transform: none;
    }
}

/* SERVICE DETAIL PAGE */
.service-intro {
    max-width: 850px;
    margin: 0 auto 48px;
    text-align: center;
}

.service-intro p,
.service-cta p {
    text-align: center;
}

.service-detail-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.service-detail {
    scroll-margin-top: 140px;
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 42px;
    box-shadow: var(--shadow-sm);
    border-left: 5px solid var(--secondary);
}

.service-detail-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 26px;
}

.service-number {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: rgba(200, 169, 106, 0.16);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.service-eyebrow {
    margin-bottom: 8px;
    color: var(--secondary);
    font-weight: 700;
    text-align: left;
}

.service-detail h2 {
    text-align: left;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin: 0;
    padding-bottom: 0;
}

.service-detail h2::after {
    display: none;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 32px;
    align-items: start;
}

.service-detail-panel {
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 26px;
}

.service-detail-panel h3 {
    color: var(--primary);
    font-size: 1rem;
    text-align: left;
    margin-bottom: 18px;
    padding-bottom: 0;
}

.service-detail-panel h3::after {
    display: none;
}

.service-detail-panel ul {
    list-style: none;
    padding-left: 0;
}

.service-detail-panel li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.service-detail-panel li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
}

.service-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.service-cta {
    max-width: 900px;
    text-align: center;
}

/* Bakongo Banner */
.bakongo-banner {
    background: linear-gradient(135deg, rgba(200, 169, 106, 0.1) 0%, rgba(200, 169, 106, 0.05) 100%);
    border-left: 6px solid var(--secondary);
    padding: 40px;
    border-radius: var(--radius-md);
    margin: 60px 0;
}

.bakongo-banner p {
    text-align: center;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--primary);
    font-style: italic;
    margin: 0;
}

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

.mvv-card {
    background: var(--surface);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.mvv-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.mvv-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.mvv-card:hover::after {
    transform: scaleX(1);
}

.mvv-card h4 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 0;
}

.mvv-card h4::after {
    display: none;
}

.mvv-card p {
    text-align: justify;
}

/* CONTACTOS */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

.contact-info,
.contact-form {
    background: var(--surface);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-info h3,
.contact-form h3 {
    text-align: left;
    margin-bottom: 30px;
}

.contact-info h3::after,
.contact-form h3::after {
    left: 0;
    transform: none;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-item .icon {
    font-size: 28px;
    margin-right: 20px;
    background: rgba(200, 169, 106, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform var(--transition-fast);
}

.info-item:hover .icon {
    transform: scale(1.1);
    background: var(--secondary);
    color: var(--surface);
}

.info-item h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 5px;
    padding-bottom: 0;
}

.info-item h4::after {
    display: none;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 15px;
    background: #F9FAFB;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: var(--surface);
    box-shadow: 0 0 0 4px rgba(200, 169, 106, 0.15);
}

.btn-submit {
    display: inline-block;
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: var(--surface);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-normal);
    box-shadow: 0 4px 10px rgba(11, 31, 58, 0.2);
}

.btn-submit:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(11, 31, 58, 0.3);
}

/* FOOTER */
footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 20px 20px;
    margin-top: auto;
    border-top: 4px solid var(--secondary);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 100% 0%, rgba(200, 169, 106, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.footer-logo {
    height: auto;
    max-width: 250px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-col p {
    text-align: left;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-col h4 {
    color: var(--surface);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact-item {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-align: center;
    margin: 0;
}

/* RESPONSIVENESS */
@media (max-width: 768px) {
    header {
        top: 10px;
        width: calc(100% - 20px);
        padding: 15px;
        flex-direction: column;
        justify-content: center;
        height: auto;
        gap: 15px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    nav a {
        font-size: 14px;
        padding: 6px 12px;
    }

    .hero {
        padding: 160px 20px 80px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-cards {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .cards-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0;
        max-width: 100%;
    }

    .page-header {
        padding: 160px 20px 60px;
    }

    .service-detail {
        padding: 28px 22px;
    }

    .service-detail-header {
        gap: 14px;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .service-number {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-col p {
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        align-items: center;
    }
}

@media (max-width: 900px) {
    .service-carousel {
        padding-inline: 52px;
    }

    .service-carousel-track .card {
        flex-basis: calc((100% - var(--service-carousel-gap)) / 2);
    }
}

@media (max-width: 640px) {
    .service-carousel {
        padding: 0 0 44px;
    }

    .service-carousel-track .card {
        flex-basis: 100%;
    }

    .service-carousel-button {
        top: auto;
        bottom: 0;
        width: 40px;
        height: 40px;
    }

    .service-carousel-button-prev {
        left: calc(50% - 86px);
    }

    .service-carousel-button-next {
        right: calc(50% - 86px);
    }
}

/* ÁREAS DE ACTUAÇÃO & OUTROS BOTÕES */
.cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 260px;
    padding: 1rem 0 1rem 1rem;
}

.card-btn {
    position: relative;
    overflow: hidden;
    background: #0f1f3d;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    padding: 20px 32px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: color 0.35s ease, transform 0.3s ease;
    z-index: 0;
    transform: perspective(400px) rotateY(-4deg);
}

.card-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1e4db7, #2176ff);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: inherit;
}

.card-btn:hover,
.card-btn.active {
    transform: perspective(400px) rotateY(0deg) scale(1.03);
}

.card-btn:hover::before,
.card-btn.active::before {
    transform: translateX(0);
}

/* WHATSAPP FLOAT BUTTON */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(37, 211, 102, 0.5);
    animation: none;
}

.whatsapp-float i {
    margin-top: 0;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* AUTO CAROUSEL */
.auto-carousel-container {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    background: #000;
}

.auto-carousel-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    will-change: transform;
}

.auto-carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    height: 400px;
}

.auto-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.auto-carousel-button {
    position: absolute;
    top: 50%;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(11, 31, 58, 0.78);
    color: var(--surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    transition: var(--transition-fast);
    z-index: 2;
}

.auto-carousel-button:hover,
.auto-carousel-button:focus-visible {
    background: var(--secondary);
    color: var(--primary);
    outline: none;
}

.auto-carousel-button-prev {
    left: 18px;
}

.auto-carousel-button-next {
    right: 18px;
}

.auto-carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transform: translateX(-50%);
    z-index: 2;
}

.auto-carousel-dot {
    width: 11px;
    height: 11px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: var(--transition-fast);
}

.auto-carousel-dot.active,
.auto-carousel-dot:hover,
.auto-carousel-dot:focus-visible {
    width: 28px;
    border-radius: 999px;
    background: var(--secondary);
    border-color: var(--secondary);
    outline: none;
}

@media (max-width: 768px) {
    .auto-carousel-slide {
        height: 250px;
    }

    .auto-carousel-button {
        width: 40px;
        height: 40px;
    }

    .auto-carousel-button-prev {
        left: 10px;
    }

    .auto-carousel-button-next {
        right: 10px;
    }

    .auto-carousel-dots {
        bottom: 12px;
        gap: 8px;
    }
}

/* CERTIFICATIONS SECTION */
.section.section-certifications {
    max-width: none;
    width: 100%;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, var(--bg) 100%),
        linear-gradient(90deg, rgba(11, 31, 58, 0.04) 1px, transparent 1px);
    background-size: auto, 46px 46px;
    padding: clamp(68px, 8vw, 104px) 20px;
    position: relative;
    overflow: hidden;
}

.section-certifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 169, 106, 0.6), transparent);
    pointer-events: none;
}

.section-certifications::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 31, 58, 0.03) 0%, transparent 42%, rgba(200, 169, 106, 0.08) 100%);
    pointer-events: none;
}

.certifications-shell {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.certifications-header {
    max-width: 790px;
    margin: 0 auto 42px;
    text-align: center;
}

.certifications-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin-bottom: 18px;
    padding: 7px 14px;
    border: 1px solid rgba(200, 169, 106, 0.34);
    border-radius: 8px;
    background: rgba(200, 169, 106, 0.12);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
}

.section-certifications h2 {
    margin-bottom: 18px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.card-certification {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 18px 38px -28px rgba(11, 31, 58, 0.45);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.card-certification::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(200, 169, 106, 0.12) 0%, transparent 44%);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.card-certification > * {
    position: relative;
    z-index: 1;
}

.card-certification:hover {
    transform: translateY(-8px);
    border-color: rgba(200, 169, 106, 0.42);
    box-shadow: 0 24px 46px -24px rgba(11, 31, 58, 0.48);
}

.card-certification:hover::before {
    opacity: 1;
}

.certification-media {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    border-bottom: 1px solid rgba(11, 31, 58, 0.07);
}

.certification-media img {
    width: min(180px, 72%);
    max-height: 92px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(11, 31, 58, 0.12));
}

.certification-body {
    padding: 28px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.certification-kicker {
    color: #8A6D2F;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-certification h3 {
    color: var(--primary);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    margin: 0 0 16px;
    position: relative;
    padding-bottom: 14px;
    text-align: left;
}

.card-certification h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
    transition: width var(--transition-fast);
}

.card-certification:hover h3::after {
    width: 70px;
}

.card-certification p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 22px;
    text-align: left;
}

.certification-focus-list {
    list-style: none;
    margin: auto 0 0;
    padding: 18px 0 0;
    border-top: 1px solid rgba(11, 31, 58, 0.08);
}

.certification-focus-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.55;
}

.certification-focus-list li + li {
    margin-top: 10px;
}

.certification-focus-list li::before {
    content: '';
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-top: 0.58em;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 4px rgba(200, 169, 106, 0.14);
}

.certifications-note {
    max-width: 960px;
    margin: 34px auto 0;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 34px -30px rgba(11, 31, 58, 0.42);
}

.certifications-note p {
    max-width: 680px;
    margin: 0;
    color: var(--text-muted);
    text-align: left;
}

.certifications-note a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--primary);
    color: var(--surface);
    font-weight: 700;
    text-decoration: none;
    transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.certifications-note a:hover,
.certifications-note a:focus-visible {
    background: var(--secondary);
    color: var(--primary);
    outline: none;
    transform: translateY(-2px);
}

@media (max-width: 980px) {
    .certifications-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-certification:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .section.section-certifications {
        padding: 58px 16px;
        background-size: auto, 34px 34px;
    }

    .certifications-header {
        margin-bottom: 30px;
    }

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

    .card-certification:last-child {
        grid-column: auto;
    }

    .certification-media {
        min-height: 132px;
        padding: 24px;
    }

    .certification-body {
        padding: 24px;
    }

    .certifications-note {
        align-items: stretch;
        flex-direction: column;
        padding: 20px;
    }

    .certifications-note p {
        text-align: center;
    }

    .certifications-note a {
        width: 100%;
    }
}
