/* ==========================================================================
   RESET & CONFIGURAÇÕES GLOBAIS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    overflow-x: hidden;
    background-color: #ffffff;
    color: #000000;
}

.sub-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.dark-blue {
    color: #293357;
}

/* Tipografia: impede que uma palavra fique sozinha na última linha.
   "pretty" evita órfãs em parágrafos; "balance" equilibra as linhas dos títulos. */
p {
    text-wrap: pretty;
}

.hero-title,
.hero-subtitle,
.section-title,
.card-product-title,
.machinery-card-title,
.cta-box-title,
.testimonial-author {
    text-wrap: balance;
}

/* Filtro que converte a imagem "images/arrow-blue.png" em branca */
.converted-arrow {
    filter: brightness(0) invert(1);
    width: 18px;
    height: auto;
}


/* ==========================================================================
   BLOCO 0: HEADER & MENU
   ========================================================================== */
.main-header {
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Barra superior com metade jogada para fora do topo */
.top-bar {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 1440px;
    width: calc(100% - 80px);
    height: 14px;
    background-color: #293357;
    border-radius: 25px;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 40px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.header-logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.header-logo-img {
    max-width: 210px;
    height: auto;
    display: block;
}

.desktop-nav {
    display: flex;
    align-items: center;
    align-self: stretch;
    margin-left: auto;
}

.nav-item {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #293357;
    text-decoration: none;
    letter-spacing: 0.8px;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 6px;
    transition: color 0.2s ease;
    position: relative;
}

/* Linhas divisórias azuis verticais */
.nav-item:not(:first-child) {
    border-left: 1.5px solid #dbedfb;
}

.nav-item:hover, .nav-item.active {
    color: #293357;
}

/* Underline que fica colado na base do header (topo do hero) */
.nav-item::after {
    content: '';
    position: absolute;
    left: 24px;
    right: 24px;
    height: 3px;
    bottom: -16px; /* cruza o padding-bottom do header até a borda inferior */
    background-color: #293357;
    pointer-events: none;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
    z-index: 1;
}

.nav-item:hover::after, .nav-item.active::after {
    transform: scaleX(1);
}

/* Menu Dropdown Desktop */
.nav-dropdown {
    position: relative;
    z-index: 10;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 16px;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 24px;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 30;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #293357;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    transition: background 0.2s ease;
}

.nav-dropdown-menu a:hover {
    background-color: #f1f2ef;
    color: #293357;
}

/* Botão do Menu Hambúrguer */
.hamburger-btn {
    background: none;
    border: none;
    color: #293357;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    margin-left: 10px;
}

.hamburger-btn:hover {
    color: #7f8c8d;
}

.header-container .hamburger-btn {
    border-left: 1.5px solid #dbedfb;
    padding-left: 20px;
}

/* Menu lateral (side drawer) e overlay */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(16, 24, 48, 0.4);
    backdrop-filter: blur(2px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.side-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 30px;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 6px solid #293357;
}

.side-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
}

.drawer-close-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: #293357;
    cursor: pointer;
    transition: color 0.2s ease;
}

.drawer-close-btn:hover {
    color: #7f8c8d;
}

.drawer-nav {
    display: none;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin-bottom: 28px;
}

.drawer-item {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #293357;
    text-decoration: none;
    letter-spacing: 0.5px;
    padding: 12px 0;
    border-bottom: 1.5px solid #dbedfb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
}

.drawer-item:hover, .drawer-item.active {
    color: #7f8c8d;
}

button.drawer-item {
    background: none;
    border: none;
    border-bottom: 1.5px solid #dbedfb;
    width: 100%;
    cursor: pointer;
}

.drawer-dropdown-toggle i {
    transition: transform 0.25s ease;
}

.drawer-mobile-dropdown.active .drawer-dropdown-toggle i {
    transform: rotate(180deg);
}

.drawer-mobile-dropdown {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.drawer-sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    background-color: #f1f2ef;
    border-radius: 8px;
    margin-top: 5px;
}

.drawer-sub-menu a {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #293357;
    text-decoration: none;
    padding: 12px 20px;
    display: block;
}

.drawer-mobile-dropdown.active .drawer-sub-menu {
    max-height: 200px;
}


/* ==========================================================================
   POPUP: ESPECIFICAÇÕES TÉCNICAS (botão "SAIBA MAIS" dos cards de produtos)
   ========================================================================== */
.specs-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 24, 48, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.specs-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.specs-modal {
    position: relative;
    width: 100%;
    max-width: 620px;
    max-height: 85vh;
    overflow-y: auto;
    background-color: #ffffff;
    border-radius: var(--radius, 18px);
    padding: 48px 40px 40px;
    box-shadow: 0 30px 70px rgba(16, 24, 48, 0.35);
    transform: translateY(16px) scale(0.98);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.specs-overlay.open .specs-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.specs-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #293357;
    border: 1.5px solid rgba(41, 51, 87, 0.18);
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.specs-close-btn:hover,
.specs-close-btn:focus-visible {
    background-color: #dbedfb;
    border-color: #dbedfb;
    color: #293357;
}

.specs-modal-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.2;
    color: #293357;
    padding-right: 40px;
}

.specs-modal-body {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 24px;
}

.specs-group {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(41, 51, 87, 0.1);
}

.specs-group:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.specs-group-name {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #293357;
    margin-bottom: 10px;
}

.specs-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.specs-chip {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13.5px;
    color: #293357;
    background-color: #f1f2ef;
    border: 1px solid rgba(41, 51, 87, 0.12);
    border-radius: 999px;
    padding: 6px 14px;
}

@media (max-width: 768px) {
    .specs-modal {
        padding: 44px 24px 28px;
    }
}


/* ==========================================================================
   PÁGINA INTERNA: BANNER DE INTRODUÇÃO (ex: Quem Somos)
   ========================================================================== */
.page-intro {
    position: relative;
    width: 100%;
    padding: var(--section-y, 88px) var(--section-x, 40px) calc(var(--section-y, 88px) * 0.7);
    background-color: var(--color-blue, #293357);
    background-image: url('images/fachada.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-intro::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 24, 48, 0.82), rgba(41, 51, 87, 0.9));
}

.page-intro-container {
    position: relative;
    z-index: 1;
    max-width: var(--text-max, 1180px);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.page-breadcrumb {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.page-breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-breadcrumb i {
    font-size: 10px;
    color: rgba(219, 237, 251, 0.6);
}

.page-breadcrumb a {
    color: rgba(219, 237, 251, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-breadcrumb a:hover {
    color: #dbedfb;
}

.page-breadcrumb span {
    color: #dbedfb;
}

.page-intro .sub-label {
    color: #dbedfb;
    opacity: 0.9;
    margin-bottom: 4px;
}

.page-intro-title {
    font-weight: 700;
    font-size: clamp(54px, 5.4vw, 76px);
    line-height: 1.02;
    color: #dbedfb;
    text-transform: uppercase;
    letter-spacing: 1px;
    max-width: 860px;
    text-wrap: balance;
}

.page-intro-body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    max-width: 640px;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .page-intro-title {
        font-size: clamp(28px, 7.6vw, 32px);
        line-height: 1.08;
    }
}


/* ==========================================================================
   PÁGINA INTERNA: COMO TRABALHAMOS (processo em etapas)
   ========================================================================== */
.process-section {
    width: 100%;
    padding: var(--section-y, 88px) var(--section-x, 40px);
    background-color: #f1f2ef;
    display: flex;
    justify-content: center;
}

.process-container {
    max-width: var(--text-max, 1180px);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--section-gap, 42px);
}

.process-header {
    max-width: 680px;
}

.process-header p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    margin-top: 12px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-step {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background-color: #ffffff;
    border-radius: var(--radius, 18px);
    padding: 30px 26px;
    box-shadow: 0 10px 25px rgba(16, 24, 48, 0.05);
}

.process-step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #293357;
    color: #dbedfb;
    border-radius: 12px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 17px;
}

.process-step-title {
    font-weight: 700;
    font-size: 16.5px;
    text-transform: uppercase;
    color: #293357;
    line-height: 1.25;
    text-wrap: balance;
}

.process-step-desc {
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    color: #000000;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   PÁGINA INTERNA: NOSSOS DIFERENCIAIS (grade)
   ========================================================================== */
.differentiators-section {
    width: 100%;
    padding: var(--section-y, 88px) var(--section-x, 40px);
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}

.differentiators-container {
    max-width: var(--text-max, 1180px);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--section-gap, 42px);
}

.differentiators-header {
    max-width: 780px;
}

.differentiators-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.differentiator-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    border: 1.5px solid rgba(41, 51, 87, 0.1);
    border-radius: var(--radius, 18px);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.differentiator-card:hover {
    border-color: rgba(41, 51, 87, 0.25);
    box-shadow: 0 16px 34px rgba(16, 24, 48, 0.08);
    transform: translateY(-3px);
}

.differentiator-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #dbedfb;
    color: #293357;
    border-radius: 12px;
    font-size: 18px;
}

.differentiator-title {
    font-weight: 700;
    font-size: 16.5px;
    text-transform: uppercase;
    color: #293357;
    margin-bottom: 8px;
    text-wrap: balance;
}

.differentiator-desc {
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    color: #000000;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .differentiators-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   PÁGINA INTERNA: NOSSA MISSÃO (bloco de destaque)
   ========================================================================== */
.mission-section {
    position: relative;
    width: 100%;
    padding: 110px 40px;
    background-color: var(--color-blue, #293357);
    background-image: url('images/banner-2-quem-somos.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.mission-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 28, 54, 0.78);
}

.mission-container {
    position: relative;
    z-index: 1;
    max-width: 820px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.mission-container .sub-label {
    color: #dbedfb;
    opacity: 0.9;
}

.mission-quote {
    font-weight: 700;
    font-size: clamp(22px, 2.6vw, 32px);
    line-height: 1.4;
    color: #ffffff;
    text-wrap: balance;
}

.mission-quote span {
    color: #dbedfb;
}


/* ==========================================================================
   BLOCO 1: HERO (SEM OVERLAY)
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: url('images/banner.webp') no-repeat center center / cover;
    overflow: hidden;
}

/* Marca d'água "VIDROTANI" colada na borda inferior do hero */
.hero-vidrotani {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 70%;
    height: auto;
    z-index: 99999;
    /* Centraliza horizontalmente + empurra p/ baixo (PNG tem ~63px transparentes na base) */
    transform: translate(-50%, 28.6%);
    pointer-events: none;
    user-select: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 70px;
    color: #dbedfb;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0px 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: #ffffff;
    line-height: 1.2;
    max-width: 900px;
    margin-bottom: 10px;
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-body {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #ffffff;
    line-height: 1.6;
    max-width: 750px;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-mirror-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin-top: 50px;
}

.hero-mirror {
    display: block;
    width: 100%;
    height: auto;
}

.hero-buttons {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    justify-content: center;
    white-space: nowrap;
}

.btn {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-primary {
    background-color: #ffffff;
    color: #293357;
    border: 2px solid #ffffff;
}

.btn-primary:hover {
    background-color: #dbedfb;
    border-color: #dbedfb;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}


/* ==========================================================================
   BLOCO 2: QUEM SOMOS
   ========================================================================== */
.about-section {
    width: 100%;
    padding: 100px 40px;
    display: flex;
    justify-content: center;
    background-color: #ffffff;
}

.about-container {
    max-width: 1280px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-title {
    font-size: 38px;
    margin-bottom: 24px;
}

.about-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Accordion */
.accordion-group {
    border-top: 1.5px solid #dbedfb;
}

.accordion-item {
    border-bottom: 1.5px solid #dbedfb;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    cursor: pointer;
    user-select: none;
}

.accordion-header h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #293357;
    letter-spacing: 0.5px;
}

.accordion-icon {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    color: #293357;
    font-weight: 500;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.accordion-content p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #000000;
    line-height: 1.6;
    padding-bottom: 20px;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    transition: max-height 0.3s ease-in-out;
}

.about-graphic {
    display: flex;
    justify-content: center;
}

.about-img {
    width: 100%;
    max-width: 550px;
    height: auto;
    filter: drop-shadow(0px 15px 30px rgba(0,0,0,0.08));
}


/* ==========================================================================
   BLOCO 3: NOSSOS PRODUTOS
   ========================================================================== */
.products-section {
    width: 100%;
    padding: 100px 40px;
    background-color: #f1f2ef;
    display: flex;
    justify-content: center;
}

.products-container {
    max-width: 1280px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.products-header {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: flex-end;
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
}

.products-header .section-title {
    font-size: 38px;
}

.products-header-right p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
}

.products-slider {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
    margin: -20px 0;
}

.products-grid {
    display: flex;
    gap: 30px;
    transition: transform 0.45s ease-in-out;
}

.product-card {
    flex: 0 0 calc((100% - 60px) / 3);
}

.product-card {
    position: relative;
    height: 520px;
    border-radius: 28px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 35px;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(16, 24, 48, 0.85) 0%, rgba(16, 24, 48, 0.1) 60%, transparent 100%);
    z-index: 1;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(41, 51, 87, 0.92);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.card-content {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.card-product-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #dbedfb;
    line-height: 1.2;
}

.arrow-btn-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: transparent;
    border-radius: 12px;
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border: 1.5px solid #ffffff;
}

.card-product-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #ffffff;
    line-height: 1.6;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.card-action-wrapper {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.saiba-mais-btn {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    background-color: #ffffff;
    color: #293357;
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    text-transform: uppercase;
    cursor: pointer;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(41, 51, 87, 0.2);
}

.product-card:hover::after { opacity: 1; }
.product-card:hover .card-product-desc { max-height: 250px; opacity: 1; margin-top: 5px; }
.product-card:hover .arrow-btn-circle { display: none; opacity: 0; }
.product-card:hover .saiba-mais-btn { display: inline-block; opacity: 1; transform: translateY(0); }

.slider-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.nav-arrow {
    width: 64px;
    height: 48px;
    border: 1.5px solid #293357;
    background-color: transparent;
    color: #293357;
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.nav-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.nav-arrow:hover { background-color: #293357; color: #ffffff; }


/* ==========================================================================
   BLOCO 4: MAQUINÁRIO
   ========================================================================= */
.machinery-section {
    width: 100%;
    padding: 100px 40px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}

.machinery-container {
    max-width: 1280px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.machinery-header {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: flex-end;
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
}

.machinery-header .section-title {
    font-size: 38px;
}

.machinery-header-right p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
}

.machinery-banner-bg {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 600px;
    background: url('images/bkg.webp') no-repeat center center / cover;
    overflow: hidden;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay azul sobre a imagem de fundo */
.machinery-banner-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(41, 51, 87, 0.65);
    z-index: 1;
}

.machinery-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    max-width: 1160px;
    align-items: center;
}

.machinery-card {
    background: rgba(26, 36, 66, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    padding: 40px;
    min-height: 250px;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.machinery-card-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.machinery-card-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #dbedfb;
    line-height: 1.3;
}

.machinery-card-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14.5px;
    color: #ffffff;
    line-height: 1.6;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.machinery-action {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 5px;
}

.machinery-arrow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: transparent;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1.5px solid #ffffff;
}

.machinery-card:hover {
    background: rgba(41, 51, 87, 0.96);
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(16, 24, 48, 0.4);
}

.machinery-card:hover .machinery-card-desc {
    max-height: 300px;
    opacity: 1;
    margin-top: 10px;
}

.machinery-card:hover .machinery-arrow-btn {
    opacity: 0;
    transform: translateX(10px);
    display: none;
}


/* ==========================================================================
   BLOCO 5: NOSSOS SERVIÇOS
   ========================================================================== */
.services-section {
    width: 100%;
    padding: 120px 40px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.services-container {
    max-width: 1080px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.services-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.services-left .section-title {
    font-size: 38px;
    letter-spacing: 0.5px;
}

.services-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    max-width: 480px;
}

.services-watermark {
    position: absolute;
    bottom: 0;
    left: 0;
    width: auto;
    max-height: 250px;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
}

.services-right {
    width: 100%;
}

.services-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.services-list li {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #293357;
    padding: 20px 0;
    border-bottom: 1.5px solid #dbedfb;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
}

.services-list li:hover {
    color: #7f8c8d;
    padding-left: 10px;
}


/* ==========================================================================
   BLOCO 6: DEPOIMENTOS
   ========================================================================== */
.testimonials-section {
    width: 100%;
    padding: 100px 40px 240px 40px; /* Padding inferior aumentado para dar respiro ao overlap */
    background-color: #f1f2ef;
    display: flex;
    justify-content: center;
}

.testimonials-container {
    max-width: 1280px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.testimonials-header {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: flex-end;
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
}

.testimonials-header .section-title {
    font-size: 38px;
}

.testimonials-header-right p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
}

.testimonials-divider {
    border: none;
    height: 1.5px;
    background-color: #dbedfb;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.testimonials-slider-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 50px;
    margin: 20px 0;
}

.quote-icon {
    width: 90px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.testimonials-viewport {
    width: 100%;
    max-width: 820px;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-content {
    flex: 0 0 100%;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 10px;
}

.testimonial-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #293357;
    line-height: 1.7;
}

.testimonial-author {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #293357;
    letter-spacing: 0.5px;
}


/* ==========================================================================
   BLOCO 7 + RODAPÉ (CONTEÚDO COMPLETO E DETALHE DO OVERLAP)
   ========================================================================== */
.footer-section {
    width: 100%;
    background-color: #ffffff; /* Fundo branco solicitado */
    position: relative;
    padding-top: 240px; /* Abre espaço técnico para acolher o overlap do Bloco CTA */
    padding-bottom: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* MARCA D'ÁGUA DA DIREITA */
.footer-watermark {
    position: absolute;
    right: -400px;
    bottom: 40px;
    max-height: 85%;
    width: auto;
    object-fit: contain;
    
    pointer-events: none;
    z-index: 1;
}

/* CONTAINER DO CTA FLOATING BOX (A MÁGICA DO ALINHAMENTO) */
.cta-floating-box {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%); /* Força o card a ficar 50% no cinza e 50% no branco */
    max-width: 1280px;
    width: calc(100% - 80px);
    background: url('images/bloco-cta.webp') no-repeat center center / cover;
    border-radius: 28px;
    padding: 100px 50px;
    box-shadow: 0px 20px 50px rgba(16, 24, 48, 0.15);
    z-index: 10;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr; /* Duas colunas idênticas separadas por 1px da linha */
    gap: 50px;
    align-items: center;
}

.cta-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-box-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: #dbedfb;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

/* Coluna da newsletter alinhada à direita */
.cta-col:last-child {
    text-align: right;
    align-items: flex-end;
}

.cta-col:last-child .cta-box-btn {
    align-self: flex-end;
}

.cta-box-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14.5px;
    color: #ffffff;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 480px;
}

.cta-box-btn {
    display: inline-block;
    align-self: flex-start;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    color: #293357;
    background-color: #dbedfb; /* Botão no padrão azul claro */
    padding: 12px 28px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.cta-box-btn:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
}

/* Linha sutil divisória */
.cta-divider {
    background-color: rgba(255, 255, 255, 0.3);
    height: 100%;
    width: 1px;
}

/* CORPO DO RODAPÉ (CONTEÚDO PRINCIPAL) */
.footer-main-container {
    max-width: 1280px;
    width: 100%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.footer-logo {
    max-width: 180px;
    height: auto;
}

/* Links do menu */
.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #293357;
    text-decoration: none;
    letter-spacing: 0.8px;
    transition: color 0.2s ease;
}

.footer-nav a i {
    font-size: 12px;
    margin-left: 3px;
}

.footer-nav a:hover {
    color: #7f8c8d;
}

/* Textos institucionais do rodapé */
.footer-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-info p {
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    color: #000000;
    line-height: 1.5;
}

.footer-info .address {
    font-weight: 500;
    color: #293357;
}

/* Redes Sociais Circulares */
.footer-socials {
    display: flex;
    gap: 15px;
}

.social-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #293357;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-circle:hover {
    background-color: #dbedfb;
    color: #293357;
    transform: translateY(-2px);
}

/* BARRA INFERIOR ESCURA (ASSINATURA) */
.footer-bottom-bar {
    width: 100%;
    background-color: #1a233d; /* Tom escuro de base */
    padding: 18px 20px;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.signature-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #ffffff;
    opacity: 0.8;
}

.signature-img {
    height: 14px;
    width: auto;
}


/* ==========================================================================
   RESPONSIVIDADE GERAL
   ========================================================================== */
@media (max-width: 1100px) {
    .product-card { flex: 0 0 calc((100% - 30px) / 2); }
}

@media (max-width: 992px) {
    .desktop-nav { display: none; }
    .drawer-nav { display: flex; }

    /* No mobile a coluna da newsletter volta a alinhar à esquerda */
    .cta-col:last-child { text-align: left; align-items: flex-start; }
    .cta-col:last-child .cta-box-btn { align-self: flex-start; }

    .header-container .hamburger-btn { border-left: none; padding-left: 8px; }
    .header-container { padding: 24px 20px 16px; }
    .top-bar { width: calc(100% - 40px); }
    .header-logo-img { max-width: 180px; }

    .about-container, .services-container, .testimonials-header, .testimonials-header, .cta-grid {
        grid-template-columns: 1fr;
        gap: 30px; 
    }
    .about-graphic { order: -1; }
    .products-header, .machinery-header { grid-template-columns: 1fr; gap: 15px; }
    
    .machinery-banner-bg { padding: 30px; }
    .machinery-grid { grid-template-columns: 1fr; gap: 30px; }
    
    .services-watermark { max-height: 250px; }
    
    .quote-icon { width: 45px; }
    .testimonials-slider-box { gap: 20px; }

    /* Esconde o divisor e altera comportamento em tablet */
    .cta-divider { display: none; }
    .cta-floating-box { padding: 40px; position: relative; transform: none; left: 0; width: 100%; top: -60px; margin-bottom: -60px; }
    .footer-section { padding-top: 40px; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 42px; }
    .hero-subtitle { font-size: 24px; }
    .hero-body { font-size: 16px; }
    /* Esconde o espelho no mobile e devolve os botões ao fluxo normal */
    .hero-mirror { display: none; }
    .hero-mirror-wrapper { max-width: 300px; margin-top: 30px; }
    .hero-buttons {
        position: static;
        transform: none;
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    .btn { width: 100%; text-align: center; }
    
    .about-section, .products-section, .machinery-section, .services-section, .testimonials-section { 
        padding: 60px 20px; 
    }
    .about-title, .products-header .section-title, .machinery-header .section-title, .services-left .section-title, .testimonials-header .section-title { 
        font-size: 30px; 
    }
    
    .product-card { flex: 0 0 100%; height: 480px; }
    .machinery-card { padding: 25px; }
    
    .quote-icon { display: none; }
    .testimonials-slider-box { justify-content: center; margin: 10px 0; }
    .testimonial-text { font-size: 15px; }

    .footer-nav { gap: 15px; flex-direction: column; }
    .cta-box-title { font-size: 22px; }
}


/* ==========================================================================
   ANIMAÇÕES DE ROLAGEM / ENTRADA (scroll reveal)
   As regras só valem quando o JS adiciona ".reveal-enabled" no <html>,
   garantindo que o conteúdo apareça mesmo sem JS. Respeita reduced-motion.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
    /* Variante "up": desliza de baixo + fade */
    .reveal-enabled [data-reveal="up"] {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: opacity, transform;
    }

    .reveal-enabled [data-reveal="up"].is-visible {
        opacity: 1;
        transform: none;
    }

    /* Variante "fade": só opacidade (não mexe em transform p/ não quebrar o hover) */
    .reveal-enabled [data-reveal="fade"] {
        opacity: 0;
        transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: opacity;
    }

    .reveal-enabled [data-reveal="fade"].is-visible {
        opacity: 1;
    }
}

/* ==========================================================================
   AJUSTES DE PADRÃO VISUAL E RESPONSIVO
   ========================================================================== */
:root {
    --font-heading: 'Square721BT', 'Square 721 BT', 'Rajdhani', Arial, sans-serif;
    --font-body: Helvetica, Arial, sans-serif;
    --color-blue: #293357;
    --color-light-blue: #dbedfb;
    --color-gray: #f1f2ef;
    --site-max: 1520px;
    --text-max: 1180px;
    --section-x: 40px;
    --section-y: 88px;
    --section-gap: 42px;
    --section-intro-height: 156px;
    --section-panel-height: 540px;
    --section-row-height: 62px;
    --section-overlap-extra: 180px;
    --machinery-card-height: clamp(220px, 22vw, 260px);
    --radius: 18px;
    --button-radius: var(--radius);
    --button-bg: var(--color-light-blue);
    --button-hover-bg: #ffffff;
    --button-color: var(--color-blue);
}

* {
    letter-spacing: 0;
}

body,
p,
.hero-body,
.about-description,
.accordion-content p,
.products-header-right p,
.machinery-header-right p,
.machinery-card-desc,
.services-description,
.testimonials-header-right p,
.testimonial-text,
.cta-box-text,
.footer-info p,
.drawer-contact-item,
.nav-dropdown-menu a {
    font-family: var(--font-body);
}

.sub-label,
.section-title,
.nav-item,
.drawer-title,
.hero-title,
.hero-subtitle,
.btn,
.accordion-header h3,
.card-product-title,
.saiba-mais-btn,
.machinery-card-title,
.services-list li,
.testimonial-author,
.cta-box-title,
.cta-box-btn,
.footer-nav a,
.page-intro-title,
.process-step-title,
.differentiator-title,
.mission-quote {
    font-family: var(--font-heading);
}

.section-title,
.products-header .section-title,
.machinery-header .section-title,
.services-left .section-title,
.testimonials-header .section-title {
    font-size: clamp(34px, 2.7vw, 42px);
    line-height: 1.12;
}

.top-bar,
.header-container,
.about-container,
.products-container,
.machinery-container,
.testimonials-container,
.footer-main-container,
.cta-floating-box,
.footer-bottom-bar {
    max-width: var(--site-max);
}

.products-header,
.machinery-header,
.services-container,
.testimonials-header,
.testimonials-divider {
    max-width: var(--text-max);
}

.about-section,
.products-section,
.machinery-section,
.services-section {
    padding: var(--section-y) var(--section-x);
}

.testimonials-section {
    padding: var(--section-y) var(--section-x) calc(var(--section-y) + var(--section-overlap-extra));
}

.about-container {
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    gap: var(--section-gap);
}

.products-container,
.machinery-container,
.testimonials-container {
    gap: var(--section-gap);
}

.products-header,
.machinery-header,
.testimonials-header {
    grid-template-columns: minmax(360px, 520px) minmax(420px, 560px);
    gap: clamp(10px, 1.2vw, 16px);
    align-items: center;
    justify-content: center;
    min-height: var(--section-intro-height);
}

.services-container {
    grid-template-columns: minmax(360px, 520px) minmax(420px, 560px);
    gap: clamp(10px, 1.2vw, 16px);
    justify-content: center;
    min-height: var(--section-intro-height);
}

.services-left {
    justify-content: center;
}

.products-header-right p,
.machinery-header-right p,
.testimonials-header-right p,
.services-description {
    max-width: 560px;
}

.accordion-header,
.services-list li {
    min-height: var(--section-row-height);
    display: flex;
    align-items: center;
}

.nav-item::after {
    height: 5px;
    bottom: -16px;
    border-radius: 999px;
}

.side-drawer {
    right: -380px;
    width: 380px;
    padding: 32px;
}

.drawer-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-blue);
}

.drawer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.drawer-logo {
    width: 190px;
    max-width: 100%;
    height: auto;
    margin-bottom: 14px;
}

.drawer-contact-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    align-items: center;
    min-height: 62px;
    padding: 12px 14px;
    border: 1.5px solid var(--color-light-blue);
    border-radius: var(--radius);
    color: var(--color-blue);
    font-size: 15px;
    line-height: 1.35;
    text-decoration: none;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.drawer-contact-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background-color: var(--color-light-blue);
    color: var(--color-blue);
}

.drawer-contact-item:hover {
    background-color: rgba(219, 237, 251, 0.35);
    border-color: var(--color-blue);
    transform: translateY(-2px);
}

.drawer-socials {
    display: flex;
    gap: 12px;
    padding-top: 8px;
}

.hero-section {
    min-height: calc(100vh - 90px);
    padding: 86px 20px 110px;
}

.hero-container {
    max-width: 1080px;
    gap: 20px;
}

.hero-title {
    font-size: clamp(54px, 5.4vw, 76px);
    line-height: 1.02;
    text-shadow: none;
}

.hero-subtitle {
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.12;
    margin-bottom: 0;
    text-shadow: none;
}

.hero-body {
    max-width: 780px;
    text-shadow: none;
}

.hero-mirror-wrapper,
.hero-mirror {
    display: none;
}

.hero-buttons {
    position: static;
    transform: none;
    margin-top: 8px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
}

.btn,
.cta-box-btn,
.saiba-mais-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    line-height: 1.12;
    text-align: center;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.btn-primary,
.cta-box-btn,
.saiba-mais-btn {
    background-color: var(--color-light-blue);
    border: 2px solid var(--color-light-blue);
    color: var(--color-blue);
}

.btn-primary:hover,
.cta-box-btn:hover,
.saiba-mais-btn:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--color-blue);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: var(--color-light-blue);
    border-color: var(--color-light-blue);
    color: var(--color-blue);
    transform: translateY(-2px);
}

.products-slider {
    padding: 8px 0 12px;
    margin: 0;
}

.products-grid {
    gap: 24px;
}

.product-card {
    flex: 0 0 calc((100% - 48px) / 3);
    height: var(--section-panel-height);
    border-radius: var(--radius);
    padding: 30px;
    cursor: pointer;
    outline: none;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card::after {
    transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-content {
    gap: 14px;
}

.card-title-row {
    align-items: flex-start;
    gap: 16px;
}

.card-product-title {
    font-size: clamp(20px, 1.6vw, 24px);
    line-height: 1.14;
}

.arrow-btn-circle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.card-product-desc {
    max-height: 0;
    opacity: 0;
    transform: translateY(6px);
    margin-top: 0;
    transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, transform 0.3s ease, margin-top 0.3s ease;
}

.saiba-mais-btn {
    display: inline-flex;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
}

.product-card.is-open,
.product-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(41, 51, 87, 0.18);
}

.product-card.is-open::after,
.product-card:focus-visible::after {
    opacity: 1;
}

.product-card.is-open .card-product-desc,
.product-card:focus-visible .card-product-desc {
    max-height: 340px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 4px;
}

.product-card.is-open .arrow-btn-circle,
.product-card:focus-visible .arrow-btn-circle {
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
}

.product-card.is-open .saiba-mais-btn,
.product-card:focus-visible .saiba-mais-btn {
    display: inline-flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 34px rgba(41, 51, 87, 0.18);
    }

    .product-card:hover::after {
        opacity: 1;
    }

    .product-card:hover .card-product-desc {
        max-height: 340px;
        opacity: 1;
        transform: translateY(0);
        margin-top: 4px;
    }

    .product-card:hover .arrow-btn-circle {
        display: flex;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-4px);
    }

    .product-card:hover .saiba-mais-btn {
        display: inline-flex;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

.slider-navigation {
    margin-top: 0;
}

.nav-arrow {
    border-radius: var(--radius);
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-arrow:hover {
    background-color: var(--color-light-blue);
    border-color: var(--color-light-blue);
    color: var(--color-blue);
    transform: translateY(-2px);
}

.machinery-banner-bg {
    min-height: var(--section-panel-height);
    padding: 56px 40px;
}

.machinery-grid {
    grid-template-columns: repeat(2, minmax(0, 540px));
    justify-content: center;
    align-items: start;
    max-width: var(--text-max);
    gap: 32px;
}

.machinery-card {
    position: relative;
    overflow: hidden;
    min-height: var(--machinery-card-height);
    padding: 28px 30px;
    border: 1.5px solid rgba(219, 237, 251, 0.44);
    border-radius: var(--radius);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
        rgba(41, 51, 87, 0.22);
    backdrop-filter: blur(22px) saturate(155%);
    -webkit-backdrop-filter: blur(22px) saturate(155%);
    cursor: pointer;
    outline: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.46),
        inset 0 -36px 80px rgba(41, 51, 87, 0.22),
        0 24px 60px rgba(16, 24, 48, 0.24);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.machinery-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.34), transparent 32%),
        linear-gradient(120deg, rgba(219, 237, 251, 0.14), transparent 42%, rgba(41, 51, 87, 0.20));
    opacity: 0.58;
    mix-blend-mode: screen;
    pointer-events: none;
}

.machinery-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: calc(var(--radius) - 1px);
    background: linear-gradient(180deg, rgba(41, 51, 87, 0.04), rgba(41, 51, 87, 0.20));
    pointer-events: none;
}

.machinery-card-content {
    position: relative;
    z-index: 2;
    max-width: 430px;
    margin-inline: auto;
}

.machinery-card-title {
    font-size: clamp(20px, 1.55vw, 24px);
    line-height: 1.16;
}

.machinery-card-desc {
    max-height: 0;
    opacity: 0;
    transform: translateY(6px);
    transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), margin-top 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.machinery-arrow-btn {
    width: 44px;
    height: 44px;
    background: #DBEDFB;
    border: 1.5px solid #DBEDFB;
    border-radius: var(--radius);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 12px 28px rgba(41, 51, 87, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.machinery-arrow-btn .converted-arrow {
    filter: none;
}

.machinery-card.is-open,
.machinery-card:focus-visible {
    align-items: flex-start;
    border-color: rgba(219, 237, 251, 0.72);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
        rgba(41, 51, 87, 0.88);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 20px 44px rgba(16, 24, 48, 0.26);
}

.machinery-card.is-open .machinery-card-desc,
.machinery-card:focus-visible .machinery-card-desc {
    max-height: 600px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 8px;
}

.machinery-card.is-open .machinery-arrow-btn,
.machinery-card:focus-visible .machinery-arrow-btn {
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
}

@media (hover: hover) and (pointer: fine) {
    .machinery-card:hover {
        align-items: flex-start;
        transform: translateY(-4px);
        border-color: rgba(219, 237, 251, 0.72);
        background:
            linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(219, 237, 251, 0.08)),
            rgba(41, 51, 87, 0.34);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.55),
            inset 0 -42px 90px rgba(41, 51, 87, 0.22),
            0 30px 72px rgba(16, 24, 48, 0.34);
    }

    .machinery-card:hover .machinery-card-desc {
        max-height: 600px;
        opacity: 1;
        transform: translateY(0);
        margin-top: 8px;
    }

    .machinery-card:hover .machinery-arrow-btn {
        display: flex;
        opacity: 0;
        visibility: hidden;
        transform: translateX(8px);
    }
}

@media (hover: none), (pointer: coarse) {
    .product-card:hover:not(.is-open) {
        transform: none;
        box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    }

    .product-card:hover:not(.is-open)::after {
        opacity: 0;
    }

    .product-card:hover:not(.is-open) .card-product-desc {
        max-height: 0;
        opacity: 0;
        transform: translateY(6px);
        margin-top: 0;
    }

    .product-card:hover:not(.is-open) .arrow-btn-circle {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .product-card:hover:not(.is-open) .saiba-mais-btn {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(8px);
    }

    .machinery-card:hover:not(.is-open) {
        transform: none;
    }

    .machinery-card:hover:not(.is-open) .machinery-card-desc {
        max-height: 0;
        opacity: 0;
        transform: translateY(6px);
        margin-top: 0;
    }

    .machinery-card:hover:not(.is-open) .machinery-arrow-btn {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

.testimonials-container {
    gap: var(--section-gap);
}

.testimonials-header {
    gap: clamp(10px, 1.2vw, 16px);
}

.testimonials-slider-box {
    gap: 32px;
    margin: 4px 0 0;
    min-height: 220px;
}

.testimonial-content {
    gap: 14px;
}

.testimonial-text {
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.6;
}

.cta-floating-box {
    width: calc(100% - 80px);
    border-radius: var(--radius);
    padding: 88px clamp(72px, 7vw, 112px);
}

.cta-grid {
    gap: 64px;
}

.footer-main-container {
    padding: 58px 40px;
    gap: 34px;
}

.footer-nav {
    gap: 0;
}

.footer-nav a {
    padding: 0 24px;
}

.footer-nav a + a {
    border-left: 1.5px solid var(--color-light-blue);
}

.footer-bottom-bar {
    width: calc(100% - 80px);
    background-color: var(--color-blue);
    border-radius: var(--radius) var(--radius) 0 0;
    margin-top: 12px;
}

@media (max-width: 1100px) {
    .product-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 992px) {
    .side-drawer {
        right: -340px;
        width: 340px;
    }

    .about-container,
    .products-header,
    .machinery-header,
    .services-container,
    .testimonials-header,
    .cta-grid {
        grid-template-columns: 1fr;
        gap: var(--section-gap);
    }

    .about-container {
        gap: var(--section-gap);
    }

    .products-header-right p,
    .machinery-header-right p,
    .testimonials-header-right p,
    .services-description {
        max-width: 680px;
    }

    .machinery-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        gap: 24px;
    }

    .cta-floating-box {
        width: calc(100% - 40px);
        padding: 52px 36px;
        top: -56px;
        margin-bottom: -56px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-x: 20px;
        --section-y: 58px;
        --section-gap: 30px;
        --section-intro-height: 0px;
        --section-row-height: 58px;
        --section-overlap-extra: 112px;
    }

    .top-bar {
        width: calc(100% - 40px);
    }

    .header-container {
        height: 82px;
        padding: 22px 20px 14px;
    }

    .header-logo-img {
        max-width: 172px;
    }

    .side-drawer {
        right: -100%;
        width: min(100vw, 340px);
        padding: 26px 22px;
    }

    .drawer-header {
        margin-bottom: 28px;
    }

    .drawer-contact-item {
        min-height: 58px;
        font-size: 14px;
    }

    .hero-section {
        min-height: calc(100vh - 82px);
        padding: 66px 20px 92px;
    }

    .hero-vidrotani {
        width: 112%;
    }

    .hero-title {
        font-size: clamp(40px, 11vw, 52px);
    }

    .hero-subtitle {
        font-size: clamp(23px, 6.6vw, 30px);
    }

    .hero-body {
        font-size: 15.5px;
        line-height: 1.55;
    }

    .hero-buttons {
        width: min(100%, 330px);
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        padding: 14px 18px;
        font-size: 16px;
    }

    .section-title,
    .products-header .section-title,
    .machinery-header .section-title,
    .services-left .section-title,
    .testimonials-header .section-title {
        font-size: 31px;
    }

    .products-slider {
        padding: 0 0 8px;
    }

    .product-card {
        flex: 0 0 100%;
        min-height: 470px;
        height: auto;
        padding: 24px;
    }

    .product-card.is-open .card-product-desc,
    .product-card:focus-visible .card-product-desc {
        max-height: 460px;
    }

    .machinery-banner-bg {
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: -20px;
        min-height: auto;
        padding: 40px 20px;
    }

    .machinery-card {
        min-height: 220px;
        padding: 24px;
    }

    .testimonials-section {
        padding-bottom: 170px;
    }

    .testimonials-slider-box {
        margin-top: 0;
    }

    .cta-floating-box {
        width: calc(100% - 40px);
        padding: 38px 24px;
        top: -46px;
        margin-bottom: -46px;
    }

    .cta-grid {
        gap: 30px;
    }

    .cta-box-btn {
        width: 100%;
        padding: 14px 16px;
    }

    .footer-main-container {
        padding: 46px 20px;
        gap: 28px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 0;
    }

    .footer-nav a {
        padding: 10px 0;
    }

    .footer-nav a + a {
        border-left: 0;
        border-top: 1.5px solid var(--color-light-blue);
    }

    .footer-bottom-bar {
        width: calc(100% - 40px);
    }
}

.card-action-wrapper {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}

.about-graphic {
    position: relative;
    align-items: center;
}

.about-portfolio-btn {
    position: absolute;
    left: 18%;
    bottom: 19%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 78px;
    padding: 18px 24px 18px 30px;
    border: 2px solid var(--color-light-blue);
    border-radius: var(--radius);
    background: linear-gradient(135deg, #00517a 0%, #007aa3 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 700;
    line-height: 1.02;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 14px 28px rgba(16, 24, 48, 0.22);
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    z-index: 2;
}

.about-portfolio-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(16, 24, 48, 0.28);
}

.about-portfolio-arrow {
    width: 62px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 999px;
    background-color: var(--color-light-blue);
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateX(-8px);
    transition: max-width 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.about-portfolio-arrow img {
    width: 22px;
    height: auto;
    display: block;
    min-width: 22px;
}

.about-portfolio-btn:hover .about-portfolio-arrow,
.about-portfolio-btn:focus-visible .about-portfolio-arrow {
    max-width: 62px;
    opacity: 1;
    transform: translateX(0);
}

.nav-dropdown-menu,
.drawer-sub-menu,
.drawer-contact-item,
.drawer-contact-item i,
.btn,
.cta-box-btn,
.nav-arrow,
.product-card,
.arrow-btn-circle,
.saiba-mais-btn,
.machinery-card,
.machinery-arrow-btn,
.cta-floating-box,
.about-portfolio-btn {
    border-radius: var(--radius);
}

.nav-item:not(:first-child),
.header-container .hamburger-btn,
.footer-nav a + a {
    border-left-width: 3px;
}

.btn,
.btn-primary,
.btn-secondary,
.cta-box-btn,
.nav-arrow,
.arrow-btn-circle,
.saiba-mais-btn,
.machinery-arrow-btn,
.about-portfolio-btn {
    border-radius: var(--button-radius);
    background: var(--button-bg);
    border-color: var(--button-bg);
    color: var(--button-color);
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
}

.arrow-btn-circle .converted-arrow,
.machinery-arrow-btn .converted-arrow {
    filter: none;
}

.btn:hover,
.btn:focus-visible,
.cta-box-btn:hover,
.cta-box-btn:focus-visible,
.nav-arrow:not(:disabled):hover,
.nav-arrow:not(:disabled):focus-visible,
.arrow-btn-circle:hover,
.arrow-btn-circle:focus-visible,
.saiba-mais-btn:hover,
.saiba-mais-btn:focus-visible,
.machinery-arrow-btn:hover,
.machinery-arrow-btn:focus-visible,
.about-portfolio-btn:hover,
.about-portfolio-btn:focus-visible {
    border-radius: var(--button-radius);
    background: var(--button-hover-bg);
    border-color: var(--button-hover-bg);
    color: var(--button-color);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(16, 24, 48, 0.18);
}

.btn-secondary {
    background: transparent;
    border-color: #ffffff;
    color: #ffffff;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--color-blue);
}

.about-portfolio-btn,
.about-portfolio-btn:hover,
.about-portfolio-btn:focus-visible {
    background: #002759;
    border-color: #D3EEFC;
    color: #ffffff;
}

.products-container .nav-arrow,
.products-container .nav-arrow:not(:disabled):hover,
.products-container .nav-arrow:not(:disabled):focus-visible {
    background: transparent;
    border-color: #1F3058;
    color: #1F3058;
}

.cta-divider {
    width: 3px;
}

.product-card.is-open .card-action-wrapper,
.product-card:focus-visible .card-action-wrapper {
    max-height: 64px;
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    .product-card:hover .card-action-wrapper {
        max-height: 64px;
        opacity: 1;
    }

    .machinery-card:hover {
        backdrop-filter: blur(18px) saturate(140%);
        -webkit-backdrop-filter: blur(18px) saturate(140%);
    }
}

@media (hover: none), (pointer: coarse) {
    .product-card:hover:not(.is-open) .card-action-wrapper {
        max-height: 0;
        opacity: 0;
    }

    .machinery-card:hover:not(.is-open) {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(219, 237, 251, 0.09));
        backdrop-filter: blur(18px) saturate(140%);
        -webkit-backdrop-filter: blur(18px) saturate(140%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 20px 42px rgba(16, 24, 48, 0.18);
    }
}

.hero-section {
    min-height: clamp(720px, 82vh, 860px);
}

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .main-header,
    .hero-section,
    .about-section,
    .products-section,
    .machinery-section,
    .services-section,
    .testimonials-section,
    .footer-section {
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .header-container,
    .hero-container,
    .about-container,
    .products-container,
    .machinery-container,
    .services-container,
    .testimonials-container,
    .footer-main-container {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .about-content,
    .about-graphic,
    .products-header > *,
    .machinery-header > *,
    .services-left,
    .services-right,
    .testimonials-header > *,
    .cta-col {
        min-width: 0;
    }

    p,
    .hero-title,
    .hero-subtitle,
    .section-title,
    .card-product-title,
    .machinery-card-title,
    .cta-box-title {
        text-wrap: wrap;
    }

    .header-container {
        position: relative;
        align-items: center;
        width: 100vw;
        max-width: 100vw;
        margin: 0;
        padding-right: 78px;
    }

    .hamburger-btn {
        display: flex;
        flex: 0 0 44px;
        position: absolute;
        top: 50%;
        right: 20px;
        margin-left: 0;
        transform: translateY(-50%);
        color: var(--color-blue);
    }

    .hero-section {
        min-height: clamp(560px, 82vh, 720px);
        padding: 58px 20px 76px;
    }

    .hero-container {
        max-width: 100%;
        width: 100%;
    }

    .hero-title,
    .hero-subtitle,
    .hero-body {
        width: min(100%, 320px);
        max-width: 100%;
        margin-inline: auto;
        overflow-wrap: break-word;
    }

    .hero-title {
        font-size: clamp(28px, 7.6vw, 32px);
        line-height: 1.08;
    }

    .hero-subtitle {
        font-size: clamp(17px, 4.7vw, 20px);
        line-height: 1.16;
    }

    .hero-body {
        max-width: 310px;
        margin-inline: auto;
        font-size: 15px;
        line-height: 1.52;
    }

    .hero-buttons {
        width: min(100%, 300px);
    }

    .about-graphic {
        overflow: visible;
    }

    .about-img {
        max-width: min(100%, 330px);
    }

    .about-portfolio-btn {
        left: 50%;
        bottom: 16%;
        width: min(78%, 250px);
        min-height: 58px;
        padding: 12px 16px;
        gap: 12px;
        font-size: 17px;
        transform: translateX(-50%);
    }

    .about-portfolio-btn:hover {
        transform: translateX(-50%) translateY(-2px);
    }

    .about-portfolio-arrow {
        width: 48px;
        height: 24px;
    }

    .about-portfolio-arrow img {
        width: 18px;
    }
}


/* ==========================================================================
   PADRONIZAÇÃO DE TAMANHOS DE TEXTO
   Parágrafo / body / subtítulo: sempre 18px. Título de seção (h2): sempre 42px.
   ========================================================================== */
p,
.hero-body,
.sub-label,
.about-description,
.accordion-content p,
.products-header-right p,
.machinery-header-right p,
.machinery-card-desc,
.services-description,
.testimonials-header-right p,
.testimonial-text,
.cta-box-text,
.card-product-desc,
.page-intro-body,
.process-header p,
.process-step-desc,
.differentiator-desc {
    font-size: 18px;
}

.section-title,
.products-header .section-title,
.machinery-header .section-title,
.services-left .section-title,
.testimonials-header .section-title,
.hero-subtitle {
    font-size: 42px;
}

.btn,
.cta-box-btn,
.saiba-mais-btn,
.about-portfolio-btn {
    font-size: 18px;
}

.nav-item,
.footer-nav a,
.drawer-item {
    font-size: 18px;
}

.footer-info p {
    font-size: 18px;
}

/* ==========================================================================
   AJUSTES FINAIS SOLICITADOS
   ========================================================================== */
:root {
    --menu-hover-blue: #054D99;
}

body {
    color: #000000;
    padding-top: 90px;
}

p {
    color: inherit;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 900;
}

.nav-item:hover,
.nav-item.active,
.drawer-item:hover,
.drawer-item.active,
.hamburger-btn:hover,
.drawer-close-btn:hover {
    color: var(--menu-hover-blue);
}

.nav-item::after {
    height: 7px;
    bottom: -20px;
    background-color: var(--menu-hover-blue);
}

.footer-nav a:hover {
    color: var(--menu-hover-blue);
}

.social-circle:hover {
    background-color: var(--menu-hover-blue);
    color: #ffffff;
}

.footer-info p,
.footer-info .address,
.footer-info .contacts {
    color: #000000;
}

.page-breadcrumb,
.page-breadcrumb a,
.page-breadcrumb span {
    font-family: var(--font-heading);
}

.about-page .page-intro .sub-label,
.contact-page .page-intro .sub-label {
    font-size: 25px;
}

.about-page .page-intro {
    background-image: url('images/banner-quem-somos.webp');
}

.page-intro-body {
    font-size: 18px;
    line-height: 1.65;
    max-width: 640px;
}

.machinery-grid {
    align-items: start;
}

.machinery-card {
    align-self: start;
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        backdrop-filter 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.machinery-card-desc {
    transition:
        max-height 0.68s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.5s ease,
        transform 0.5s ease,
        margin-top 0.5s ease;
    will-change: max-height, opacity, transform;
}

/* ==========================================================================
   PAGINA CONTATO
   ========================================================================== */
.contact-section {
    width: 100%;
    padding: var(--section-y) var(--section-x) calc(var(--section-y) + var(--section-overlap-extra));
    background-color: #f1f2ef;
    display: flex;
    justify-content: center;
}

.contact-container {
    max-width: var(--text-max);
    width: 100%;
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
    gap: 32px;
    align-items: start;
}

.contact-panel,
.contact-form-panel {
    background-color: #ffffff;
    border: 1.5px solid var(--color-light-blue);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(16, 24, 48, 0.08);
}

.contact-panel {
    padding: 32px;
}

.contact-panel-title,
.contact-form-title {
    font-family: var(--font-heading);
    font-size: 30px;
    line-height: 1.15;
    color: var(--color-blue);
    margin-bottom: 20px;
}

.contact-list {
    display: grid;
    gap: 14px;
}

.contact-card {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    align-items: center;
    min-height: 78px;
    padding: 16px;
    border: 1.5px solid var(--color-light-blue);
    border-radius: var(--radius);
    color: #000000;
    text-decoration: none;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.contact-card:hover {
    border-color: var(--menu-hover-blue);
    box-shadow: 0 12px 26px rgba(5, 77, 153, 0.14);
    transform: translateY(-2px);
}

.contact-card i {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--button-radius);
    background-color: var(--color-light-blue);
    color: var(--menu-hover-blue);
    font-size: 18px;
}

.contact-card span {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--color-blue);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.contact-card strong {
    display: block;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.35;
    color: #000000;
}

.contact-form-panel {
    padding: 34px;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-field {
    display: grid;
    gap: 8px;
}

.contact-field label {
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--color-blue);
    text-transform: uppercase;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    border: 1.5px solid var(--color-light-blue);
    border-radius: var(--radius);
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 16px;
    color: #000000;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-field textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: var(--menu-hover-blue);
    box-shadow: 0 0 0 4px rgba(5, 77, 153, 0.1);
}

.contact-submit {
    width: fit-content;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 2px solid var(--color-light-blue);
    border-radius: var(--button-radius);
    padding: 13px 26px;
    background-color: var(--color-light-blue);
    color: var(--color-blue);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
    background-color: var(--menu-hover-blue);
    border-color: var(--menu-hover-blue);
    color: #ffffff;
    transform: translateY(-2px);
}

.contact-submit:disabled {
    opacity: 0.6;
    cursor: progress;
    transform: none;
    background-color: var(--color-light-blue);
    border-color: var(--color-light-blue);
    color: var(--color-blue);
}

/* Armadilha anti-spam: fora da tela, mas nao display:none — alguns bots
   ignoram campos ocultos por display. */
.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-error {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.4;
    color: #c02b2b;
    min-height: 0;
}

.contact-error:empty {
    display: none;
}

.contact-field input[aria-invalid="true"],
.contact-field textarea[aria-invalid="true"] {
    border-color: #c02b2b;
}

.contact-field input[aria-invalid="true"]:focus,
.contact-field textarea[aria-invalid="true"]:focus {
    box-shadow: 0 0 0 4px rgba(192, 43, 43, 0.12);
}

.contact-status {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    padding: 12px 16px;
    border-radius: var(--radius);
    border-left: 3px solid transparent;
}

.contact-status:empty {
    display: none;
}

.contact-status.is-sucesso {
    background-color: rgba(30, 122, 62, 0.08);
    border-left-color: #1e7a3e;
    color: #1a6435;
}

.contact-status.is-erro {
    background-color: rgba(192, 43, 43, 0.08);
    border-left-color: #c02b2b;
    color: #9c2222;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 82px;
    }

    .page-intro-body {
        font-size: 18px;
    }

    .nav-item::after {
        bottom: -18px;
    }

    .machinery-card {
        height: auto;
        min-height: 300px;
    }

    .machinery-card-content {
        height: auto;
        min-height: 240px;
    }

    .machinery-action {
        margin-top: 24px;
    }

    .contact-panel,
    .contact-form-panel {
        padding: 24px;
    }

    .contact-panel-title,
    .contact-form-title {
        font-size: 25px;
    }

    .contact-submit {
        width: 100%;
    }
}
