/* Primeira etapa da identidade Araken Domarco: estrutura e telas pequenas. */
:root {
    --site-navy: #11284a;
    --site-red: #bd302d;
    --site-border: #dce4e9;
    --site-muted: #627080;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
body { color: var(--site-navy); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
img { max-width: 100%; height: auto; }
div#interface { width: 100%; max-width: 100%; }

div#fundodotopo { background: #fff; border-bottom: 1px solid var(--site-border); }
div#div-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1120px, calc(100% - 40px));
    min-height: 118px;
    height: auto;
    margin: auto;
    padding: 18px 0;
}
img#logo { display: block; width: clamp(280px, 35vw, 420px); max-width: 100%; height: auto; }
img#contato { display: none; }
aside#tMensagem { float: none; margin: 0; text-align: right; }
aside#tMensagem p { margin: 0; padding: 0; line-height: 1.35; }
aside#tMensagem p#tFone { color: var(--site-navy); font-size: 22px; font-weight: 700; }
aside#tMensagem p#tSuporte { color: var(--site-muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; }

div#fundodomenu { background: #fff; border-bottom: 1px solid var(--site-border); }
div#div-menu { width: min(1120px, calc(100% - 40px)); margin: auto; padding: 8px 0; }
header#h-menu { margin: 0; }
nav#nav-menu ul { position: static; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
nav#nav-menu li, nav#nav-menu li.lidomenu, nav#nav-menu li#mIntranet { margin: 0; padding: 0; }
nav#nav-menu li#mIntranet { margin-left: auto; }
nav#nav-menu a { display: block; padding: 10px 14px; border-radius: 7px; color: var(--site-navy); font-size: 13px; font-weight: 700; }
nav#nav-menu a:hover, nav#nav-menu a:focus-visible { background: #f3f6f8; color: var(--site-red); }
#menu-toggle { display: none; }

div#mudaimagem, div#tudoimagem { width: min(1120px, calc(100% - 40px)); max-width: 100%; margin: auto; }
div#wrapper, .slider-wrapper, #slider { max-width: 100%; }
#slider img { max-width: 100%; height: auto; }
div#tudoimagem { margin-top: 24px; margin-bottom: 24px; }
.video-teaser {
    display: grid;
    grid-template-columns: minmax(0, 43%) minmax(0, 1fr);
    width: 100%;
    min-height: 255px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #20364d;
    color: #fff;
    text-align: left;
    font: inherit;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(17,40,74,.16);
}
.video-teaser:hover, .video-teaser:focus-visible { box-shadow: 0 16px 34px rgba(17,40,74,.25); outline: 3px solid #e76560; outline-offset: 2px; }
.video-poster { position: relative; display: block; min-height: 255px; overflow: hidden; background: #111; }
.video-poster img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 74px; height: 74px; padding-left: 5px; border: 3px solid rgba(255,255,255,.95); border-radius: 50%; background: rgba(189,48,45,.94); color: #fff; font-size: 28px; transform: translate(-50%,-50%); box-shadow: 0 5px 18px rgba(0,0,0,.35); }
.video-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; padding: 32px 42px; }
.video-kicker { color: #efaaa4; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.video-copy strong { color: #fff; font-size: clamp(25px,2.6vw,38px); line-height: 1.14; }
.video-copy > span:not(.video-kicker):not(.video-cta) { color: #d9e4eb; font-size: 16px; }
.video-cta { display: inline-flex; align-items: center; gap: 12px; margin-top: 6px; padding: 11px 18px; border-radius: 7px; background: var(--site-red); color: #fff; font-size: 14px; font-weight: 800; }
.video-dialog { width: min(96vw, 1100px); max-width: none; max-height: 95vh; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #0b1522; color: #fff; box-shadow: 0 22px 70px rgba(0,0,0,.45); }
.video-dialog::backdrop { background: rgba(5,13,25,.85); }
.video-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 10px 14px 10px 20px; font-size: 15px; }
.video-close { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 6px; background: #304358; color: #fff; font-size: 29px; line-height: 1; cursor: pointer; }
.video-close:hover, .video-close:focus-visible { background: var(--site-red); }
.video-frame { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

div#fundodonews { background: var(--site-red); }
div#news {
    display: flex;
    align-items: center;
    gap: 14px;
    width: min(1120px, calc(100% - 40px));
    height: auto;
    min-height: 84px;
    margin: auto;
    padding: 14px 0;
}
img#imgCarta { float: none; width: 42px; margin: 0; }
p#pNews { float: none; margin: 0; color: #fff; font-size: 14px; }
form#formNews { display: flex; flex-wrap: wrap; gap: 8px; float: none; margin: 0 0 0 auto; }
form#formNews input.fNews { width: 185px !important; height: 40px !important; border-radius: 6px; }
form#formNews input#btnEnviar { height: 40px !important; border-radius: 6px; cursor: pointer; }

div#fundodocorpo { background: #f4f7f8; }
div#corpoindex {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: min(1120px, calc(100% - 40px));
    height: auto;
    margin: auto;
    padding: 24px 0;
}
div.cIndex {
    float: none;
    width: auto;
    height: auto;
    min-height: 235px;
    margin: 0;
    padding: 22px;
    border: 1px solid var(--site-border);
    border-radius: 10px;
    background: #fff;
    overflow-wrap: anywhere;
}
h4.titulocentral { margin: 0 0 12px; color: var(--site-navy); font-size: 18px; letter-spacing: 0; }
p.pIndex { margin: 0; color: var(--site-muted); font: inherit; }
.pIndexImg { max-width: 100%; height: auto; margin: 0 10px 10px 0 !important; }
.representative-feature { display: flex; flex-direction: column; gap: 6px; color: var(--site-navy); text-decoration: none; }
.representative-feature > span { color: var(--site-muted); font-size: 15px; line-height: 1.45; }
.representative-feature img { display: block; align-self: center; width: min(100%, 270px); height: 150px; object-fit: contain; margin: 4px 0 0; }
.representative-feature strong { color: var(--site-red); font-size: 13px; }
.representative-feature:hover strong, .representative-feature:focus-visible strong { text-decoration: underline; }
.news-video-link { display: block; overflow: hidden; border: 1px solid var(--site-border); border-radius: 9px; background: #f7fafb; color: var(--site-navy); text-decoration: none; }
.news-video-link:hover, .news-video-link:focus-visible { border-color: var(--site-red); box-shadow: 0 3px 14px rgba(17,40,74,.12); }
.news-thumbnail { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #172b3e; }
.news-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.news-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; padding-left: 3px; border: 2px solid #fff; border-radius: 50%; background: var(--site-red); color: #fff; font-size: 19px; transform: translate(-50%,-50%); box-shadow: 0 3px 12px rgba(0,0,0,.3); }
.news-copy { display: block; padding: 10px 12px 12px; font-size: 14px; font-weight: 650; line-height: 1.4; }
.news-copy small { display: block; margin-top: 5px; color: var(--site-red); font-size: 12px; font-weight: 750; }
.brand-list { display: grid; gap: 10px; }
.brand-list-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.brand-list-products { grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 22px 0 26px; }
.brand-link { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 82px; padding: 9px; border: 1px solid var(--site-border); border-radius: 9px; background: #fff; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.brand-link:hover, .brand-link:focus-visible { border-color: var(--site-red); box-shadow: 0 2px 12px rgba(17,40,74,.12); }
.brand-link img { display: block; width: 100%; max-height: 75px; object-fit: contain; }
.brand-trad-art { display: flex; align-items: center; width: 100%; max-height: 75px; aspect-ratio: 1600 / 647; overflow: hidden; background: #f7f7f7; }
.brand-trad-art img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
#catalogo { scroll-margin-top: 20px; }
.no-products { padding: 20px; color: var(--site-muted); background: #f5f7f8; border-radius: 8px; }

div#fundodofooter { background: #142b43; }
footer {
    display: grid;
    grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: min(1120px, calc(100% - 40px));
    height: auto;
    margin: auto;
    padding: 28px 0 36px;
}
div.formatFooter { float: none; min-width: 0; margin: 0; padding: 0; text-align: left; }
footer h1 { margin: 0 0 12px; color: #fff; font: 650 16px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; }
footer h2 { margin: 0 0 8px; font-size: 22px; }
footer h3 { margin: 8px 0 0; color: #b6d2e0; font-size: 13px; letter-spacing: 0; overflow-wrap: anywhere; }
footer p { margin: 0; color: #d7e2e9; font-size: 13px; line-height: 1.55; }
footer p#diadasemana { margin: 0; }
footer .formatFooter br { line-height: 1.5; }
.footer-social { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
footer .social-link { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 10px; border: 1px solid #5d7183; border-radius: 8px; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.1; text-decoration: none; }
footer .social-link svg { flex: 0 0 18px; width: 18px; height: 18px; }
footer a.social-link:hover, footer a.social-link:focus-visible { border-color: #ee9a95; background: #29425a; color: #fff; }
footer .social-soon { opacity: .62; cursor: default; }
footer .social-soon small { display: block; margin-top: 3px; font-size: 10px; font-weight: 500; }
div#fimdepagina { height: 10px; background: var(--site-red); }

div#fundoContato { height: auto !important; min-height: 0; padding: 24px 0 40px; }
div#centroContato {
    display: flow-root;
    width: min(1120px, calc(100% - 40px)) !important;
    max-width: 100%;
    height: auto !important;
    min-height: 0;
    margin: 0 auto !important;
    padding: 24px !important;
    border: 1px solid var(--site-border);
    border-radius: 10px;
    background: #fff;
}
div#centroContato img { max-width: 100%; height: auto; }
div#centroContato table { max-width: 100%; }
div#centroContato p { overflow-wrap: anywhere; }

/* Contato e representantes: campos e resultados do site público. */
.public-form-page #centroContato.public-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(270px, .85fr);
    align-items: start;
    gap: clamp(28px, 5vw, 64px);
    padding: clamp(26px, 4vw, 48px) !important;
}
.public-form-page #formulariointeiro,
.public-form-page #formulario {
    float: none;
    width: auto !important;
    min-width: 0;
    max-width: none;
    height: auto;
    margin: 0 !important;
    padding: 0;
}
.public-form-page .form-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: var(--site-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
}
.public-form-page #centroContato h1 {
    margin: 0 0 12px;
    color: var(--site-navy);
    font-size: clamp(26px, 2.7vw, 34px);
    line-height: 1.2;
    letter-spacing: -.025em;
}
.public-form-page #centroContato p { margin: 0; }
.public-form-page #textodocontato,
.public-form-page #textodorepresentante {
    max-width: 62ch;
    margin-bottom: 27px !important;
    color: var(--site-muted);
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
}
.public-form-page #telefonescontato.public-contact-aside {
    float: none;
    width: auto !important;
    min-width: 0;
    height: auto !important;
    min-height: 0;
    margin: 0 !important;
    padding: 26px;
    border: 1px solid var(--site-border);
    border-radius: 12px;
    background: #f3f6f8;
}
.public-form-page .public-contact-aside h2 {
    margin: 0 0 16px;
    color: var(--site-navy);
    font-size: 21px;
    line-height: 1.3;
}
.public-form-page .public-contact-aside p {
    color: #45576a;
    font-size: 14px;
    line-height: 1.85;
}
.contact-form-grid,
.representative-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.public-form-page .form-field { display: flex; flex-direction: column; min-width: 0; gap: 7px; }
.public-form-page .form-field-full { grid-column: 1 / -1; }
.public-form-page .form-field label {
    color: var(--site-navy);
    font-size: 13px;
    font-weight: 750;
}
.public-form-page .form-field input,
.public-form-page .form-field select,
.public-form-page .form-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding: 11px 13px;
    border: 1px solid #cbd6df;
    border-radius: 8px;
    outline: 0;
    background: #fff;
    color: var(--site-navy);
    font: 15px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif;
    box-shadow: 0 1px 2px rgba(17,40,74,.03);
    transition: border-color .15s, box-shadow .15s;
}
.public-form-page .form-field input::placeholder,
.public-form-page .form-field textarea::placeholder { color: #8795a3; }
.public-form-page .form-field input:focus,
.public-form-page .form-field select:focus,
.public-form-page .form-field textarea:focus {
    border-color: var(--site-red);
    box-shadow: 0 0 0 3px rgba(189,48,45,.14);
}
.public-form-page .form-field select:disabled { background: #f0f3f5; color: #788795; cursor: not-allowed; }
.public-form-page .form-field textarea { min-height: 145px; resize: vertical; }
.public-form-page .form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 46px;
    margin-top: 22px;
    padding: 11px 20px;
    border: 1px solid var(--site-red);
    border-radius: 8px;
    background: var(--site-red);
    color: #fff;
    font: 750 14px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif;
    cursor: pointer;
    transition: background-color .15s, transform .15s;
}
.public-form-page .form-submit:hover,
.public-form-page .form-submit:focus-visible { background: #a32725; transform: translateY(-1px); }
.public-form-page .form-submit:focus-visible { outline: 3px solid rgba(189,48,45,.25); outline-offset: 2px; }
.representative-results { min-width: 0; margin-top: 34px; }
.representative-results h2 { margin: 0 0 14px; color: var(--site-navy); font-size: 19px; }
.representative-results #representante { min-width: 0; padding: 0; background: transparent; }
.representative-empty { padding: 18px 20px; border: 1px solid var(--site-border); border-radius: 9px; background: #f7f9fa; color: var(--site-muted); font-size: 14px; }
.representative-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; border: 1px solid var(--site-border); border-radius: 9px; }
.table-scroll-hint { display: none; margin: 0 0 7px !important; color: var(--site-muted); font-size: 12px; }
.public-form-page .representative-table-wrap table.tabela { width: 100%; min-width: 520px; margin: 0; border-collapse: collapse; }
.public-form-page .representative-table-wrap th,
.public-form-page .representative-table-wrap td { padding: 12px 14px; border-bottom: 1px solid var(--site-border); text-align: left; font-size: 13px; }
.public-form-page .representative-table-wrap th { background: #f3f6f8; color: var(--site-navy); font-weight: 750; }
.public-form-page .representative-table-wrap tr:last-child td { border-bottom: 0; }

@media (max-width: 800px) {
    .public-form-page #centroContato.public-form-layout { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 560px) {
    .table-scroll-hint { display: block; }
    .public-form-page #centroContato.public-form-layout { padding: 24px 18px !important; }
    .contact-form-grid,
    .representative-filters { grid-template-columns: 1fr; gap: 15px; }
    .public-form-page .form-field-full { grid-column: auto; }
    .public-form-page .form-submit { width: 100%; }
    .public-form-page #telefonescontato.public-contact-aside { padding: 22px 18px; }
}

@media (max-width: 850px) {
    .brand-list-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    div#corpoindex { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    div#news { flex-wrap: wrap; }
    form#formNews { margin-left: 0; }
}

@media (max-width: 700px) {
    div#tudoimagem { width: calc(100% - 32px); margin-top: 18px; margin-bottom: 18px; }
    .video-teaser { grid-template-columns: 1fr; }
    .video-poster { min-height: 0; aspect-ratio: 16 / 9; }
    .video-play { width: 62px; height: 62px; font-size: 24px; }
    .video-copy { gap: 10px; padding: 23px; }
    .video-copy strong { font-size: 26px; }
    .video-dialog-header { font-size: 13px; }
    .brand-list-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    div#div-topo { align-items: flex-start; flex-direction: column; gap: 4px; min-height: 0; padding: 18px 0; }
    img#logo { width: min(100%, 360px); }
    aside#tMensagem { text-align: left; }
    aside#tMensagem p#tFone { font-size: 17px; }
    #menu-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 11px 14px;
        border: 1px solid var(--site-border);
        border-radius: 8px;
        background: #f5f7f8;
        color: var(--site-navy);
        font: 700 14px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif;
        cursor: pointer;
    }
    .menu-ready #h-menu { display: none; }
    .menu-ready.menu-open #h-menu { display: block; }
    nav#nav-menu ul { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin-top: 8px; }
    nav#nav-menu li#mIntranet { margin-left: 0; }
    nav#nav-menu a { padding: 11px 14px; }
    div#news { align-items: flex-start; }
    form#formNews { width: 100%; }
    form#formNews input.fNews { flex: 1 1 140px; min-width: 0; }
    div#corpoindex { grid-template-columns: 1fr; }
    div.cIndex { min-height: 0; }
    footer { grid-template-columns: 1fr; gap: 24px; }
    div#centroContato { width: calc(100% - 32px) !important; padding: 18px !important; }
    div#centroContato h1, div#centroContato h3 { margin-left: 0; }
    div#centroContato p { margin-left: 0; margin-right: 0; }
    div#telefonescontato, div#formulariointeiro, div#formulario,
    div#dMenuLateral, div#Produtos, .wrapper {
        float: none;
        width: 100% !important;
        max-width: 100%;
        height: auto;
        margin: 16px 0 !important;
    }
    div#centroContato input, div#centroContato select, div#centroContato textarea { max-width: 100%; }
    div#centroContato table { display: block; overflow-x: auto; }
    .responsive { display: none; }
    ul.ulMenuLateral { margin: 0; padding: 0; }
    li.menulateral a, span.cMenuLateral { display: block; width: 100%; height: auto; margin: 0; padding: 8px 12px; }
    .gallery ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
    .gallery li { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 1; margin: 0; }
}
