/* ============================================================
   ERV Locações — Design system (Corporativo + Moderno/Tech)
   Visual limpo e premium: azul-marinho profundo + azul + dourado suave.
   ============================================================ */
:root {
    /* Marca (Cor da marca = azul; Destaque = dourado) */
    --primary: #1B6FD0;
    --primary-dark: #14529E;
    --primary-light: #8FC3F0;
    --cta: #C9A24B;
    --cta-dark: #B08A35;
    --secondary: #0E2A4A;
    --secondary-deep: #071B30;

    /* Quanto o card de vidro do hero vaza a borda (assinatura) */
    --hero-vaza: clamp(28px, 4vw, 56px);

    /* Superfícies */
    --text: #10243A;
    --text-light: #5A6B7F;
    --bg-light: #F4F7FA;
    --bg-white: #FFFFFF;
    --bg-deep: #0A1E33;
    --border: #E6ECF3;
    --border-strong: #C3D0DE;

    /* WhatsApp (cor oficial, usada no site) */
    --whatsapp: #25D366;
    --whatsapp-dark: #1DA851;

    /* Sombras (tom frio, trocável por estilo) */
    --shadow-sm: 0 2px 10px rgba(var(--sombra-rgb), .05);
    --shadow: 0 8px 30px rgba(var(--sombra-rgb), .07), 0 2px 8px rgba(var(--sombra-rgb), .04);
    --shadow-lg: 0 24px 60px rgba(var(--sombra-rgb), .13), 0 8px 24px rgba(var(--sombra-rgb), .06);

    --radius: calc(18px * var(--raio-mult));
    --radius-sm: calc(12px * var(--raio-mult));
    --radius-lg: calc(26px * var(--raio-mult));

    /* Escalas ajustáveis pela ferramenta de estilo */
    --espaco-mult: 1;
    --raio-mult: 1;
    --font-mult: 1;

    --transition: all .25s cubic-bezier(.34, 1.56, .64, 1);
    --ease: all .25s ease;
    --spring: cubic-bezier(.34, 1.56, .64, 1);
    --container: 1220px;

    --font: 'Inter', sans-serif;
    --font-display: 'Sora', sans-serif;
    --font-destaque: var(--font-display);
    --font-destaque-estilo: normal;
    --texto-destaque: #C9A24B;

    --grad-hero: linear-gradient(160deg, #071B30 0%, #0A2540 55%, #0E3558 100%);
    --grad-cta: linear-gradient(120deg, #C9A24B, #B08A35);
    --grad-primary: linear-gradient(135deg, #1B6FD0, #14529E);

    /* ===== KIT DE ASSINATURA (trocável por estilo) ===== */
    --sombra-rgb: 14, 58, 102;
    --hero-overlay: linear-gradient(rgba(6, 16, 30, .55), rgba(6, 16, 30, .78));
    --hero-textura: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    --hero-textura-tam: 58px 58px;
    --brilho: color-mix(in srgb, var(--deep-2) 55%, transparent);
    --brilho-suave: color-mix(in srgb, var(--primary) 14%, transparent);
    --card-img: linear-gradient(135deg, #EDF2F7 0%, #DCE5EE 100%);
    --grao: none;
    --textura-grao: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");

    /* Cores de superfície controladas pelo seletor de cores */
    --header-base: #0A2540;
    --header-base-2: #071B30;
    --header-rolado: #08223A;
    --header-rolado-2: #051A2E;
    --deep-1: #0A2540;
    --deep-2: #071B30;
    --deep-3: #051525;
    --trust-bg: #0C2038;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: calc(16px * var(--font-mult));
}

body {
    font-family: var(--font);
    color: var(--text);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Grão de textura (só aparece quando o estilo define --grao) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    background-image: var(--grao);
    background-size: 140px 140px;
    background-repeat: repeat;
}

::selection {
    background: color-mix(in srgb, var(--primary) 22%, transparent);
    color: var(--deep-2);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Foco visível ao navegar com a tecla Tab (acessibilidade). */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Em fundos escuros (cabeçalho/rodapé) o azul some; usa branco. */
.header :focus-visible,
.footer :focus-visible {
    outline-color: #fff;
}

ul {
    list-style: none;
}

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

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

/* ===== BARRA DE PROGRESSO DE LEITURA (criada via JS) ===== */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--cta));
    z-index: 99999;
    pointer-events: none;
}

/* ===== SCROLLBAR PERSONALIZADA ===== */
::-webkit-scrollbar {
    width: 11px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--secondary) 45%, #fff);
    border-radius: 99px;
    border: 2px solid var(--bg-light);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ===== BOTÃO WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--whatsapp);
    color: #fff;
    box-shadow: 0 10px 26px rgba(37, 211, 102, .38);
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: var(--whatsapp-dark);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 14px 32px rgba(37, 211, 102, .48);
}

.whatsapp-float i {
    font-size: 30px;
    color: #fff;
    line-height: 1;
}

/* ===== CARRINHO DE ORÇAMENTO ===== */
.quote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 6px 16px rgba(27, 111, 208, .22);
    transition: var(--transition);
}

.quote-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(27, 111, 208, .3);
}

.quote-btn i {
    font-size: 17px;
}

.quote-btn.added {
    background-color: var(--whatsapp);
    color: #fff;
    box-shadow: 0 6px 16px rgba(37, 211, 102, .3);
}

.quote-nav-badge.bump {
    animation: quote-badge-bump .4s ease;
}

@keyframes quote-badge-bump {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); }
    100% { transform: scale(1); }
}

.quote-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(7, 27, 48, .55);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--ease);
}

.quote-overlay.show {
    opacity: 1;
    visibility: visible;
}

.quote-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 92vw;
    height: 100%;
    background-color: var(--bg-white);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .35s ease;
    box-shadow: -10px 0 40px rgba(7, 27, 48, .18);
}

.quote-drawer.open {
    transform: translateX(0);
}

.quote-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px;
    border-bottom: 1px solid var(--border);
}

.quote-drawer-header h3 {
    color: var(--secondary);
    font-size: 1.25rem;
    font-family: var(--font-display);
}

.quote-drawer-header h3 i {
    color: var(--primary);
    margin-right: 6px;
}

.quote-drawer-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    margin-right: 6px;
    vertical-align: -4px;
}

.quote-drawer-header p {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
}

.quote-close {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.quote-close:hover {
    color: var(--text);
    transform: rotate(90deg);
}

.quote-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px 25px;
}

.quote-empty {
    text-align: center;
    padding: 40px 0;
    color: var(--text-light);
}

.quote-empty i {
    font-size: 48px;
    color: var(--border);
    margin-bottom: 15px;
}

.quote-empty p {
    font-size: 14px;
}

.quote-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.quote-item-info {
    flex: 1;
}

.quote-item-info strong {
    font-size: 14px;
    color: var(--text);
    display: block;
    margin-bottom: 10px;
}

.quote-item-controls {
    display: flex;
    gap: 12px;
}

.quote-stepper {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: var(--bg-light);
    border-radius: 50px;
    padding: 4px 8px;
}

.quote-stepper-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    margin-left: 4px;
}

.quote-stepper button {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background-color: #fff;
    color: var(--primary-dark);
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--ease);
}

.quote-stepper button:hover {
    background-color: var(--primary);
    color: #fff;
}

.quote-dias-hint {
    margin: 8px 0 0;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.3;
}

.quote-stepper button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.quote-stepper-value {
    font-weight: 800;
    font-size: 14px;
    min-width: 34px;
    max-width: 52px;
    width: 40px;
    text-align: center;
    color: var(--secondary);
    border: none;
    background: transparent;
    font-family: var(--font);
    padding: 0;
    -moz-appearance: textfield;
}
.quote-stepper-value:focus {
    outline: 2px solid color-mix(in srgb, var(--cta) 55%, transparent);
    outline-offset: 2px;
    border-radius: 6px;
}
.quote-stepper-value::-webkit-outer-spin-button,
.quote-stepper-value::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quote-item-remove {
    background: none;
    border: none;
    color: #c3ccd6;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    align-self: flex-start;
    transition: var(--ease);
}

.quote-item-remove:hover {
    color: #e74c3c;
}

.quote-drawer-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quote-extras {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 4px;
}

.quote-extras[hidden] {
    display: none !important;
}

.quote-summary {
    margin: 0;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    color: var(--secondary);
    font-size: 0.84rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.35;
}

.quote-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
}

.quote-field em {
    font-style: normal;
    font-weight: 500;
    color: var(--text-light);
}

.quote-field input[type="date"],
.quote-field input[type="text"],
.quote-field textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    background: #fff;
    resize: vertical;
    transition: border-color .2s ease;
}

.quote-field input[type="date"]:focus,
.quote-field input[type="text"]:focus,
.quote-field textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.quote-field.is-invalid input {
    border-color: #d64545;
}

.quote-field-error {
    font-size: 0.75rem;
    font-weight: 600;
    color: #d64545;
}

.quote-field-error[hidden] {
    display: none !important;
}

.quote-field textarea {
    min-height: 64px;
    line-height: 1.4;
}

.quote-rule-note {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--text-light);
    text-align: center;
}

.quote-rule-note[hidden] {
    display: none !important;
}

.quote-send-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--whatsapp);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 15px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    transition: var(--transition);
}

.quote-send-btn:hover {
    background-color: var(--whatsapp-dark);
    transform: translateY(-2px);
}

.quote-send-btn:disabled {
    background-color: #cbd4dd;
    cursor: not-allowed;
    transform: none;
}

.quote-clear-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 13px;
    cursor: pointer;
    font-family: var(--font);
    transition: var(--ease);
}

.quote-clear-btn:hover {
    color: #e74c3c;
}

body.no-scroll {
    overflow: hidden;
}

/* ===== HEADER ===== */
.header {
    background: linear-gradient(135deg, var(--header-base), var(--header-base-2));
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: background .3s ease, box-shadow .3s ease;
}

.header.scrolled {
    background: linear-gradient(160deg, var(--header-rolado), var(--header-rolado-2));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(7, 27, 48, .25);
}

.main-nav {
    background-color: transparent;
    position: relative;
}

.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    line-height: 1.2;
    flex-shrink: 0;
}

.logo-img {
    width: 78px;
    height: 78px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25));
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2px;
    margin-right: auto;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a,
.nav-list > li > button {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, .85);
    padding: 15px 14px;
    font-weight: 600;
    font-size: 14px;
    font-family: inherit;
    background: none;
    border: 0;
    transition: var(--ease);
    cursor: pointer;
    white-space: nowrap;
    position: relative;
}

.nav-list > li > a::after,
.nav-list > li > button::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 8px;
    height: 2px;
    border-radius: 2px;
    background: var(--cta);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.nav-list > li > a:hover,
.nav-list > li > button:hover {
    color: #fff;
}

.nav-list > li > a:hover::after,
.nav-list > li > button:hover::after {
    transform: scaleX(1);
}

.nav-list > li > a.active,
.nav-list > li > button.active {
    color: var(--cta);
}

.nav-list > li > a.active::after,
.nav-list > li > button.active::after {
    transform: scaleX(1);
}

/* Item de busca dentro da lista do menu */
.nav-search-item {
    display: flex;
    align-items: center;
}

.nav-search-item .search-bar {
    position: relative;
    flex-shrink: 0;
}

.nav-search-item .search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: rgba(255, 255, 255, .85);
    font-size: 16px;
    width: 42px;
    height: 46px;
    padding: 0 14px;
    cursor: pointer;
    transition: var(--ease);
    gap: 5px;
}

.nav-search-item .search-toggle:hover {
    color: #fff;
}

.nav-search-item .search-expand {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: width .25s ease, opacity .2s ease;
    z-index: 101;
    margin-right: 10px;
}

.nav-search-item .search-expand input {
    width: 300px;
    padding: 11px 18px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 15px;
    font-family: var(--font);
    outline: none;
    background-color: #fff;
    color: var(--text);
    transition: var(--ease);
}

.nav-search-item .search-expand input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(27, 111, 208, .14);
}

.nav-search-item .search-bar.open .search-expand {
    width: 300px;
    opacity: 1;
}

.nav-search-item .search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 300px;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 100;
    border: 1px solid var(--border);
}

.nav-search-item .search-suggestions.active {
    display: block;
}

.nav-search-item .search-suggestions .suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--bg-light);
    transition: var(--ease);
    font-weight: 500;
    font-size: 14px;
    color: var(--text);
}

.nav-search-item .search-suggestions .suggestion-item:hover {
    background-color: color-mix(in srgb, var(--primary) 8%, #fff);
    color: var(--primary-dark);
}

.nav-search-item .search-suggestions .suggestion-item:last-child {
    border-bottom: none;
}

.nav-list .dropdown-arrow {
    font-size: 10px;
    margin-left: 4px;
    transition: var(--ease);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 280px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--ease);
    z-index: 100;
    border-top: 3px solid var(--primary);
    overflow: hidden;
}

.nav-list > li:hover .dropdown-menu,
.nav-list > li.dropdown-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    border-bottom: 1px solid var(--bg-light);
    transition: var(--ease);
    cursor: pointer;
}

.dropdown-menu a:hover {
    background-color: color-mix(in srgb, var(--primary) 8%, #fff);
    color: var(--primary-dark);
    padding-left: 24px;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a .cat-ico {
    width: 25px;
    height: 25px;
    object-fit: contain;
    flex-shrink: 0;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: #fff;
    flex-shrink: 0;
}

.mobile-toggle i {
    font-size: 28px;
    color: #fff;
}

/* ===== FERRAMENTAS DO MENU (telefone + orçamento) ===== */
.nav-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-contact {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #fff;
    font-size: 15px;
    background: rgba(255, 255, 255, .1);
    padding: 9px 16px;
    border-radius: 50px;
    transition: var(--ease);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, .12);
}

.header-phone:hover {
    background: rgba(255, 255, 255, .18);
}

.header-phone i {
    font-size: 17px;
    color: var(--cta);
}

.quote-nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--ease);
    flex-shrink: 0;
}

/* ícone de orçamento do menu: o SVG original é preto; o filtro abaixo
   pinta tudo de branco para combinar com os demais ícones do header */
.quote-nav-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    pointer-events: none;
}

.quote-nav:hover {
    background: rgba(255, 255, 255, .18);
}

.quote-nav-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--cta);
    color: var(--deep-2);
    font-size: 11px;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}

/* ===== HERO ===== */
.hero {
    background: var(--grad-hero);
    color: #fff;
    min-height: calc(100vh - 80px);
    min-height: calc(100svh - 80px);
    /* padrão ouro: o hero preenche a dobra em qualquer monitor, mas NÃO
       cresce sem limite. Em telas muito altas (4K/telão) o hero para em
       900px — senão o vão entre o texto e os cards vira um abismo. */
    min-height: min(calc(100svh - 80px), 900px);
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    position: relative;
    /* hidden: efeitos internos (zoom/parallax) ficam contidos no hero e
       nunca invadem as seções vizinhas. No modo lateral os cards de baixo
       não vazam, então nada é cortado por engano. */
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: stretch;
}

/* camada de decoração contida (textura + brilho não podem vazar;
   só o card de vidro vaza, por design da assinatura) */
.hero-decor {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

/* textura tecnológica (trocável por estilo) */
.hero-decor::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-textura);
    background-size: var(--hero-textura-tam);
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* brilho suave (trocável por estilo) */
.hero-decor::after {
    content: '';
    position: absolute;
    bottom: -140px;
    right: -120px;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, var(--brilho-suave) 0%, transparent 65%);
    border-radius: 50%;
    transform: translateY(var(--py, 0px));
    will-change: transform;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 1180px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-areas: "text benefits";
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}

/* impede que a imagem estique a coluna e invada o conteúdo */
.hero .container > * {
    min-width: 0;
}

.hero-text {
    grid-area: text;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(201, 162, 75, .12);
    color: var(--cta);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .5px;
    margin-bottom: 22px;
    border: 1px solid rgba(201, 162, 75, .3);
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -.3px;
    color: #fff;
    max-width: 620px;
}

.hero h1 span {
    background: linear-gradient(100deg, var(--primary-light), var(--cta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, .78);
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: 0;
    margin-right: 0;
    font-weight: 400;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    /* Ouro metálico: brilho centralizado (não colado na borda), com leve
       inclinação diagonal no reflexo e pontas douradas mais suaves */
    background:
        linear-gradient(108deg, rgba(255, 250, 228, 0) 26%, rgba(255, 250, 228, .45) 42%, rgba(255, 255, 255, .6) 50%, rgba(255, 250, 228, .42) 58%, rgba(255, 250, 228, 0) 74%),
        linear-gradient(92deg, #D4A633 0%, #E6BE52 18%, #F2D783 38%, #FBEFC0 50%, #F3D77C 62%, #D8AC34 82%, #C3911F 100%);
    color: var(--deep-2);
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.05rem;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(255, 240, 190, .75);
    font-family: var(--font);
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, .6),
        inset 0 0 0 1px rgba(255, 255, 255, .18),
        inset 0 -2px 5px rgba(122, 82, 8, .22),
        0 10px 26px rgba(201, 162, 75, .42);
}

.hero-cta:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 246, 216, .95);
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, .65),
        inset 0 0 0 1px rgba(255, 255, 255, .22),
        inset 0 -2px 5px rgba(122, 82, 8, .22),
        0 16px 38px rgba(201, 162, 75, .55);
}

.hero-cta i {
    font-size: 21px;
    color: var(--deep-2);
}

.hero-benefits {
    grid-area: benefits;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    flex-wrap: nowrap;
    width: 100%;
    box-sizing: border-box;
    padding: clamp(28px, 3.5vw, 44px);
    /* superfície controlável (padrão: vidro escuro translúcido) */
    --hb-bg: rgba(255, 255, 255, .06);
    --hb-borda: rgba(255, 255, 255, .14);
    --hb-texto: rgba(255, 255, 255, .92);
    --hb-icone-fundo: rgba(201, 162, 75, .12);
    --hb-icone-borda: rgba(201, 162, 75, .28);
    background: var(--hb-bg);
    border: 1px solid var(--hb-borda);
    border-radius: 24px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    /* Assinatura (quebra de grid): o card vaza a borda inferior do hero.
       O vazamento é proporcional à própria altura do card + compensa o
       padding-bottom do hero — assim o centro dos itens cai exatamente na
       última linha do hero, independentemente do tamanho de cada item. */
    position: relative;
    z-index: 4;
    align-self: end;
    transform: translateY(calc(clamp(3rem, 6vw, 4.5rem) + var(--hero-vaza-item, 50%)));
}

/* compensa o card que vaza, dando respiro à primeira seção após o hero */
.hero + .section {
    padding-top: calc(clamp(3.5rem, 6vw, 5rem) * var(--espaco-mult) + var(--hero-vaza));
}
/* no modo lateral os cards NÃO vazam a borda (regra acima),
   então o respiro extra de compensação não se aplica aqui */
.hero[data-hero-img="lateral"] + .section {
    padding-top: calc(clamp(3.5rem, 6vw, 5rem) * var(--espaco-mult));
}

/* slot da imagem (vazio por padrão = sem imagem) */
.hero-media {
    grid-area: media;
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.hero-media img.hero-img {
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

/* ===== MODOS DA IMAGEM DO HERO =====
   Modos: fundo (atrás de tudo) ou lateral (à direita). Todos os ajustes
   usam variáveis definidas inline no .hero pelo painel. */

/* FUNDO INTEIRO: foto atrás de tudo, com véu escuro; conteúdo na frente */
.hero[data-hero-img="fundo"] .hero-media {
    display: none;
}
/* Reforça o grid de 2 colunas SÓ no desktop. O padrão base do container já
   é "text benefits" (regra redundante aqui), mas em telas < 992px a media
   query mobile que empilha ("text"/"media"/"benefits") precisa vencer — sem
   este escopo, a especificidade desta regra forçava 2 colunas estreitas no
   celular e desalinhava todos os cards. */
@media (min-width: 993px) {
    .hero[data-hero-img="fundo"] .container {
        grid-template-areas: "text benefits";
    }
}
.hero-img-fundo {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}
.hero-img-fundo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(var(--hero-fundo-zoom, 1));
    filter: blur(var(--hero-fundo-blur, 0px));
}
.hero-img-fundo .hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(5, 10, 22, .94) 0%, rgba(5, 10, 22, .78) 48%, rgba(5, 10, 22, .5) 100%);
    opacity: var(--hero-fundo-veil, 1);
}

/* LATERAL + ROTATIVO: cada .hero-slide carrega o par texto+imagem; apenas o
   slide ativo é exibido e é ele quem vira o grid de 2 colunas. O container
   empilha o slider e o pager de abas (cards-tema + setas). */
.hero[data-hero-img="lateral"] .container {
    grid-template-areas:
        "hero-slider"
        "hero-pager";
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    /* Aproxima o botão dos cards de benefícios: menos vão vertical */
    row-gap: clamp(0.75rem, 1.5vw, 1.5rem);
}
.hero-slider {
    grid-area: hero-slider;
    min-width: 0;
}
.hero-slide {
    display: none;
}
.hero-slide.active {
    display: grid;
    grid-template-areas: "text media";
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--hero-lat-largura, 42%));
    column-gap: clamp(2rem, 4vw, 4rem);
    animation: hero-slide-fade .55s ease both;
}
@keyframes hero-slide-fade {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
/* O texto ocupa toda a altura da linha e o CTA cola na base,
   ficando logo acima dos cards de benefícios */
.hero[data-hero-img="lateral"] .hero-slide .hero-text {
    align-self: stretch;
}
.hero[data-hero-img="lateral"] .hero-slide .hero-text .hero-cta {
    margin-top: auto;
}

/* ===== FUNDO (background.webp) cobre TODO o hero nos três banners =====
   A camada fica atrás do conteúdo (z-index 0; o .container é z-index 2).
   Ela é permanente — todos os banners compartilham o mesmo cenário de fundo,
   com parallax de scroll/mouse (a classe .fundo-ativo controla só detalhes
   de texto do banner 1, não o fundo em si). */
.hero-fundo-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("assets/background.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    /* reserva de ~5% para o parallax/mouse mover sem abrir borda.
       O .hero tem overflow:hidden, então nada vaza para fora. */
    transform: scale(1.05);
}
/* véu para legibilidade: escuro na esquerda (texto) e suave no resto */
.hero-fundo-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 12, 24, .86) 0%, rgba(5, 12, 24, .55) 42%, rgba(5, 12, 24, .28) 100%);
}

/* contraste do texto sobre a foto de fundo (vale para os três banners) */
.hero .hero-text {
    text-shadow: 0 2px 24px rgba(5, 12, 24, .55);
}
/* todos os banners: o selo de localização é branco translúcido (vidro
   fosco). No banner 1 ele veste sobre a foto; nos banners 2/3, sobre o
   gradiente escuro — mesmo visual nos três. */
.hero .hero-badge {
    background-color: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.hero.fundo-ativo .hero-subtitle {
    color: rgba(255, 255, 255, .9);
}
/* banner 1: a segunda linha do título perde o gradiente e fica cinza-azulada,
   com peso de fonte menor (mais fina) */
.hero.fundo-ativo .hero-text h1 span {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: initial;
    color: #adbcc9; 
    font-weight: 300;
}
/* banner 1: a primeira linha ("O equipamento ideal para a sua obra.") recebe
   o mesmo degradê do destaque dos banners 2 e 3. A segunda linha continua
   sendo sobrescrita acima (branco-fina), então o degradê só aparece nela. */
.hero.fundo-ativo .hero-text h1 {
    background: linear-gradient(100deg, var(--primary-light), var(--cta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.hero[data-hero-img="lateral"] .hero-media {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero[data-hero-img="lateral"] .hero-media img.hero-img {
    width: 100%;
    object-fit: cover;
    object-position: var(--hero-lat-foco, center);
    border-radius: var(--hero-lat-raio, 20px);
    border: var(--hero-lat-borda, 0px) solid var(--hero-lat-borda-cor, rgba(255, 255, 255, .5));
    opacity: var(--hero-lat-opacidade, 1);
    transition: transform .5s var(--spring), box-shadow .3s ease;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.hero[data-hero-img="lateral"][data-hero-formato="vertical"] .hero-media img.hero-img {
    aspect-ratio: 3 / 4;
    max-height: 520px;
}
.hero[data-hero-img="lateral"][data-hero-formato="horizontal"] .hero-media img.hero-img {
    aspect-ratio: 4 / 3;
}
.hero[data-hero-img="lateral"][data-hero-formato="circulo"] .hero-media img.hero-img {
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    width: min(100%, calc(100svh - 240px));
    max-width: 100%;
}
/* enquadramento: conter mostra a foto inteira (sem cortar) */
.hero[data-hero-img="lateral"][data-hero-encaixe="conter"] .hero-media img.hero-img {
    object-fit: contain;
}

/* PADRÃO OURO (desktop): o banner acompanha EXATAMENTE a altura do bloco de
   texto ao lado do slide, em qualquer resolução. A coluna do slide estica e a
   imagem preenche 100% com object-fit: cover — o corte acontece só nas
   laterais. Por isso o banner deve ter área segura nas bordas laterais. */
@media (min-width: 993px) {
    .hero[data-hero-img="lateral"] .hero-media {
        align-self: stretch;
        align-items: stretch;
        /* moldura: o zoom/efeito da imagem fica DENTRO da própria área e
           nunca invade os botões do pager (que ficam logo abaixo) */
        overflow: hidden;
        border-radius: var(--hero-lat-raio, 20px);
    }
    /* seletores com a mesma especificidade dos modos do painel para
       garantir que o padrão ouro vence o formato/encaixe escolhido */
    .hero[data-hero-img="lateral"][data-hero-formato="vertical"] .hero-media img.hero-img,
    .hero[data-hero-img="lateral"][data-hero-formato="horizontal"] .hero-media img.hero-img,
    .hero[data-hero-img="lateral"][data-hero-encaixe="conter"] .hero-media img.hero-img {
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        max-height: none;
        object-fit: cover;
        /* o recorte/canto agora é da moldura; a imagem não tem mais
           borda/raio próprios (evita "serrilhado" duplo) */
        border: 0;
        border-radius: 0;
        /* reserva de ~7% p/ os efeitos de zoom/movimento sem abrir borda */
        transform: scale(1.07);
    }
}
/* sombra: 0 nenhuma, 1 suave, 2 média, 3 forte */
.hero[data-hero-img="lateral"][data-hero-sombra="0"] .hero-media img.hero-img { box-shadow: none; }
.hero[data-hero-img="lateral"][data-hero-sombra="1"] .hero-media img.hero-img { box-shadow: 0 10px 30px rgba(0, 10, 25, .18); }
.hero[data-hero-img="lateral"][data-hero-sombra="2"] .hero-media img.hero-img { box-shadow: 0 18px 45px rgba(0, 10, 25, .3); }
.hero[data-hero-img="lateral"][data-hero-sombra="3"] .hero-media img.hero-img { box-shadow: 0 28px 70px rgba(0, 10, 25, .42); }
/* hover: zoom suave ao passar o mouse */
.hero[data-hero-img="lateral"][data-hero-hover="on"] .hero-media img.hero-img:hover {
    transform: scale(1.04);
}
/* moldura decorativa: contorno duplo deslocado */
.hero[data-hero-img="lateral"][data-hero-moldura="on"] .hero-media img.hero-img {
    outline: 2px solid var(--hero-lat-borda-cor, var(--primary));
    outline-offset: 12px;
}
/* benefícios em linha cheia quando há imagem lateral */
.hero[data-hero-img="lateral"] .hero-benefits {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    padding: 22px 26px;
}
.hero[data-hero-img="lateral"] .hero-benefit {
    flex: 1 1 220px;
}

/* celular: reduzir (padrão) ou esconder a imagem lateral */
@media (max-width: 992px) {
    .hero[data-hero-img="lateral"] .hero-media img.hero-img {
        width: 100%;
        max-height: 380px;
    }
    /* vence o aspect-ratio/max-height dos modos do painel no celular */
    .hero[data-hero-img="lateral"][data-hero-formato="vertical"] .hero-media img.hero-img,
    .hero[data-hero-img="lateral"][data-hero-formato="horizontal"] .hero-media img.hero-img,
    .hero[data-hero-img="lateral"][data-hero-encaixe="conter"] .hero-media img.hero-img {
        max-height: 380px;
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
    }
    .hero[data-hero-img="lateral"] .hero-media {
        justify-content: center;
    }
    /* no celular o conteúdo de cada slide empilha: texto, depois foto */
    .hero-slide.active {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "text"
            "media";
        row-gap: clamp(1rem, 2.5vw, 1.5rem);
    }
    .hero[data-hero-img="lateral"][data-hero-formato="circulo"] .hero-media img.hero-img {
        max-width: min(70vw, 280px);
    }
    .hero[data-hero-img="lateral"][data-hero-mobile="esconder"] .hero-media {
        display: none;
    }
    /* fundo com foto no celular: vira praticamente um cartaz de ponta a
       ponta (véu mais fechado p/ garantir leitura em telas pequenas) —
       vale para os três banners, que compartilham o mesmo fundo */
    .hero-fundo-slide::after {
        background: linear-gradient(180deg, rgba(5, 12, 24, .82) 0%, rgba(5, 12, 24, .45) 65%, rgba(5, 12, 24, .3) 100%);
    }
}

/* ===== ENTRADA LUXO (zoom cinematográfico) =====
   Toda vez que um banner entra (abre a página ou troca de slide), a imagem
   começa levemente maior e assenta no lugar — dá a sensação de câmera.
   A animação mexe só no transform; o parallax/mouse mexe no translate, que
   é uma propriedade separada e se soma sem conflito. */

/* mobile/tablet: sem reserva de escala (a foto volta ao normal no fim) */
.hero-slide.active .hero-media img.hero-img {
    animation: hero-img-zoom-m 2.4s cubic-bezier(.22, .61, .36, 1);
}
@keyframes hero-img-zoom-m {
    from { transform: scale(1.16); }
    to { transform: scale(1); }
}

/* desktop: termina na reserva (scale 1.07) — não há pulo no fim */
@media (min-width: 993px) {
    .hero-slide.active .hero-media img.hero-img {
        animation: hero-img-zoom-d 2.4s cubic-bezier(.22, .61, .36, 1);
    }
    @keyframes hero-img-zoom-d {
        from { transform: scale(1.18); }
        to { transform: scale(1.07); }
    }
}

/* fundo do banner 1: também entra com leve zoom quando o slide 1 ativa */
.hero.fundo-ativo .hero-fundo-slide {
    animation: hero-fundo-zoom 3s ease-out;
}
@keyframes hero-fundo-zoom {
    from { transform: scale(1.12); }
    to { transform: scale(1.05); }
}

/* ===== NAVEGAÇÃO DO HERO ROTATIVO (setas do pager) ===== */
.hero-arrow {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font);
    flex: 0 0 auto;
}
.hero-arrow:hover {
    background-color: var(--cta);
    border-color: var(--cta);
    color: var(--deep-2);
    transform: translateY(-2px);
}

/* ===== TRANSIÇÃO DA BASE DO HERO (divisória decorativa) =====
   Faz parte do hero: só muda o formato da borda de baixo. O preenchimento
   usa a cor da próxima seção (var(--bg-white)) e acompanha o tema. */
.hero-divider {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 1;
    line-height: 0;
    pointer-events: none;
    color: var(--bg-white);
}
.hero-divider svg {
    display: block;
    width: 100%;
    height: 90px;
}
.hero-divider.fusao {
    height: 90px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-white) 100%);
}

.hero-benefit {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
    font-size: 15px;
    color: var(--hb-texto);
}.hero-benefit .benefit-icon {
    font-size: 1.2rem;
    color: var(--cta);
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--hb-icone-fundo);
    border: 1px solid var(--hb-icone-borda);
    border-radius: 12px;
}
.hero-benefit img.hero-benefit-img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

/* ===== BASE DO HERO (itens sobrepostos, controlados no painel) ===== */

/* Superfícies: sólido claro (texto escuro) / vidro escuro (texto claro) / vidro claro (texto escuro) */
.hero[data-hero-base-superficie="solido-claro"] .hero-benefits {
    --hb-bg: var(--bg-white);
    --hb-borda: rgba(0, 0, 0, .08);
    --hb-texto: #16283E;
    --hb-icone-fundo: color-mix(in srgb, var(--primary) 10%, #fff);
    --hb-icone-borda: color-mix(in srgb, var(--primary) 28%, #fff);
}
.hero[data-hero-base-superficie="vidro-escuro"] .hero-benefits {
    --hb-bg: rgba(8, 16, 32, .68);
    --hb-borda: rgba(255, 255, 255, .14);
    --hb-texto: #FFFFFF;
    --hb-icone-fundo: rgba(201, 162, 75, .14);
    --hb-icone-borda: rgba(201, 162, 75, .3);
}
.hero[data-hero-base-superficie="vidro-claro"] .hero-benefits {
    --hb-bg: rgba(255, 255, 255, .6);
    --hb-borda: rgba(255, 255, 255, .75);
    --hb-texto: #16283E;
    --hb-icone-fundo: color-mix(in srgb, var(--primary) 12%, #fff);
    --hb-icone-borda: color-mix(in srgb, var(--primary) 30%, #fff);
}

/* Quantidade: itens em linha, escondendo os excedentes.
   Padrão ouro: NOWRAP + flex:1 1 0 — todos sempre na MESMA linha, com a
   MESMA largura e a MESMA altura, independente do tamanho do texto. Sem
   nowrap, um texto mais longo quebrava o card para a linha de baixo e ele
   ficava com o dobro da largura dos outros (cards tortos). */
.hero[data-hero-base-qtd] .hero-benefits {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
    padding: 22px 26px;
}
.hero[data-hero-base-qtd] .hero-benefit {
    flex: 1 1 0;
    min-width: 0;
}
.hero[data-hero-base-qtd="2"] .hero-benefit { max-width: 50%; }
.hero[data-hero-base-qtd="3"] .hero-benefit { max-width: 34%; }
.hero[data-hero-base-qtd="4"] .hero-benefit { max-width: 26%; }
.hero[data-hero-base-qtd="2"] .hero-benefit:nth-child(n+3),
.hero[data-hero-base-qtd="3"] .hero-benefit:nth-child(n+4) {
    display: none;
}

/* Formato círculo: cada item vira um círculo (texto centralizado) */
.hero[data-hero-base-formato="circulo"] .hero-benefit {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    padding: 16px 12px;
    gap: 10px;
}.hero[data-hero-base-formato="circulo"] .hero-benefit .benefit-icon,
.hero[data-hero-base-formato="circulo"] .hero-benefit img.hero-benefit-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
}

/* Modo flutuante: sem card único — cada item vira uma peça independente
   com a própria superfície, e cada centro cai exatamente na borda do hero */
.hero[data-hero-base-bloco="flutuante"] .hero-benefits {
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    gap: clamp(14px, 2vw, 22px);
    /* itens lado a lado em uma única linha: todos compartilham a mesma
       linha vertical, então o vazamento no container põe o centro de CADA
       peça exatamente na borda inferior do hero */
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    transform: translateY(calc(clamp(3rem, 6vw, 4.5rem) + var(--hero-vaza-item, 50%)));
}
.hero[data-hero-base-bloco="flutuante"] .hero-benefit {
    background: var(--hb-bg);
    border: 1px solid var(--hb-borda);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 16px 18px;
    flex: 1 1 0;
    min-width: 0;
    align-self: auto;
    transform: none;
}
.hero[data-hero-base-bloco="flutuante"][data-hero-base-formato="circulo"] .hero-benefit {
    border-radius: 50%;
    padding: 16px 12px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    aspect-ratio: 1 / 1;
    gap: 10px;
}
.hero[data-hero-base-bloco="flutuante"][data-hero-base-formato="circulo"] .hero-benefit .benefit-icon,
.hero[data-hero-base-bloco="flutuante"][data-hero-base-formato="circulo"] .hero-benefit img.hero-benefit-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
}

/* Foto lateral: os cards ficam na linha de baixo do hero. Sem o
   deslocamento que os joga para fora da borda, eles ficam logo
   abaixo do botão, sem o vão desproporcional. */
.hero[data-hero-img="lateral"][data-hero-base-bloco="flutuante"] .hero-benefits {
    transform: none;
}

/* Base do Hero no celular: empilha as caixas e limita o tamanho dos círculos */
@media (max-width: 992px) {
    /* sem sobreposição no celular: card e itens flutuantes ficam dentro do fluxo */
    .hero[data-hero-base-qtd] .hero-benefits,
    .hero[data-hero-base-bloco="flutuante"] .hero-benefits {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 18px 20px;
        transform: none;
        background: var(--hb-bg);
        border: 1px solid var(--hb-borda);
        border-radius: 18px;
        box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }
    .hero[data-hero-base-bloco="flutuante"] .hero-benefit {
        background: transparent;
        border: 0;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        transform: none;
        padding: 0;
        border-radius: 0;
    }
    .hero[data-hero-base-qtd] .hero-benefit {
        flex: 1 1 100%;
        width: 100%;
        max-width: none;
    }
    .hero[data-hero-base-formato="circulo"] .hero-benefit {
        align-self: center;
        width: 120px;
        max-width: 120px;
        padding: 10px 8px;
    }
    .hero[data-hero-base-formato="circulo"] .hero-benefit .benefit-icon,
    .hero[data-hero-base-formato="circulo"] .hero-benefit img.hero-benefit-img {
        width: 42px;
        height: 42px;
    }
}

/* ===== PAGER DE ABAS — os cards de benefício viram as abas do banner =====
   Estilo clean: cards brancos, ícones soltos (sem quadradinho) e vazados
   (contorno), na cor do texto. O card ativo é marcado por um contorno
   dourado ao redor, afastado do card (filete transparente no meio). */
.hero .hero-pager {
    grid-area: hero-pager;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1.6vw, 18px);
    min-width: 0;
}
.hero .hero-pager .hero-benefits {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    align-self: center;
    gap: clamp(16px, 1.8vw, 26px);
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: none;
}
.hero .hero-pager .hero-benefits .hero-benefit {
    position: relative;
    font-family: var(--font);
    text-align: left;
    cursor: pointer;
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    background: var(--hb-bg);
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 16px 20px;
    color: var(--hb-texto);
    box-shadow: 0 10px 30px rgba(7, 27, 48, .12);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.hero .hero-pager .hero-benefits .hero-benefit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(7, 27, 48, .16);
}
/* contorno do card ativo: anel afastado do card (filete transparente) */
.hero .hero-pager .hero-benefits .hero-benefit.active::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1.5px solid var(--cta);
    border-radius: 20px;
    pointer-events: none;
}
/* brilho dourado ao redor do card ativo (atrás do anel) */
.hero .hero-pager .hero-benefits .hero-benefit.active {
    box-shadow: 0 0 26px 3px rgba(201, 162, 75, .6), 0 12px 32px rgba(7, 27, 48, .18);
}
/* ícones soltos: mesmo tamanho e na cor do texto. O PNG é usado como
   máscara (molde do desenho) e o preenchimento recebe a cor do texto. */
/* ícones (PNGs já na cor do texto): mesmo tamanho e alinhados com o texto */
.hero .hero-pager .hero-benefits .hero-benefit img.benefit-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    align-self: center;
    object-fit: contain;
    object-position: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Celular: remove a faixa inferior (3 cards/legendas viram navegação escondida —
   o botão flutuante do WhatsApp já é o CTA) e sobe as setas para o meio,
   sobrepostas ao conteúdo, com toque para passar o banner. */
@media (max-width: 992px) {
    .hero .hero-cta {
        display: none; /* botão flutuante do WhatsApp já é o CTA no celular */
    }
    .hero .hero-pager {
        gap: 8px;
    }
    .hero .hero-pager .hero-benefits {
        display: none;
    }
    .hero .hero-pager {
        grid-area: auto; /* sai da célula hero-pager da grade */
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        z-index: 8;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px;
        pointer-events: none;
    }
    .hero .hero-pager .hero-arrow {
        pointer-events: auto;
        width: 40px;
        height: 40px;
        font-size: 13px;
        background: rgba(255, 255, 255, .12);
        border-color: rgba(255, 255, 255, .35);
    }
    .hero .hero-pager .hero-arrow i {
        font-size: 13px;
    }
}

/* ===== SEÇÕES GERAIS ===== */
.section {
    padding: calc(clamp(3.5rem, 6vw, 5rem) * var(--espaco-mult)) 0;
}

.section-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.4vw, 2.3rem);
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 14px;
    letter-spacing: -.5px;
    line-height: 1.2;
    text-wrap: balance;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 40px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

/* ===== MURAL DE CONFIANÇA ===== */
.trust-mural {
    background-color: var(--bg-light);
    padding: 34px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-mural .container {
    overflow: hidden;
    text-align: center;
}

.trust-mural p {
    font-weight: 600;
    color: var(--text-light);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 20px;
}

.trust-logos {
    display: flex;
    width: max-content;
    animation: trust-scroll 30s linear infinite;
}

.trust-track {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
}

.trust-mural:hover .trust-logos {
    animation-play-state: paused;
}

@keyframes trust-scroll {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.trust-logo {
    font-weight: 800;
    font-size: 1.15rem;
    color: #9aa8b8;
    letter-spacing: 1px;
    opacity: .7;
    transition: var(--ease);
    cursor: default;
    white-space: nowrap;
}

.trust-logo img {
    display: block;
    height: 44px;
    width: auto;
    filter: grayscale(1) contrast(1.05);
    transition: var(--ease);
}

.trust-logo:hover {
    opacity: 1;
    color: var(--secondary);
}

.trust-logo:hover img {
    filter: grayscale(0) contrast(1);
}

@media (max-width: 576px) {
    .trust-logo img {
        height: 34px;
    }
}

/* ===== MARCAS DOS EQUIPAMENTOS (vitrine em rolagem) =====
   Mesma mecânica do mural de confiança: dois trilhos idênticos deslizam
   -50% num loop contínuo. Os logos ficam em cinza e "acordam" coloridos
   quando o mouse para em cima deles (padrão ouro de vitrine de marcas). */
.brands {
    background-color: var(--bg-light);
    /* respiro generoso no topo: a seção não "cola" no hero escuro */
    padding: clamp(3.25rem, 7vw, 5.5rem) 0 clamp(1.75rem, 3.5vw, 2.75rem);
    border-bottom: 1px solid var(--border);
}

.brands .container {
    overflow: hidden;
    text-align: center;
}

.brands-title {
    font-weight: 600;
    color: var(--text-light);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 18px;
}

.brands-logos {
    display: flex;
    width: max-content;
    animation: trust-scroll 30s linear infinite;
}

.brands:hover .brands-logos {
    animation-play-state: paused;
}

.brands-track {
    display: flex;
    align-items: center;
    gap: 72px;
    padding-right: 72px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    opacity: .62;
    transition: var(--ease);
    cursor: default;
}

.brand-logo img {
    height: 44px;
    width: auto;
    filter: grayscale(1) contrast(1.05);
    transition: var(--ease);
}

.brand-logo:hover {
    opacity: 1;
}

.brand-logo:hover img {
    filter: grayscale(0) contrast(1);
}

/* celular: logos um pouco menores para a fileira não "engasgar" */
@media (max-width: 576px) {
    .brands {
        padding: 2.25rem 0 1.25rem;
    }
    .brand-logo img {
        height: 34px;
    }
    .brands-track {
        gap: 52px;
        padding-right: 52px;
    }
}

/* ===== BUSCA DE EQUIPAMENTOS ===== */
.catalog-search {
    position: relative;
    max-width: 640px;
    margin: 0 auto 30px;
}

.catalog-search > i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 18px;
    pointer-events: none;
}

.catalog-search input {
    width: 100%;
    padding: 16px 50px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 16px;
    font-family: var(--font);
    color: var(--text);
    outline: none;
    background-color: #fff;
    transition: var(--ease);
    box-shadow: var(--shadow-sm);
}

.catalog-search input::placeholder {
    color: #9aa8b8;
}

.catalog-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(27, 111, 208, .12), var(--shadow);
}

.catalog-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--text-light);
    font-size: 15px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: var(--ease);
    font-family: var(--font);
}

.catalog-search-clear:hover {
    background-color: #e74c3c;
    color: #fff;
}

.catalog-search-clear.visible {
    display: flex;
}

/* ===== FILTRO DE CATEGORIAS ===== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

/* Botão "Categoria" (dropdown) — visível somente no celular */
.catalog-filter-wrap {
    position: relative;
}

.filter-dropdown-toggle {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    background-color: #fff;
    border: 2px solid var(--border);
    border-radius: 50px;
    padding: 12px 20px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 15px;
    color: var(--secondary);
    cursor: pointer;
    transition: var(--ease);
    box-shadow: var(--shadow-sm);
}

.filter-dropdown-toggle:hover {
    border-color: var(--primary);
}

.filter-dropdown-toggle .filter-dropdown-text {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.filter-dropdown-text .filter-dropdown-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.filter-dropdown-text .filter-dropdown-icon i {
    color: var(--primary);
}

.filter-dropdown-text .filter-dropdown-icon .cat-ico {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.filter-dropdown-text strong {
    color: var(--primary-dark);
    font-weight: 700;
}

.filter-dropdown-toggle > i {
    color: var(--primary);
    transition: transform .25s ease;
}

.filter-dropdown-toggle.open > i {
    transform: rotate(180deg);
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #fff;
    color: var(--secondary);
    border: 2px solid var(--border);
    border-radius: 50px;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 14px;
    font-family: var(--font);
    cursor: pointer;
    transition: var(--ease);
    white-space: nowrap;
    min-height: 44px;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
}

.filter-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 6px 16px rgba(27, 111, 208, .22);
}

.filter-btn .filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 50px;
    background-color: rgba(10, 37, 64, .08);
    font-size: 12px;
    font-weight: 700;
}

.filter-btn.active .filter-count {
    background-color: rgba(255, 255, 255, .25);
}

.filter-btn .cat-ico {
    width: 25px;
    height: 25px;
    object-fit: contain;
    flex-shrink: 0;
}

/* No botão ativo (fundo azul) o PNG preto vira branco */
.filter-btn.active .cat-ico {
    filter: brightness(0) invert(1);
}

/* ===== CARDS DE PRODUTOS ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
}

.product-image {
    background: var(--card-img);
    aspect-ratio: 1 / 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-image .product-badge,
.equipment-image .product-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: var(--cta);
    color: var(--deep-2);
    font-weight: 700;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.product-info p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.btn-secondary {
    display: inline-block;
    margin-top: 30px;
    text-align: center;
    background-color: var(--secondary);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font);
    box-shadow: 0 8px 20px rgba(10, 37, 64, .18);
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(10, 37, 64, .24);
}

/* ===== POR QUE ESCOLHER ===== */
.why-choose {
    background-color: var(--bg-light);
}

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

.differentiator-card {
    background: var(--bg-white);
    padding: 32px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.differentiator-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
}

.differentiator-icon {
    font-size: 2.6rem;
    margin-bottom: 16px;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: color-mix(in srgb, var(--primary) 10%, #fff);
}

.differentiator-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.differentiator-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== DEPOIMENTOS (CARROSSEL 2 COLUNAS) ===== */
.testimonials {
    background-color: var(--bg-white);
}

.testimonials-slider {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 30px;
}

.testimonial-slide {
    display: none;
    animation: testimonial-fade .5s ease;
}

.testimonial-slide.active {
    display: block;
}

@keyframes testimonial-fade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonial-card {
    background: var(--bg-light);
    padding: 38px 34px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    text-align: center;
    height: 100%;
}

.testimonial-card .stars {
    color: var(--cta);
    font-size: 1.15rem;
    margin-bottom: 14px;
    letter-spacing: 3px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text);
    margin-bottom: 18px;
    font-size: 1.02rem;
}

.testimonial-card .author {
    font-weight: 700;
    color: var(--secondary);
    font-size: 15px;
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 22px;
}

.testimonials-arrow {
    background: none;
    border: 2px solid var(--border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font);
}

.testimonials-arrow:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: color-mix(in srgb, var(--primary) 8%, #fff);
    transform: translateY(-2px);
}

.testimonials-dots {
    display: flex;
    gap: 8px;
}

.testimonials-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: var(--ease);
}

.testimonials-dots .dot.active {
    background-color: var(--primary);
    transform: scale(1.25);
}

/* ===== SELO DE AVALIAÇÕES DO GOOGLE (abaixo dos depoimentos) ===== */
.google-review {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 30px;
    padding: 22px 28px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.google-review-score {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.google-review-logo {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
}

.google-review-numbers {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.google-review-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.google-review-value {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

/* Estrelas com preenchimento proporcional à nota (ex.: 4,8 = 96%) */
.google-stars {
    position: relative;
    display: inline-block;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
}

.google-stars .google-stars-base,
.google-stars .google-stars-fill {
    display: flex;
    gap: 2px;
}

.google-stars .google-stars-base {
    color: var(--border-strong);
}

.google-stars .google-stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--pct, 100%);
    overflow: hidden;
    color: var(--cta);
}

.google-review-count {
    color: var(--text-light);
    font-size: 13.5px;
}

.google-review-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.google-review-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: 50px;
    background: var(--secondary);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(10, 37, 64, .16);
}

.google-review-link:hover {
    background: var(--secondary-deep);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(10, 37, 64, .22);
}

.google-review-link i {
    font-size: 12px;
}

/* Convite para avaliar (secundário, contorno) */
.google-review-invite {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 22px;
    border-radius: 50px;
    background: #fff;
    border: 2px solid var(--border-strong);
    color: var(--secondary);
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    transition: var(--transition);
}

.google-review-invite:hover {
    border-color: var(--cta);
    color: var(--cta-dark, var(--cta));
    background: color-mix(in srgb, var(--cta) 7%, #fff);
    transform: translateY(-2px);
}

.google-review-invite i {
    color: var(--cta);
    font-size: 13px;
}

@media (max-width: 640px) {
    .google-review {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 20px 18px;
    }

    .google-review-score {
        justify-content: center;
    }

    .google-review-top {
        justify-content: center;
    }

    .google-review-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .google-review-link,
    .google-review-invite {
        justify-content: center;
    }
}

/* ===== LISTA DE EQUIPAMENTOS ===== */
.equipment-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.equipment-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    color: var(--text-light);
}

.equipment-empty i {
    font-size: 48px;
    color: var(--border);
    margin-bottom: 15px;
}

.equipment-empty p {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.equipment-empty .equipment-empty-hint {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
    margin-top: 5px;
}

.equipment-item {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.equipment-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
}

.equipment-image {
    position: relative;
}

.equipment-icon {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    background: var(--card-img);
}

.equipment-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.equipment-info h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.equipment-info p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

/* Limita a descrição do card em até 2 linhas com reticências */
.equipment-info p.desc-clamp,
.product-info p.desc-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 30px auto 0;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.faq-question {
    padding: 18px 25px;
    font-weight: 700;
    font-size: 15px;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--ease);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font);
}

.faq-question:hover {
    background-color: color-mix(in srgb, var(--primary) 6%, #fff);
}

.faq-question .faq-icon {
    font-size: 1.4rem;
    font-weight: 300;
    transition: var(--ease);
    color: var(--primary);
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    padding: 0 25px;
    color: var(--text-light);
    font-size: 14px;
}

.faq-item.open .faq-answer {
    max-height: 220px;
    padding: 0 25px 20px;
}

/* ===== PASSOS ===== */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.step-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    margin: 0 auto 15px;
    box-shadow: 0 8px 18px rgba(27, 111, 208, .25);
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-light);
}


/* ===== CONTATO ===== */
.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.contact-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card h3,
.contact-card p {
    width: 100%;
}

.contact-card:hover {
    border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.contact-card .contact-icon {
    font-size: 2.6rem;
    margin-bottom: 16px;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: color-mix(in srgb, var(--primary) 10%, #fff);
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 16px;
    flex: 1;
}

.contact-card .contact-link {
    display: inline-block;
    background-color: var(--secondary);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    cursor: pointer;
    margin-top: auto;
    width: 100%;
    max-width: 230px;
    box-sizing: border-box;
}

.contact-card .contact-link.whatsapp-link {
    background-color: var(--whatsapp);
}

.contact-card .contact-link:hover {
    opacity: .9;
    transform: translateY(-2px);
}

/* Telefone / e-mail em texto clicável (visível e copiável) */
.contact-card .contact-info-link {
    display: inline;
    margin-left: 4px;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
    word-break: break-word;
    transition: var(--transition);
    white-space: nowrap;
}

.contact-card .contact-info-link:hover {
    text-decoration: underline;
}

/* ===== TEMAS DE WHATSAPP ===== */
.contact-themes {
    margin-top: 44px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: clamp(24px, 4vw, 44px);
}

.contact-themes-head {
    text-align: center;
    margin-bottom: 28px;
}

.contact-themes-head h3 {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.contact-themes-head p {
    color: var(--text-light);
    font-size: 15px;
    max-width: 620px;
    margin: 0 auto;
}

.contact-themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.contact-theme-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: left;
    text-decoration: none;
    transition: var(--transition);
}

.contact-theme-card.whatsapp-link {
    background-color: #fff;
}

.contact-theme-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--whatsapp);
}

.contact-theme-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: color-mix(in srgb, var(--whatsapp) 14%, #fff);
    color: var(--whatsapp);
}

.contact-theme-card strong {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--secondary);
}

.contact-theme-card > span:last-child {
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--text-light);
}

/* ===== ENDEREÇO + HORÁRIO ===== */
.contact-extra {
    margin-top: 30px;
    display: grid;
    gap: 20px;
}

.contact-address {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
}

.contact-address .contact-icon {
    font-size: 1.5rem;
    margin: 0;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 16px;
}

.contact-address h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}

.contact-address p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.contact-hours {
    text-align: center;
    padding: 20px;
    background: color-mix(in srgb, var(--primary) 7%, #fff);
    border: 1px solid color-mix(in srgb, var(--primary) 18%, #fff);
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--secondary);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-hours-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.contact-hours-closed {
    color: var(--text-light);
    font-weight: 500;
}

/* ===== SOBRE NÓS ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 15px;
}

.about-images {
    display: block;
}

.about-foto {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    background: var(--bg-light);
}

.about-foto img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.about-image-placeholder {
    position: relative;
    height: 200px;
    border-radius: var(--radius-sm);
    border: 2px dashed #c3ccd6;
    background: repeating-conic-gradient(#eef2f6 0% 25%, #f8fafc 0% 50%) 0 0 / 22px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #8a98a8;
    font-size: 2.2rem;
    overflow: hidden;
}

.about-img-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.about-img-label {
    font-size: 14px;
    font-weight: 600;
    color: #5f7083;
    letter-spacing: .3px;
}

.about-address {
    margin-top: 25px;
    padding: 20px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--secondary);
    text-align: center;
    font-size: 15px;
}

/* ===== RODAPÉ ===== */
.footer {
    background: linear-gradient(180deg, var(--deep-1) 0%, var(--deep-2) 100%);
    color: #fff;
    padding: 54px 0 25px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 560px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(27, 111, 208, .16) 0%, transparent 65%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
}

.footer-logo {
    width: 108px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .3));
}

.footer h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--cta);
}

.footer p,
.footer a {
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
    transition: var(--ease);
}

.footer a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 20px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Linha 1 — copyright da ERV Locações */
.footer-copy {
    color: rgba(255, 255, 255, .58);
    font-size: 13px;
}

.footer-copy strong {
    color: var(--primary-light);
    font-weight: 600;
}

/* Linha 2 — crédito da Tecno Estúdio (tudo numa linha só) */
.footer-credit-line {
    text-align: center;
    white-space: nowrap;
    color: #fff;
    font-size: 13px;
    line-height: 1;
}

/* Sobrescreve o display:block do rodapé: o link e o parágrafo da linha
   de crédito precisam ficar inline, na mesma linha do texto. */
.footer .footer-credit-line .footer-credit-link,
.footer .footer-credit-line a {
    display: inline;
    margin-bottom: 0;
    font-size: 13px;
}

.footer .footer-credit-line .footer-copy {
    margin-bottom: 0;
}

.footer-credit-logo {
    height: 16px;
    width: auto;
    display: inline-block;
    filter: brightness(0) invert(1);
    vertical-align: middle;
    margin-right: 2px;
}

.footer-credit-text {
    font-size: 13px;
    line-height: 1;
}

.footer-credit-text .fa-heart {
    color: #fff;
    font-size: 12px;
    vertical-align: -2px;
}

.footer-credit-link {
    color: #fff;
    font-weight: 500;
    transition: var(--ease);
}

.footer-credit-link:hover {
    color: var(--primary-light);
}

/* ===== PÁGINAS (SPA) ===== */
.page {
    display: none;
}

.page.active {
    display: block;
    animation: fadeIn .3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== SCROLL REVEAL (aplicado via JS em elementos abaixo da dobra) ===== */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.34, 1.56, .64, 1);
    will-change: opacity, transform;
}

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

/* ===== RESPONSIVO ===== */
@media (max-width: 992px) {
    .mobile-toggle {
        display: block;
    }
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--deep-1);
        padding: 10px 0;
        z-index: 100;
        max-height: 70vh;
        overflow-y: auto;
        box-shadow: 0 20px 40px rgba(7, 27, 48, .35);
    }
    .nav-list.mobile-open {
        display: flex;
    }
    .nav-list > li {
        width: 100%;
    }
    .nav-list > li > a,
    .nav-list > li > button {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        width: 100%;
        text-align: left;
    }
    .nav-list > li > a::after,
    .nav-list > li > button::after {
        display: none;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        border-top: none;
        background-color: #fff;
        display: none;
        min-width: auto;
    }
    .nav-list > li.dropdown-open .dropdown-menu {
        display: block;
    }
    .dropdown-menu a {
        color: var(--text);
        border-bottom: 1px solid var(--border);
        padding-left: 35px;
    }
    .dropdown-menu a:hover {
        background-color: color-mix(in srgb, var(--primary) 8%, #fff);
        color: var(--primary-dark);
    }
    .header-contact {
        display: flex;
    }
    /* padrão ouro mobile: logo cresce à esquerda; telefone, orçamento e
       hambúrguer formam um grupo de controles à direita, sem disputar
       espaço com o logo */
    .main-nav .container {
        justify-content: flex-start;
    }
    .logo {
        margin-right: auto;
    }
    .nav-tools {
        order: 2;
    }
    .header-phone {
        padding: 8px 14px;
        font-size: 14px;
        gap: 7px;
    }
    .header-phone i {
        font-size: 16px;
    }
    .mobile-toggle {
        order: 3;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, .1);
        border: 1px solid rgba(255, 255, 255, .12);
    }
    .mobile-toggle i {
        font-size: 19px;
    }
    .hero .container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "text"
            "media"
            "benefits";
        gap: 2rem;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .about-content {
        grid-template-columns: 1fr;
    }
    /* assinatura do card vazando é desligada em telas menores */
    .hero-benefits {
        transform: none;
    }
    .hero + .section {
        padding-top: calc(clamp(3.5rem, 6vw, 5rem) * var(--espaco-mult));
    }
}

@media (max-width: 768px) {
    .logo-img {
        width: 54px;
        height: 54px;
    }
    .nav-list {
        margin-right: 0;
    }
    .nav-tools {
        gap: 6px;
    }
    .header-phone {
        padding: 7px 12px;
        font-size: 13.5px;
        gap: 6px;
    }
    .header-phone i {
        font-size: 15px;
    }
    .search-expand,
    .nav-search-item .search-bar.open .search-expand {
        position: fixed;
        top: 12px;
        right: 12px;
        left: 12px;
        width: auto;
        margin-right: 0;
        transform: none;
    }
    .search-expand input,
    .nav-search-item .search-expand input {
        width: 100%;
    }
    .search-suggestions,
    .nav-search-item .search-suggestions {
        position: fixed;
        top: 62px;
        right: 12px;
        left: 12px;
        width: auto;
    }
    .hero h1 {
        font-size: 1.5rem;
    }
    .hero-benefits {
        gap: 18px;
    }
    .hero-benefit {
        font-size: 12.5px;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    .whatsapp-float {
        bottom: 18px;
        right: 18px;
        width: 56px;
        height: 56px;
    }
    .whatsapp-float i {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
        min-height: auto;
    }
    .hero h1 {
        font-size: 1.35rem;
    }
    .products-grid,
    .equipment-list {
        grid-template-columns: 1fr;
    }
    .trust-track {
        gap: 22px;
        padding-right: 22px;
    }
    .about-images {
        grid-template-columns: 1fr;
    }
}

/* telas muito estreitas: o número do telefone sai e sobra só o ícone do
   WhatsApp, para a linha do header nunca estourar */
@media (max-width: 340px) {
    .header-phone {
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    .header-phone span {
        display: none;
    }
    .header-phone i {
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ===== FILTROS EM TELAS ESTREITAS DE DESKTOP (993–1150px) =====
   Não quebram linha: rolam horizontalmente com uma barra fina. */
@media (min-width: 993px) and (max-width: 1150px) {
    .filter-bar {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding: 2px 4px 12px;
        margin-left: -4px;
        margin-right: -4px;
    }
    .filter-bar .filter-btn {
        flex: 0 0 auto;
    }
    .filter-bar::-webkit-scrollbar {
        height: 6px;
    }
    .filter-bar::-webkit-scrollbar-thumb {
        background: var(--border-strong);
        border-radius: 99px;
    }
}

/* ===== FILTROS NO CELULAR (até 992px): DROPDOWN =====
   Um botão "Categoria" mostra a seleção atual; tocar abre a lista
   completa em um painel, sem ocupar a tela toda. */
@media (max-width: 992px) {
    .catalog-filter-wrap {
        max-width: 640px;
        margin: 0 auto 24px;
    }
    .filter-dropdown-toggle {
        display: flex;
    }
    .filter-bar {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        z-index: 60;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        margin: 0;
        padding: 8px;
        background-color: #fff;
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        box-shadow: var(--shadow-lg);
        max-height: 60vh;
        overflow-y: auto;
    }
    .filter-bar.open {
        display: flex;
    }
    .filter-bar .filter-btn {
        width: 100%;
        justify-content: flex-start;
        border-radius: 12px;
        border-color: transparent;
        padding: 11px 16px;
    }
    .filter-bar .filter-btn:hover {
        background-color: color-mix(in srgb, var(--primary) 7%, #fff);
    }
    .filter-bar .filter-btn.active {
        background-color: var(--primary);
        border-color: var(--primary);
    }
}


/* ===== PÁGINA DE FICHA TÉCNICA ===== */
.ficha-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    font-family: var(--font);
    margin-bottom: 25px;
    padding: 8px 14px;
    border-radius: 50px;
    transition: var(--ease);
}
.ficha-back:hover {
    background-color: color-mix(in srgb, var(--primary) 8%, #fff);
    color: var(--primary-dark);
}

.ficha-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.ficha-media {
    position: relative;
}
.ficha-media > img#fichaImg {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.ficha-foto-legenda {
    margin: 10px 0 0;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-light);
}
.ficha-foto-legenda[hidden] {
    display: none !important;
}

.ficha-thumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}
.ficha-thumb {
    width: 52px;
    height: 52px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px var(--border);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ficha-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}
.ficha-thumb:hover,
.ficha-thumb:focus-visible {
    transform: scale(1.06);
    box-shadow: 0 0 0 1px var(--secondary);
}
.ficha-thumb.is-active {
    border-color: var(--cta);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--cta) 35%, transparent);
}
.ficha-thumbs[hidden] {
    display: none !important;
}

.ficha-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--cta);
    color: var(--deep-2);
    font-weight: 700;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
    z-index: 2;
}

.ficha-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 14px;
    letter-spacing: -.4px;
    line-height: 1.2;
}

.ficha-desc {
    color: var(--text-light);
    font-size: 1.02rem;
    margin-bottom: 26px;
}

.ficha-subtitulo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 9px;
}
.ficha-subtitulo i {
    color: var(--primary);
}

.ficha-lista {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 24px 28px;
    margin-bottom: 28px;
}
.ficha-lista li {
    display: flex;
    gap: 8px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--border-strong);
    font-size: 15px;
    color: var(--text);
    align-items: baseline;
}
.ficha-lista li:last-child {
    border-bottom: none;
}
.ficha-rotulo {
    font-weight: 700;
    color: var(--secondary);
    flex-shrink: 0;
}

.ficha-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: none;
    border: 1.5px solid color-mix(in srgb, var(--primary) 45%, #fff);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 13px;
    font-family: var(--font);
    padding: 8px 14px;
    border-radius: 50px;
    cursor: pointer;
    margin-bottom: 10px;
    transition: var(--transition);
    width: 100%;
}
.ficha-link-btn:hover {
    background-color: color-mix(in srgb, var(--primary) 9%, #fff);
    transform: translateY(-1px);
}

/* ===== BOTÕES DO CARD (ficha + orçamento juntos e alinhados) ===== */
.card-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
}

.card-buttons .ficha-link-btn,
.card-buttons .quote-btn {
    width: 100%;
    margin: 0;
    padding: 10px 18px;
    font-size: 13px;
    border-radius: 50px;
    white-space: nowrap;
    line-height: 1.2;
}

.card-buttons .quote-btn {
    font-weight: 700;
    box-shadow: none;
}

.card-buttons .quote-btn i,
.card-buttons .ficha-link-btn i {
    font-size: 13px;
}

.card-buttons .quote-btn:hover {
    box-shadow: none;
}

#page-ficha .quote-btn {
    max-width: 100%;
}

@media (max-width: 768px) {
    .ficha-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ===== RESPONSIVO CONTATO ===== */
@media (max-width: 640px) {
    .contact-themes {
        padding: 22px 18px;
    }

    .contact-address {
        flex-direction: column;
    }
}

