/* 01 — Fonte e variáveis */
@font-face {
    font-family: Manrope;
    src: url('../fonts/manrope-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('../fonts/barlow-condensed-800-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

:root {
    color-scheme: light;
    --font: Manrope, 'Segoe UI', sans-serif;
    --font-display: 'Barlow Condensed', 'Arial Narrow', var(--font);
    --paper: #fcf8f2;
    --white: #fff;
    --ink: #291d1c;
    --muted: #64544d;
    --brand: #ad301a;
    --brand-dark: #7e2118;
    --deep-red: #501d18;
    --gold: #ffdb43;
    --peach: #f8e7d7;
    --tint: #fff1e1;
    --line: #ebdbce;
    --radius: 1.25rem;
    --shell: 76rem;
    --gutter: clamp(1.125rem, 4vw, 3.75rem);
}

/* 02 — Base tipográfica e foco */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    color: var(--ink);
    font: 500 1rem / 1.6 var(--font);
}

main { flex: 1; }
main:focus { outline: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 800; line-height: 1.1; letter-spacing: -.035em; }
h1, h2 { font-family: var(--font-display); letter-spacing: -.012em; }
h1 { font-size: clamp(2.95rem, 6.1vw, 5.5rem); line-height: .99; }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
h3 { font-size: clamp(1.375rem, 2.5vw, 2.125rem); }
address { font-style: normal; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
button { font: inherit; }

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 4px;
}

.shell {
    width: min(calc(100% - 2 * var(--gutter)), var(--shell));
    margin-inline: auto;
}

.skip-link {
    z-index: 10;
    position: absolute;
    inset: .75rem auto auto var(--gutter);
    padding: .625rem 1rem;
    border-radius: .5rem;
    background: var(--white);
    color: var(--ink);
    transform: translateY(-200%);
}

.skip-link:focus { transform: translateY(0); }

/* 03 — Componentes compartilhados */
.icon {
    width: 1.2em;
    height: 1.2em;
    flex: none;
    vertical-align: middle;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: var(--brand-dark);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: '';
    flex: none;
    width: 1.25rem;
    height: 2px;
    border-radius: 2px;
    background: var(--brand);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem 1.25rem;
}

.button, .menu-toggle {
    min-height: 2.875rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: .65rem;
    padding: .6rem .95rem;
    border: 1px solid transparent;
    border-radius: .65rem;
    font-size: .875rem;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.button-primary { background: var(--brand); color: var(--white); }
.button-primary:hover { background: var(--brand-dark); }

.button-secondary, .menu-toggle {
    border-color: var(--line);
    background: var(--white);
    color: var(--ink);
}

.button-secondary:hover, .menu-toggle:hover {
    border-color: #d8a388;
    background: var(--tint);
    color: var(--brand-dark);
}

.text-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: .4rem;
    color: var(--brand-dark);
    font-size: .875rem;
    font-weight: 800;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.text-link:hover { text-decoration: underline; }
.actions .text-link { align-self: center; }

.icon-tile {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-grid;
    place-items: center;
    flex: none;
    border-radius: 50%;
    background: #fff2cf;
    color: var(--brand-dark);
}

.icon-tile .icon { width: 1.35rem; height: 1.35rem; }

.photo-frame {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--peach);
}

.photo-frame img { width: 100%; }

/* 04 — Cabeçalho, navegação e rodapé */
.site-header {
    background: #fdfdfd;
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.25rem;
    min-height: 5.35rem;
}

.header-logo {
    display: block;
    position: relative;
    width: 11.5rem;
    height: 4.5rem;
    margin-inline-start: -1.5rem;
    overflow: hidden;
}

.header-logo img {
    /* O enquadramento remove a margem branca do JPEG, preservando o desenho. */
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}

.wordmark {
    width: fit-content;
    color: var(--ink);
    font-size: clamp(1.25rem, 2.6vw, 1.625rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.075em;
    text-decoration: none;
    white-space: nowrap;
}

.wordmark span { margin-inline-start: .075em; color: var(--brand); }
.header-action { justify-self: end; white-space: nowrap; }
.header-action .icon { color: var(--brand); }

.site-nav {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.site-nav a {
    padding: .7rem .875rem;
    border-radius: .6rem;
    color: var(--muted);
    font-size: .875rem;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
}

.site-nav a:hover, .site-nav a[aria-current] { color: var(--brand-dark); background: var(--tint); }
.site-nav a[aria-current] { box-shadow: inset 0 -2px var(--brand); }
.menu-toggle { display: none; cursor: pointer; }

.site-footer { background: #321a18; color: #f7e9df; }
.site-footer .wordmark { color: var(--white); display: inline-block; }
.site-footer .wordmark span { color: var(--gold); }
.site-footer :focus-visible { outline-color: var(--gold); }

.footer-grid {
    display: grid;
    grid-template-columns: .9fr 1fr 1.05fr;
    gap: 1.5rem 2.5rem;
    padding-block: 2.75rem 2.25rem;
    color: #e7d5c8;
    font-size: .875rem;
}

.footer-grid .wordmark, .footer-title { margin-bottom: .5rem; }
.footer-title { color: var(--white); font-size: .875rem; font-weight: 800; }

.footer-social {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    gap: .45rem;
    margin-top: .5rem;
    color: var(--gold);
    font-size: .835rem;
    font-weight: 800;
    text-decoration: none;
}

.footer-social:hover { text-decoration: underline; }

.footer-end {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    padding-block: 1rem 1.25rem;
    border-top: 1px solid #594236;
    color: #e7d5c8;
    font-size: .78rem;
}

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

/* 05 — Página inicial */
.home-top { padding-top: clamp(1rem, 2.65vw, 2.15rem); }

.hero {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    align-items: stretch;
    border-radius: clamp(1.1rem, 2.5vw, 1.65rem);
    overflow: hidden;
    background: var(--deep-red);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(1.5rem, 4.2vw, 3.5rem);
    background:
        radial-gradient(circle at 104% 114%, transparent 10rem, #ffce5522 10.05rem 11.1rem, transparent 11.15rem 12.5rem, #ffce5517 12.55rem 13.6rem, transparent 13.65rem),
        linear-gradient(137deg, #791d15, #a52a18 54%, #b5411b);
    color: var(--white);
}

.hero-copy h1 {
    margin-block: .65rem 1.05rem;
    font-size: clamp(3.55rem, 7.2vw, 6.65rem);
    line-height: .91;
    letter-spacing: -.018em;
}

.hero-copy h1 span, .hero-copy .eyebrow { color: var(--gold); }
.hero-copy .eyebrow::before { background: var(--gold); }
.hero-copy p:not(.eyebrow) { color: #fff5eb; font-size: clamp(.95rem, 1.5vw, 1.075rem); }
.hero-copy .actions { margin-top: clamp(1.15rem, 3vw, 1.8rem); }
.hero-copy .button { min-height: 3rem; padding-inline: 1.15rem; background: var(--gold); color: #3b2016; }
.hero-copy .button:hover { background: #ffe885; }
.hero-copy .text-link { color: var(--white); }
.hero-copy :focus-visible { outline-color: var(--gold); }
.hero-copy .button:focus-visible { outline-color: var(--white); }
.hero-media { display: flex; align-items: center; }
.hero-media img { width: 100%; }

.quick-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 1.125rem 0 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) * .85);
    background: var(--white);
}

.fact {
    display: flex;
    align-items: center;
    gap: clamp(.75rem, 1.5vw, 1.15rem);
    padding: 1.25rem clamp(.85rem, 2.3vw, 1.95rem);
}

.fact + .fact { border-inline-start: 1px solid var(--line); }
.fact h2 { margin-bottom: .22rem; font-family: var(--font); font-size: .94rem; letter-spacing: -.02em; line-height: 1.25; }
.fact p { color: var(--muted); font-size: .825rem; line-height: 1.5; }
.fact a { color: var(--brand-dark); font-weight: 800; text-decoration: none; }
.fact a:hover { text-decoration: underline; }

.home-visit-title { margin-bottom: 1.25rem; }
.home-visit-title .eyebrow { margin-bottom: .45rem; }

.visit-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
    gap: 1.125rem;
}

.visit-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: .8rem;
    padding: clamp(1.4rem, 4vw, 3.6rem);
    border-radius: var(--radius);
    background: linear-gradient(140deg, #411a16, var(--deep-red) 58%, #70281c);
    color: var(--white);
}

.visit-copy address { color: #fce6d7; }
.visit-copy .icon-tile { background: #fff1cb; }
.visit-copy .text-link { margin-top: .4rem; color: var(--gold); }
.visit-copy :focus-visible { outline-color: var(--gold); }

/* 06 — Páginas internas */
.page-intro {
    padding-block: clamp(2.6rem, 6.45vw, 5.35rem);
    border-bottom: 1px solid #ecd7c7;
    background:
        radial-gradient(circle at 99% 150%, transparent 12.5rem, #ec722823 12.55rem 15.5rem, transparent 15.55rem 17rem, #ec722818 17.05rem 20rem, transparent 20.05rem),
        linear-gradient(112deg, #fff2dc, #f9e0cc);
}

.page-intro h1 { margin-block: .55rem .8rem; }
.intro-copy { max-width: 42rem; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.2rem); }
.section { padding-block: clamp(2.5rem, 5.4vw, 4.75rem); }
.section + .section { padding-top: 0; }

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

.panel {
    min-width: 0;
    padding: clamp(1.4rem, 3.4vw, 2.65rem);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.panel h2 { font-size: clamp(1.7rem, 2.75vw, 2.35rem); }
.panel > .text-link:last-child { margin-top: .55rem; }

.brand-image {
    width: min(100%, 18.75rem);
    justify-self: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.data-list { margin-block: 1rem .5rem; }
.data-list div { padding-block: .55rem; border-top: 1px solid var(--line); }
.data-list dt { color: var(--muted); font-size: .79rem; font-weight: 700; }
.data-list dd { color: var(--ink); font-size: .95rem; font-weight: 800; }

.stack { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; min-width: 0; }
.stack > p, .stack address { color: var(--muted); }
.stack .actions { margin-top: .3rem; }

.product-list, .contact-grid {
    display: grid;
    gap: 1rem;
}

.product-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }

/* Produtos — fotos, títulos e capacidades */
.product-intro { padding-block: clamp(2rem, 4.5vw, 3.5rem); }
.product-intro h1 { font-size: clamp(2.65rem, 5.3vw, 4.6rem); }
.product-section { padding-block: clamp(1.65rem, 3.3vw, 2.75rem) clamp(2.5rem, 5.4vw, 4.75rem); }

.product-card {
    display: flex;
    flex-direction: column;
    gap: .95rem;
    min-width: 0;
    padding: clamp(.7rem, 1.7vw, 1.15rem);
    border: 1px solid var(--line);
    border-top: .2rem solid var(--brand);
    border-radius: var(--radius);
    background: var(--white);
}

.product-media {
    display: grid;
    place-items: center;
    min-height: clamp(10rem, 17vw, 13.25rem);
    border-radius: calc(var(--radius) * .62);
    background: radial-gradient(ellipse at 50% 60%, #fffaf2, #f9e8d7);
}

.product-media img { width: min(100%, 19.5rem); }

.product-copy { display: grid; gap: .5rem; padding: 0 .25rem .35rem; }

.product-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .35rem .65rem;
}

.product-heading h2 { font-size: clamp(1.45rem, 2.55vw, 1.95rem); }

.product-size {
    padding: .25rem .6rem;
    border-radius: 1rem;
    background: var(--tint);
    color: var(--brand-dark);
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
}

.product-description { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.operation-photo { width: min(100%, 28rem); }
.contact-grid .panel { gap: .65rem; }
.contact-grid .panel > .icon { width: 1.65rem; height: 1.65rem; color: var(--brand); }
.contact-grid .data-list { width: 100%; margin-block: 0; }
.contact-grid .data-list div:first-child { border-top: 0; padding-top: 0; }

.prose { width: min(calc(100% - 2 * var(--gutter)), 48rem); }
.prose h2 { margin-bottom: .5rem; font-size: clamp(1.55rem, 2.7vw, 2.1rem); }
.prose h2:not(:first-child) { margin-top: 1.85rem; }
.prose p { color: var(--muted); }
.prose a { color: var(--brand-dark); font-weight: 800; overflow-wrap: anywhere; }

/* 07 — Telas menores e preferências de movimento */
@media (max-width: 62rem) {
    .hero-copy { padding: 1.6rem; }
    .fact { padding: 1.05rem .8rem; }
    .fact .icon-tile { width: 2.3rem; height: 2.3rem; }
}

@media (max-width: 54rem) {
    .hero { grid-template-columns: minmax(0, 1fr); }
    .hero-copy { padding: clamp(1.5rem, 6vw, 2.8rem); }
    .hero-copy h1 { font-size: clamp(3.45rem, 11vw, 6.05rem); }
    .hero-media { width: 100%; }
}

@media (max-width: 48rem) {
    .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 0 1rem; min-height: 4.6rem; }
    .header-logo { width: 9.4rem; height: 3.85rem; margin-inline-start: -1.2rem; }
    .header-action { display: none; }
    .site-nav { grid-column: 1 / -1; flex-wrap: wrap; padding-bottom: .85rem; }
    .site-nav a { min-height: 2.75rem; padding-inline: .8rem; }
    .site-header[data-enhanced] .menu-toggle { display: inline-flex; }
    .site-header[data-enhanced]:not([data-menu-open]) .site-nav { display: none; }

    .quick-facts { grid-template-columns: minmax(0, 1fr); }
    .fact { padding: .9rem 1.05rem; }
    .fact + .fact { border-inline-start: 0; border-top: 1px solid var(--line); }
    .visit-grid, .split-layout { grid-template-columns: minmax(0, 1fr); }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .brand-image { width: min(100%, 15rem); justify-self: start; }
}

@media (max-width: 44rem) {
    .product-list { grid-template-columns: minmax(0, 28rem); justify-content: center; }
}

@media (max-width: 23.5rem) {
    .hero-copy h1 { font-size: clamp(2.8rem, 13vw, 3.45rem); }
}

@media (prefers-reduced-motion: reduce) {
    .button, .menu-toggle { transition: none; }
}
