/* Paleta baseada no azul e vermelho da Rio Tendas. */
@font-face {
    font-family: "Inter";
    src: url("../fonts/inter.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}
@font-face {
    font-family: "Greyhound";
    src: url("../fonts/greyhound-3.otf") format("opentype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
:root {
    color-scheme: light;
    --ink: #15192c;
    --navy: #2f3190;
    --brand-blue: #2f3190;
    --red: #eb1c25;
    --red-hover: #23256d;
    --muted: #555d73;
    --paper: #f3f4f8;
    --line: #dce0eb;
    --white: #fff;
    --radius: 15px;
    --gutter: clamp(18px, 4.3vw, 66px);
    --heading: "Greyhound", "Inter", "Segoe UI", sans-serif;
    --body: "Inter", "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; color: var(--ink); background: var(--white); font: 400 1rem/1.65 var(--body); }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; }
button, input, textarea { font: inherit; }
h1, h2, h3 { color: var(--navy); line-height: 1.12; margin: 0 0 .65em; font-family: var(--heading); font-weight: 700; text-transform: uppercase; letter-spacing: -.035em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.35rem, 5.4vw, 5.3rem); }
h2 { font-size: clamp(1.95rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.22rem, 1.9vw, 1.6rem); }
p { margin: 0 0 1.05rem; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #5166e0; outline-offset: 4px; }
.wrap { width: min(100% - var(--gutter) * 2, 1272px); margin-inline: auto; }
.section { padding-block: clamp(54px, 7vw, 105px); }
.section-muted { background: var(--paper); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px 32px; margin-bottom: clamp(22px, 3vw, 38px); }
.section-heading h2 { max-width: 20ch; margin-bottom: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--brand-blue); font-size: .76rem; font-weight: 800; letter-spacing: .125em; line-height: 1.45; margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 21px; height: 3px; background: var(--red); flex: 0 0 21px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.screen-reader-text:focus { clip-path: none; width: auto; height: auto; z-index: 40; top: .6rem; left: .6rem; background: white; padding: .8rem; color: var(--navy); }

.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: .85rem; min-height: 47px; padding: 6px 7px 6px 18px; border: 1px solid transparent; border-radius: 100px; font-size: .92rem; font-weight: 750; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s; }
.button-arrow { display: grid; place-items: center; border-radius: 50%; width: 33px; height: 33px; flex: 0 0 33px; background: rgba(255,255,255,.21); font: 700 1rem/1 var(--body); }
.button-primary { background: var(--brand-blue); color: white; }
.button-primary:hover { background: var(--red-hover); }
.button-light { color: var(--navy); background: white; }
.button-light:hover { background: #e5e8ff; }
.button-outline { color: var(--navy); border-color: #b7bfd8; background: white; }
.button-outline:hover { background: #e9ebf8; border-color: var(--brand-blue); }
.button-light .button-arrow, .button-outline .button-arrow { background: #edf0fc; color: var(--brand-blue); }
.text-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--brand-blue); font-weight: 760; text-decoration: none; text-underline-offset: .22em; }
.text-link:hover { color: var(--red-hover); text-decoration: underline; }

.topbar { background: var(--navy); color: #f2f2fb; font-size: .81rem; }
.topbar-inner, .top-channels { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1.6rem; }
.topbar-inner { min-height: 39px; }
.topbar a { text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.top-location { display: inline-flex; align-items: center; gap: .55rem; }
.top-location span { width: 7px; height: 7px; border-radius: 50%; background: #fb5169; }
.navigation-row { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: clamp(12px, 2vw, 35px); }
.brand, .custom-logo-link { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img, .custom-logo { width: clamp(96px, 9.5vw, 133px); max-height: 73px; object-fit: contain; }
.site-nav .menu, .site-footer .menu { list-style: none; padding: 0; margin: 0; }
.site-nav .menu { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .25rem clamp(.6rem, 1.4vw, 1.5rem); }
.site-nav li { position: relative; }
.site-nav a { display: block; padding: .5rem 0; color: var(--ink); font-size: .9rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand-blue); text-decoration: underline var(--red) 2px; text-underline-offset: .35em; }
.site-nav .sub-menu { display: none; list-style: none; margin: 0; padding: .35rem .85rem; }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { display: block; }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(540px, 46vw, 660px); background: var(--navy); color: white; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; z-index: -2; }
.hero::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, rgba(15,19,43,.96) 0%, rgba(19,24,50,.82) 37%, rgba(24,31,59,.30) 77%, rgba(20,26,48,.20) 100%), linear-gradient(0deg, rgba(16,20,45,.58), transparent 48%); }
.hero-inner { padding-block: 63px 107px; }
.hero .eyebrow, .quote-band .eyebrow, .page-banner .eyebrow { color: var(--white); }
.hero h1 { max-width: 15ch; margin-bottom: .24em; color: white; text-transform: uppercase; letter-spacing: -.055em; }
.hero h1 span { color: var(--white); text-decoration: underline var(--red) .08em; text-underline-offset: .13em; }
.hero-text { max-width: 43ch; color: #f0f1f8; font-size: clamp(1rem, 1.8vw, 1.18rem); margin: 0 0 1.6rem; }
.quick-wrap { position: relative; z-index: 1; margin-top: -46px; }
.quick-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: var(--radius); overflow: hidden; background: white; border: 1px solid var(--line); box-shadow: 0 14px 38px rgba(26,32,73,.10); }
.quick-links > a { display: flex; align-items: center; gap: .85rem; padding: 16px clamp(13px, 2vw, 25px); color: var(--navy); text-decoration: none; }
.quick-links > a + a { border-left: 1px solid var(--line); }
.quick-links > a:hover { background: #f5f5fc; }
.quick-links > a:focus-visible { outline-offset: -4px; }
.quick-links strong, .quick-links small { display: block; }
.quick-links strong { font-size: clamp(.95rem, 1.45vw, 1.12rem); }
.quick-links small { color: var(--muted); font-size: .83rem; line-height: 1.3; }
.quick-icon { background: #f2f0ff; border-radius: 50%; color: var(--brand-blue); width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 44px; font-size: 1.35rem; }
.quick-arrow { margin-left: auto; color: var(--red); font-weight: 800; }

.about-grid, .contact-grid, .product-detail { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 6vw, 96px); }
.about-grid p:not(.eyebrow), .contact-teaser p:not(.eyebrow), .section-heading + p { color: var(--muted); }
.about-photo { overflow: hidden; border-radius: var(--radius); background: var(--paper); aspect-ratio: 1.52; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.category-card, .product-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: white; }
.category-card > a { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; min-width: 0; text-decoration: none; height: 100%; }
.category-card > a:focus-visible { outline-offset: -4px; }
.category-card > a:hover .category-arrow { color: white; background: var(--red); }
/* Mantém as imagens no mesmo quadro, inclusive dentro do shortcode do Elementor. */
.category-photo { position: relative; min-width: 0; aspect-ratio: 1.54; overflow: hidden; background: white; }
.category-card .category-photo img { position: absolute; inset: 0; display: block; width: 100%; max-width: 100%; height: 100%; object-fit: cover; object-position: center; }
.category-copy { display: flex; min-width: 0; min-height: 5.6rem; align-items: center; gap: 10px; justify-content: space-between; padding: .9rem .8rem; }
.category-copy h3 { flex: 1; min-width: 0; margin: 0; font: 800 clamp(.9rem, 1.3vw, 1.12rem)/1.22 var(--body); letter-spacing: -.02em; overflow-wrap: anywhere; }
.category-arrow { display: grid; place-items: center; border-radius: 50%; background: #f9e8ed; color: var(--red); width: 30px; height: 30px; flex: 0 0 30px; font-size: .93rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(13px, 2vw, 27px); }
.product-card { display: flex; flex-direction: column; }
.card-image { aspect-ratio: 1.54; display: block; overflow: hidden; background: var(--paper); }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-copy { padding: clamp(15px, 2vw, 25px); display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.card-copy h2, .card-copy h3 { margin-bottom: .44rem; font-size: clamp(1.22rem, 2vw, 1.6rem); }
.card-copy h2 a, .card-copy h3 a { text-decoration: none; }
.card-copy h2 a:hover, .card-copy h3 a:hover { text-decoration: underline; }
.card-copy .text-link { margin-top: auto; padding-top: .6rem; }
.card-description { color: var(--muted); font-size: .94rem; }
.product-mode { color: var(--brand-blue); font-size: .76rem; text-transform: uppercase; font-weight: 800; letter-spacing: .075em; margin-bottom: .55rem; }
.quote-band { background: var(--brand-blue); color: #eeeefa; }
.quote-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; padding-block: clamp(44px, 6vw, 76px); }
.quote-inner h2 { color: white; margin-bottom: .35em; max-width: 21ch; }
.project-grid, .value-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2.2vw, 28px); }
.project-grid figure { position: relative; aspect-ratio: 1.66; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.project-grid img { width: 100%; height: 100%; object-fit: cover; }
.project-grid figcaption { position: absolute; inset: auto 0 0; padding: 36px 18px 16px; font-size: 1.1rem; font-weight: 750; color: white; background: linear-gradient(0deg, rgba(15,19,43,.9), transparent); }
.contact-teaser { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 2rem; }
.contact-teaser h2 { margin-bottom: .45rem; }
.page-banner { background: var(--brand-blue); color: white; padding-block: clamp(32px, 6vw, 80px); }
.page-banner h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); color: white; margin-bottom: 0; max-width: 20ch; }
.breadcrumb { font-size: .83rem; display: flex; flex-wrap: wrap; gap: .25rem .65rem; margin-bottom: clamp(18px, 3vw, 38px); color: #e0e2f3; }
.breadcrumb a { text-underline-offset: .18em; }
.page-lead { color: #e9ebff; margin-top: .75rem; max-width: 54ch; }
.catalog-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.catalog-filter a, .product-categories a { display: inline-block; color: var(--navy); background: var(--paper); text-decoration: none; border: 1px solid var(--line); border-radius: 100px; padding: .45rem .85rem; font-size: .85rem; font-weight: 700; }
.catalog-filter a:hover, .catalog-filter a[aria-current="page"], .product-categories a:hover { background: var(--brand-blue); border-color: var(--brand-blue); color: white; }
.product-detail, .contact-grid { align-items: start; }
.detail-image { background: var(--paper); border-radius: var(--radius); overflow: hidden; min-height: 220px; display: grid; place-items: center; }
.detail-image img { display: block; width: 100%; }
.product-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; gap: 12px; }
.product-gallery img, .post-hero img { border-radius: var(--radius); }
.product-categories { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.product-description { margin-bottom: 1.3rem; }
.media-placeholder { width: 100%; min-height: 220px; height: 100%; display: grid; place-items: center; color: var(--muted); background: linear-gradient(135deg, #f4f4fa, #e1e4f4); }
.reading-width { max-width: 840px; }
.prose { min-width: 0; }
.prose h2 { font-size: clamp(1.45rem, 3vw, 2.2rem); }
.prose h2:not(:first-child), .prose h3:not(:first-child) { margin-top: 1.3em; }
.prose a:not(.button):not(.product-categories a) { color: var(--brand-blue); }
.prose figure:not(.wp-block-table) { margin-block: .8rem 1.3rem; }
.prose iframe { max-width: 100%; }
.prose .wp-block-table { display: block; max-width: 100%; overflow: auto; margin: 1rem 0; }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--line); padding: .55rem .7rem; text-align: left; }
.prose th { background: var(--paper); color: var(--navy); }
.value-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.value-grid > div { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 3vw, 35px); }
.value-grid h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); }
.contact-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.contact-grid h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
.contact-list { margin: 1.6rem 0 0; }
.contact-list > div { padding-block: .72rem; border-top: 1px solid var(--line); }
.contact-list dt { color: var(--navy); font-weight: 800; }
.contact-list dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.form-card { background: var(--paper); padding: clamp(17px, 3vw, 38px); border-radius: var(--radius); }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.form-fields label { display: block; font-weight: 730; margin-bottom: .25rem; }
.form-fields input, .form-fields textarea, .search-field { border: 1px solid #a6afc7; background: white; color: var(--ink); padding: .65rem .7rem; border-radius: 8px; width: 100%; }
.form-fields textarea { display: block; resize: vertical; }
.field-wide { grid-column: 1 / -1; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-help { color: var(--muted); font-size: .82rem; margin: .75rem 0 1rem; }
.form-notice { border-left: 4px solid var(--brand-blue); background: #eceeff; color: var(--navy); padding: .65rem .8rem; margin: 1rem 0; }
.pagination { margin-top: 1.7rem; }
.page-numbers { display: inline-block; border: 1px solid var(--line); padding: .4rem .72rem; border-radius: 8px; text-decoration: none; }
.page-numbers.current { background: var(--navy); color: white; }

.site-footer { background: var(--brand-blue); color: #e4e7f3; padding-block: 44px 72px; }
.footer-grid { display: grid; grid-template-columns: 1fr .78fr 1.1fr 1.1fr; gap: 22px; font-size: .88rem; }
.footer-grid h2 { color: white; font: 780 1rem/1.3 var(--body); letter-spacing: 0; margin-bottom: .65rem; }
.footer-brand .brand, .footer-brand .custom-logo-link { background: white; border-radius: 9px; padding: .45rem .65rem; margin-bottom: .75rem; }
.footer-brand img { width: 96px; max-height: 54px; }
.site-footer .menu a, .site-footer address a, .footer-bottom a { display: block; text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { text-decoration: underline; }
.site-footer address { font-style: normal; }
.social-links { display: flex; flex-wrap: wrap; gap: .65rem; }
.social-links a { text-underline-offset: .16em; }
.footer-bottom { border-top: 1px solid #434866; padding-top: .85rem; margin-top: 1.6rem; display: flex; gap: 1rem; flex-wrap: wrap; font-size: .8rem; }
.floating-whatsapp { position: fixed; inset: auto max(15px, env(safe-area-inset-right)) max(15px, env(safe-area-inset-bottom)) auto; z-index: 10; display: inline-flex; align-items: center; gap: .5rem; padding: .53rem .8rem; min-height: 44px; border-radius: 50px; background: #126642; color: white; font-size: .85rem; font-weight: 800; text-decoration: none; box-shadow: 0 5px 20px #10162935; }
.floating-whatsapp:hover { background: #0e5134; }
.whatsapp-mark { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #ffffff8c; border-radius: 50%; }

@media (min-width: 861px) {
    .site-nav .sub-menu { position: absolute; z-index: 10; min-width: 180px; top: 100%; left: 0; background: white; box-shadow: 0 8px 24px #14163324; border: 1px solid var(--line); border-radius: 8px; }
    .site-nav .sub-menu .sub-menu { left: 100%; top: 0; }
}
@media (max-width: 1100px) {
    .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .navigation-row { flex-wrap: wrap; min-height: 72px; gap: .35rem .65rem; padding-block: 6px; }
    .site-nav { flex-basis: 100%; order: 4; }
    .site-nav .menu { align-items: stretch; flex-direction: column; gap: 0; padding-bottom: .45rem; }
    .site-nav .menu > li { border-top: 1px solid var(--line); }
    .site-nav .sub-menu { display: block; }
    .has-nav-js .menu-toggle { display: inline-flex; align-items: center; gap: .45rem; margin-left: auto; background: white; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); min-height: 44px; padding: .42rem .68rem; font-weight: 700; cursor: pointer; }
    .has-nav-js .site-nav:not(.is-open) { display: none; }
    .menu-toggle-icon { display: inline-block; width: 16px; height: 12px; border-block: 2px solid currentColor; position: relative; }
    .menu-toggle-icon::after { content: ""; width: 100%; height: 2px; background: currentColor; position: absolute; top: 3px; left: 0; }
    .header-quote { min-height: 44px; }
    .hero { min-height: 540px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quick-links > a { gap: .5rem; }
    .quick-icon { width: 36px; height: 36px; flex-basis: 36px; }
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .topbar-inner { min-height: 35px; }
    .top-email { display: none; }
    .navigation-row { min-height: 68px; }
    .header-quote { font-size: .78rem; gap: .35rem; padding-left: .65rem; }
    .header-quote .button-arrow { width: 23px; height: 23px; flex-basis: 23px; font-size: .8rem; }
    .hero { min-height: 495px; }
    .hero-photo { object-position: 61% 50%; }
    .hero::after { background: linear-gradient(90deg, rgba(15,19,43,.93), rgba(15,19,43,.61)), linear-gradient(0deg, rgba(15,19,43,.3), transparent); }
    .hero-inner { padding-block: 55px 71px; }
    .hero h1 { font-size: clamp(2.35rem, 8vw, 3.4rem); }
    .quick-wrap { margin-top: -24px; }
    .quick-links { grid-template-columns: 1fr; }
    .quick-links > a { padding: .65rem .85rem; }
    .quick-links > a + a { border-left: 0; border-top: 1px solid var(--line); }
    .about-grid, .contact-grid, .product-detail, .value-grid { grid-template-columns: 1fr; }
    .section-heading, .contact-teaser, .quote-inner { flex-direction: column; align-items: flex-start; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .project-grid { grid-template-columns: 1fr; }
    .product-gallery { margin-bottom: .4rem; }
}
@media (max-width: 420px) {
    .navigation-row .brand img, .navigation-row .custom-logo { width: 82px; }
    .has-nav-js .menu-toggle { padding-inline: .48rem; }
    .card-grid, .form-fields, .footer-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: 1fr; }
    .category-copy { padding: .9rem .8rem; }
    .category-arrow { width: 25px; height: 25px; flex-basis: 25px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Área livre de um quarto da altura do símbolo sobre fundo branco. */
.brand, .custom-logo-link { background: var(--white); padding: .57rem; }
.quote-band .button-primary { background: var(--white); color: var(--brand-blue); }
.quote-band .button-primary:hover { background: #eef0ff; }
.quote-band .button-arrow { background: #eef0ff; }
.hero, .page-banner { border-bottom: 4px solid var(--red); }

/* Selo de modalidade oculto: locação e venda têm páginas próprias. */
.product-mode { display: none; }

