/* ==========================================================================
   01. Design tokens
   ========================================================================== */
:root {
    --color-blue-950: #05264b;
    --color-blue-900: #063b78;
    --color-blue-700: #0756a6;
    --color-blue-500: #0a83d7;
    --color-cyan-400: #19b6ea;
    --color-green-500: #64c900;
    --color-green-600: #45a900;
    --color-ink: #132238;
    --color-muted: #5d6b7d;
    --color-line: #d9e3ee;
    --color-soft: #f2f7fb;
    --color-white: #ffffff;
    --shadow-soft: 0 20px 60px rgba(5, 38, 75, 0.14);
    --radius: 8px;
    --container: 1160px;
}

/* ==========================================================================
   02. Base and accessibility
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-ink);
    background: var(--color-white);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

body.no-scroll {
    overflow: hidden;
}

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

a {
    color: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.12;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(2.4rem, 6vw, 5rem);
    max-width: 760px;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h3 {
    font-size: 1.25rem;
}

p {
    color: var(--color-muted);
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 20;
    padding: 0.75rem 1rem;
    color: var(--color-white);
    background: var(--color-blue-900);
    border-radius: var(--radius);
    transition: top 160ms ease;
}

.skip-link:focus {
    top: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   03. Layout primitives
   ========================================================================== */
.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.section {
    padding: clamp(3rem, 7vw, 6rem) 0;
}

.section--muted {
    background: var(--color-soft);
}

.section-heading {
    margin-bottom: 2rem;
    text-align: center;
}

.section-heading h2,
.section-heading p {
    margin-inline: auto;
}

.section-heading p {
    max-width: 660px;
}

.section-heading--left {
    text-align: left;
}

.section-heading--left h2,
.section-heading--left p {
    margin-inline: 0;
}

.narrow {
    max-width: 840px;
}

.eyebrow {
    margin-bottom: 0.8rem;
    color: var(--color-green-600);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.split__content p {
    max-width: 620px;
}

.split__media {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--color-soft);
    box-shadow: var(--shadow-soft);
}

.split__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
}

/* ==========================================================================
   04. Header and navigation
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(217, 227, 238, 0.9);
    backdrop-filter: blur(14px);
}

.top-strip {
    color: var(--color-white);
    background: var(--color-blue-950);
    font-size: 0.88rem;
}

.top-strip__inner {
    display: flex;
    min-height: 2.25rem;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.top-strip a {
    text-decoration: none;
}

.header-main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
    min-height: 5.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    width: 195px;
    height: auto;
}

.main-nav {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    justify-content: flex-end;
}

.main-nav a {
    position: relative;
    color: var(--color-blue-950);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.5rem;
    height: 2px;
    background: var(--color-green-500);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 160ms ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
}

.menu-toggle span {
    display: block;
    width: 1.25rem;
    height: 2px;
    margin: 0.28rem auto;
    background: var(--color-blue-950);
}

/* ==========================================================================
   05. Buttons and links
   ========================================================================== */
.button,
.header-cta,
.text-link,
.floating-whatsapp {
    font-weight: 800;
    text-decoration: none;
}

.button,
.header-cta {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1.15rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    line-height: 1.1;
}

.button--primary,
.header-cta {
    color: var(--color-white);
    background: var(--color-blue-700);
    box-shadow: 0 12px 28px rgba(7, 86, 166, 0.25);
}

.button--primary:hover,
.header-cta:hover {
    background: var(--color-blue-900);
}

.button--ghost {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
}

.text-link {
    color: var(--color-blue-700);
}

.text-link:hover {
    color: var(--color-blue-900);
}

.floating-whatsapp {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 9;
    display: inline-flex;
    width: 3.5rem;
    height: 3.5rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--color-white);
    background: var(--color-green-600);
    border-radius: var(--radius);
    box-shadow: 0 18px 36px rgba(69, 169, 0, 0.28);
}

.floating-whatsapp svg {
    width: 2rem;
    height: 2rem;
    fill: currentColor;
}

/* ==========================================================================
   06. Hero sections
   ========================================================================== */
.hero {
    position: relative;
    min-height: 60svh;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: var(--color-white);
    background: var(--color-blue-950);
}

.hero__image,
.hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__image {
    object-fit: cover;
    object-position: center center;
}

.hero__shade {
    background:
        linear-gradient(90deg, rgba(5, 38, 75, 0.88), rgba(5, 38, 75, 0.52), rgba(5, 38, 75, 0.18)),
        linear-gradient(0deg, rgba(5, 38, 75, 0.72), rgba(5, 38, 75, 0.12));
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.hero .eyebrow {
    color: var(--color-cyan-400);
}

.hero__text {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.18rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin: 2rem 0;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.hero__badges span {
    display: inline-flex;
    min-height: 2.2rem;
    align-items: center;
    padding: 0.5rem 0.8rem;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.92rem;
    font-weight: 800;
}

.page-hero {
    position: relative;
    min-height: 360px;
    display: grid;
    align-items: end;
    color: var(--color-white);
    background-color: var(--color-blue-950);
    background-position: center;
    background-size: cover;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 38, 75, 0.88), rgba(5, 38, 75, 0.45));
}

.page-hero--company {
    background-image: url("../img/equipe/WhatsApp%20Image%202026-09-22%20at%2017.12.17.jpeg");
}

.page-hero--products {
    background-image: url("../img/estrutura/AREA%20INTERNA..jpg");
}

.page-hero--delivery {
    background-image: url("../img/entrega/WhatsApp%20Image%202026-09-22%20at%2017.31.21.jpeg");
}

.page-hero--contact {
    background-image: url("../img/estrutura/FACHADA.jpg");
}

.page-hero--text {
    min-height: 300px;
    background-image: linear-gradient(135deg, var(--color-blue-950), var(--color-blue-700));
}

.page-hero--text::before {
    display: none;
}

.page-hero__content {
    position: relative;
    z-index: 1;
    padding: clamp(3rem, 7vw, 5rem) 0;
}

.page-hero__content p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.86);
}

.page-hero__content .eyebrow {
    color: var(--color-cyan-400);
}

/* ==========================================================================
   07. Cards and content blocks
   ========================================================================== */
.quick-info {
    margin-top: -3rem;
    padding-top: 0;
    position: relative;
    z-index: 2;
}

.quick-info__grid,
.values-grid,
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.info-card,
.value-block,
.metric {
    padding: 1.35rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.info-card__label,
.metric span {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-blue-700);
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
}

.info-card strong,
.metric strong {
    display: block;
    color: var(--color-blue-950);
    font-size: 1.2rem;
    line-height: 1.25;
}

.info-card p,
.metric p,
.value-block p {
    margin-bottom: 0;
}

.product-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.product-card,
.product-detail {
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
}

.product-card img {
    width: 100%;
    aspect-ratio: 5 / 3;
    object-fit: cover;
}

.product-card div {
    padding: 1.2rem;
}

.product-card p,
.product-detail p {
    margin-bottom: 0;
}

.product-grid {
    display: grid;
    gap: 1.2rem;
}

.product-catalog {
    background: var(--color-white);
}

.product-catalog__heading {
    margin-bottom: 1.7rem;
}

.product-catalog__heading h1 {
    margin-bottom: 0;
    color: var(--color-blue-950);
    font-size: clamp(2.2rem, 4vw, 4rem);
}

.product-option-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.product-option {
    display: grid;
    min-height: 430px;
    align-content: start;
    gap: 0.9rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: #eaf4ff;
}

.product-option__meta {
    margin-bottom: 0;
    color: var(--color-blue-700);
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.product-option__image {
    display: flex;
    height: 150px;
    align-items: center;
    justify-content: center;
    margin: 0.15rem 0 0.3rem;
}

.product-option__image img {
    width: auto;
    max-width: 78%;
    max-height: 150px;
    object-fit: contain;
}

.product-option h2 {
    margin-bottom: 0;
    color: var(--color-blue-700);
    font-size: clamp(2.6rem, 5vw, 4rem);
}

.product-option h3 {
    margin-bottom: 0;
    color: var(--color-blue-700);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.product-option p:not(.product-option__meta) {
    max-width: 18rem;
    margin-bottom: 1.2rem;
}

.product-option .text-link {
    align-self: end;
    margin-top: auto;
    font-size: 0.95rem;
    text-decoration: underline;
    text-underline-offset: 0.16rem;
}

.product-catalog__note {
    margin: 1.5rem 0 0;
    color: var(--color-muted);
    font-size: 0.98rem;
}

.product-detail {
    display: grid;
    grid-template-columns: 280px 1fr;
    align-items: center;
}

.product-detail img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
}

.product-detail div {
    padding: clamp(1.3rem, 4vw, 2rem);
}

.service-list {
    display: grid;
    gap: 0.7rem;
}

.service-item {
    padding: 1rem;
    color: var(--color-blue-950);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
    font-weight: 800;
}

.safety-panel {
    display: grid;
    grid-template-columns: 1fr 1.2fr auto;
    gap: 1.5rem;
    align-items: center;
    padding: clamp(1.4rem, 4vw, 2rem);
    color: var(--color-white);
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--color-blue-950), var(--color-blue-700));
}

.safety-panel p,
.safety-panel .eyebrow {
    color: rgba(255, 255, 255, 0.88);
}

.safety-panel p {
    margin-bottom: 0;
}

/* ==========================================================================
   08. Legal, contact and gallery
   ========================================================================== */
.legal-table {
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
}

.legal-table > div {
    display: grid;
    grid-template-columns: 260px 1fr;
    border-bottom: 1px solid var(--color-line);
}

.legal-table > div:last-child {
    border-bottom: 0;
}

.legal-table strong,
.legal-table span {
    padding: 1rem;
}

.legal-table strong {
    color: var(--color-blue-950);
    background: var(--color-soft);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-item {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.gallery-item figcaption {
    padding: 0.9rem;
    color: var(--color-muted);
    font-size: 0.93rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.contact-primary,
.contact-item {
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-white);
}

.contact-primary {
    padding: clamp(1.4rem, 4vw, 2rem);
    box-shadow: var(--shadow-soft);
}

.contact-list {
    display: grid;
    gap: 0.9rem;
}

.contact-item {
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    text-decoration: none;
}

.contact-item span {
    color: var(--color-blue-700);
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-item strong {
    color: var(--color-blue-950);
    overflow-wrap: anywhere;
}

.text-page h2 {
    margin-top: 2rem;
    font-size: 1.45rem;
}

.text-page h2:first-child {
    margin-top: 0;
}

/* ==========================================================================
   09. Footer
   ========================================================================== */
.site-footer {
    color: var(--color-white);
    background: var(--color-blue-950);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr 1fr;
    gap: 2rem;
    padding: clamp(3rem, 6vw, 4rem) 0;
}

.footer-logo {
    width: 190px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.28));
}

.site-footer h2 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.site-footer p,
.site-footer li,
.site-footer a,
.footer-bottom {
    color: rgba(255, 255, 255, 0.78);
}

.footer-list {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-list a {
    text-decoration: none;
}

.footer-list a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.88rem;
}

.footer-bottom__inner {
    display: flex;
    min-height: 3.5rem;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

/* ==========================================================================
   10. Responsive behavior
   ========================================================================== */
@media (max-width: 980px) {
    .header-main {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: calc(100% + 0.5rem);
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border: 1px solid var(--color-line);
        border-radius: var(--radius);
        background: var(--color-white);
        box-shadow: var(--shadow-soft);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 0.8rem 0;
    }

    .main-nav a::after {
        bottom: 0.25rem;
    }

    .header-cta {
        display: none;
    }

    .split,
    .contact-layout,
    .safety-panel {
        grid-template-columns: 1fr;
    }

    .quick-info__grid,
    .values-grid,
    .delivery-grid,
    .product-option-grid,
    .product-strip,
    .gallery-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-detail {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .top-strip__inner {
        justify-content: center;
        flex-wrap: wrap;
        padding: 0.45rem 0;
    }

    .top-strip__inner span:nth-child(2) {
        display: none;
    }

    .brand img {
        width: 155px;
    }

    .hero {
        min-height: 60svh;
    }

    .hero__shade {
        background: linear-gradient(0deg, rgba(5, 38, 75, 0.88), rgba(5, 38, 75, 0.34));
    }

    .hero__actions,
    .inline-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .quick-info {
        margin-top: 0;
        padding-top: 2rem;
    }

    .quick-info__grid,
    .values-grid,
    .delivery-grid,
    .product-option-grid,
    .product-strip,
    .gallery-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .legal-table > div {
        grid-template-columns: 1fr;
    }

    .footer-bottom__inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 1rem 0;
    }

    .floating-whatsapp {
        left: auto;
        right: 1rem;
    }
}
