:root {
    color-scheme: light;
    --navy: #082341;
    --navy-deep: #061a32;
    --ink: #352416;
    --muted: #645447;
    --cream: #fbf5ec;
    --paper: #fffaf3;
    --line: #e8d9c6;
    --gold: #b08148;
    --serif: Georgia, "Times New Roman", serif;
    --sans: "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 1rem/1.6 var(--sans); }
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.06; }
h2 { font-size: clamp(2.65rem, 5vw, 4.4rem); letter-spacing: -.055em; }
#linhas, #personalizacao, #sobre { scroll-margin-top: 1.25rem; }
:focus-visible { outline: 3px solid #ae6427; outline-offset: 4px; }

.container { width: min(100% - 7rem, 1320px); margin-inline: auto; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 2; padding: .55rem .9rem; background: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.topbar { background: var(--navy); color: var(--paper); }
.topbar-items { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .25rem 0; list-style: none; padding: .6rem 0; margin-block: 0; }
.topbar-items li { padding-inline: clamp(.85rem, 2.9vw, 2.9rem); font-size: .875rem; letter-spacing: .02em; }
.topbar-items li + li { border-left: 1px solid #ffffff4d; }
.site-header { background: var(--paper); }
.navigation { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 100px; gap: 1.75rem; }
.wordmark { display: grid; gap: .38rem; justify-items: center; justify-self: start; text-decoration: none; width: max-content; line-height: 1; }
.wordmark span { font: 500 clamp(2.55rem, 4.1vw, 3.65rem)/.85 var(--serif); letter-spacing: -.085em; padding-right: .07em; }
.wordmark small { font-size: .69rem; font-weight: 700; letter-spacing: .26em; padding-left: .26em; }
.navigation nav { display: flex; align-items: center; justify-content: center; gap: clamp(.85rem, 2.4vw, 2.6rem); }
.navigation nav a { text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 600; padding-block: .45rem; white-space: nowrap; }
.navigation nav a:first-child { color: var(--navy); box-shadow: 0 2px var(--gold); }
.navigation nav a:hover, .footer-link:hover { text-decoration: underline; text-underline-offset: .28em; }
.nav-cta { justify-self: end; }

.button { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 44px; padding: .65rem 1.3rem; border: 1px solid transparent; border-radius: 100vmax; font-weight: 700; font-size: .9rem; line-height: 1.25; text-decoration: none; transition: background-color .18s, border-color .18s, color .18s; }
.button-outline { color: var(--navy); border-color: #092b5055; }
.button-outline:hover { color: var(--paper); background: var(--navy); border-color: var(--navy); }
.button-primary { background: var(--navy); color: white; padding: .94rem 1.65rem; font-size: 1rem; min-height: 52px; }
.button-primary:hover { background: #16446d; }
.button-light { background: var(--paper); color: var(--navy); }
.button-light:hover { background: #e8d5bb; }

.hero { overflow: hidden; background: radial-gradient(ellipse at 15% 36%, #fff9ee, transparent 59%), #f0e2d1; border-top: 1px solid #e9dbc9; }
.hero-inner { display: grid; grid-template-columns: 51% 49%; min-height: clamp(455px, 36vw, 545px); position: relative; }
.hero-copy { align-self: center; position: relative; z-index: 1; padding: 3.15rem 1.6rem 5.15rem 0; }
.eyebrow { display: flex; align-items: center; gap: .8rem; color: var(--navy); font-size: .875rem; letter-spacing: .19em; text-transform: uppercase; font-weight: 700; }
.eyebrow::after { content: ""; display: block; width: 2.6rem; height: 1px; background: var(--gold); }
.hero h1 { margin-top: 1rem; font-size: clamp(3.1rem, 5.15vw, 5.25rem); line-height: .99; letter-spacing: -.065em; }
.hero h1 span { color: #986a3a; }
.hero-description { max-width: 28rem; margin-block: 1.3rem 1.55rem; color: var(--muted); font-size: clamp(1.05rem, 1.44vw, 1.32rem); line-height: 1.48; }
.hero-visual {
    --hero-edge: clamp(14px, 2vw, 32px);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 100%;
    width: calc(100% + max(3.5rem, (100vw - 1320px) / 2));
    border-radius: 27% 0 0 4% / 41% 0 0 9%;
    background: var(--navy);
    box-shadow: -5px 0 #c49757;
}
.hero-visual img { height: 100%; position: absolute; inset-block: 0; }
.hero-shirt { left: var(--hero-edge); width: calc(55% - var(--hero-edge)); object-position: 50% 46%; }
.hero-vest { right: 0; width: 45%; object-position: 46% 42%; border-left: 3px solid var(--navy); }
.hero-visual::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, #061a3245); pointer-events: none; }

.features { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper); list-style: none; border-radius: 100vmax; border: 1px solid white; min-height: 74px; padding: .85rem .7rem; margin-block: -2.3rem 0; box-shadow: 0 8px 24px #49301a16; }
.features li { display: flex; gap: .75rem; align-items: center; justify-content: center; padding-inline: .5rem; font-weight: 700; font-size: .95rem; line-height: 1.25; }
.features li + li { border-left: 1px solid var(--line); }
.features svg { width: 2rem; flex: 0 0 2rem; fill: none; stroke: var(--navy); stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }

.lines { padding-block: 3.15rem 5.5rem; }
.section-heading { text-align: center; margin-bottom: 2rem; }
.section-heading h2 { display: flex; align-items: center; justify-content: center; gap: clamp(.85rem, 2.6vw, 2rem); }
.section-heading h2::before, .section-heading h2::after { content: ""; width: clamp(1rem, 7vw, 5.5rem); height: 1px; background: var(--gold); }
.section-heading p { color: var(--muted); margin-top: .65rem; }
.line-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.85rem, 1.5vw, 1.4rem); }
.line-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 1.15rem; border: 1px solid var(--line); background: var(--paper); }
.line-image { overflow: hidden; aspect-ratio: 1.3; background: #e8ded1; }
.line-image img { height: 100%; object-position: center 35%; transition: transform .25s ease-out; }
.line-card:focus-within img, .line-card:hover img { transform: scale(1.035); }
.line-card-copy { display: flex; flex-direction: column; align-items: start; flex: 1; padding: clamp(1rem, 1.6vw, 1.5rem); }
.line-card h3 { font-size: clamp(1.45rem, 2.25vw, 2.05rem); letter-spacing: -.045em; text-wrap: balance; }
.line-card p { color: var(--muted); margin-block: .65rem 1rem; }
.line-card .button { margin-top: auto; }

.model-dialog { width: min(92vw, 970px); max-height: min(88vh, 760px); padding: clamp(1.1rem, 3.5vw, 2rem); border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); color: var(--ink); box-shadow: 0 18px 65px #061a3266; }
.model-dialog::backdrop { background: #061a32bd; }
body:has(.model-dialog[open]) { overflow: hidden; }
.model-dialog:target:not([open]) { display: block; position: static; max-height: none; margin-block-start: 1.5rem; }
.model-dialog:not([open]) form, .model-dialog[open] .dialog-dismiss { display: none; }
.dialog-header { display: flex; gap: .75rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.dialog-header h3 { font-size: clamp(1.55rem, 4vw, 2.55rem); letter-spacing: -.035em; }
.dialog-close { display: grid; place-items: center; height: 44px; width: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); background: transparent; font-size: 1.65rem; line-height: 1; cursor: pointer; }
.dialog-close:hover { background: var(--cream); }
.model-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr)); gap: 1rem; }
.model-grid img { aspect-ratio: 1; border-radius: .65rem; object-position: center 35%; }
.model-grid figcaption { padding-top: .4rem; color: var(--muted); font-size: .875rem; }

.personalization { background: var(--navy); color: var(--paper); }
.personalization-inner { display: grid; grid-template-columns: 45% 1fr; gap: clamp(2rem, 6.5vw, 6.5rem); align-items: center; padding-block: clamp(2rem, 5.75vw, 5rem); }
.personalization-inner > img { aspect-ratio: 1.23; object-position: 50% 31%; border-radius: 1.25rem 5rem 1.25rem 1.25rem; }
.personalization .eyebrow { color: #f6d4a5; }
.personalization h2 { max-width: 34rem; margin-block: .6rem 1rem; }
.personalization-copy > p:not(.eyebrow) { color: #f5e9d9; max-width: 30rem; margin-bottom: 1.25rem; font-size: 1.07rem; }
.about { display: grid; justify-items: center; text-align: center; padding-block: clamp(3.5rem, 7vw, 6rem); }
.about .eyebrow::before { content: ""; width: 2.6rem; height: 1px; background: var(--gold); }
.about h2 { margin-top: .65rem; }
.about p:last-child { max-width: 39rem; margin-top: 1rem; font-size: 1.12rem; color: var(--muted); }
.site-footer { background: var(--navy-deep); color: var(--paper); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 2rem; }
.footer-inner .wordmark span { font-size: 2.45rem; }
.footer-inner .wordmark small { font-size: .61rem; }
.footer-link { font-size: .95rem; text-underline-offset: .25em; }

@media (max-width: 1050px) {
    .container { width: calc(100% - 4rem); }
    .hero-visual { width: calc(100% + 2rem); }
    .hero-break { display: none; }
    .line-card p { font-size: .94rem; }
}
@media (max-width: 800px) {
    .container { width: calc(100% - 2.5rem); }
    .navigation { grid-template-columns: 1fr 1fr; gap: .75rem 1rem; padding-block: 1rem .55rem; }
    .navigation nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: .55rem; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-copy { padding: 2.5rem 0 1.9rem; }
    .hero h1 { font-size: clamp(3rem, 8.8vw, 4.6rem); max-width: 12ch; }
    .hero-visual { height: clamp(255px, 58vw, 425px); width: 100%; border-radius: 3.75rem 1rem 0 0; box-shadow: -3px 0 #c49757; }
    .features { min-height: 62px; margin-top: -1.15rem; }
    .features li { gap: .4rem; font-size: .875rem; }
    .features svg { width: 1.65rem; flex-basis: 1.65rem; }
    .line-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .line-card h3 { font-size: clamp(1.35rem, 4vw, 2rem); }
    .lines { padding-block: 2.75rem 3.75rem; }
}
@media (max-width: 540px) {
    .container { width: calc(100% - 2rem); }
    .topbar-items li { padding-inline: .55rem; }
    .topbar-items li:last-child { display: none; }
    .navigation nav a { font-size: .875rem; }
    .hero-description { margin-block: .95rem 1.15rem; }
    .features { border-radius: 1rem; padding: .6rem .25rem; }
    .features li { text-align: center; flex-direction: column; }
    .personalization-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .personalization-inner > img { aspect-ratio: 1.4; }
}
@media (max-width: 355px) {
    .topbar-items li { padding-inline: .35rem; font-size: .8rem; }
    .navigation nav { flex-wrap: wrap; }
    .line-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
