/* ============================================================
   FRAGATTO CALÇADOS — styles.css
   Direção: "Lookbook de alta costura" — branco/blush dominante,
   hairlines, H1 vertical, legendas de crédito, Sarina em acentos.
   Vinho #2B1B22 · framboesa #8E3B5D · rosé #D99AA6 · blush
   #FAF0EE · dourado champagne #C9A84C. Fenix · Murecho · Sarina.
   Zero regras de mídia (breakpoints em responsive.css).
   ============================================================ */

:root {
    --ink: #2B1B22;          /* vinho profundo — tipografia */
    --rasp: #8E3B5D;         /* framboesa — links e destaques */
    --rose: #D99AA6;         /* rosé pálido — detalhes suaves */
    --blush: #FAF0EE;        /* blush — fundo secundário */
    --gold: #C9A84C;         /* dourado champagne — folios e labels */
    --paper: #FFFFFF;
    --hairline: rgba(43, 27, 34, 0.16);
    --hairline-strong: rgba(43, 27, 34, 0.32);
    --display: 'Fenix', 'Times New Roman', serif;
    --body: 'Murecho', 'Segoe UI', sans-serif;
    --script: 'Sarina', cursive;
    --sec-pad: clamp(3.5rem, 9vw, 7.5rem) 0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--body);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

::selection { background: var(--blush); color: var(--ink); }

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

a { color: var(--rasp); text-decoration: none; }
a:hover { color: var(--ink); }

.container { width: min(1180px, 92vw); margin: 0 auto; }
.container.narrow { width: min(880px, 92vw); }

/* ---------- utilitários editoriais ---------- */

.folio {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    border-bottom: 1px solid var(--hairline);
    padding-bottom: 0.65rem;
    margin-bottom: 1.6rem;
}

.folio span { color: var(--rose); letter-spacing: 0.14em; }

h2 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(1.9rem, 3.4vw, 2.85rem);
    line-height: 1.14;
    letter-spacing: 0.01em;
    margin-bottom: 1.4rem;
    max-width: 18ch;
}

h2 em {
    font-family: var(--script);
    font-style: normal;
    color: var(--rasp);
    letter-spacing: 0;
}

.section-intro {
    color: rgba(43, 27, 34, 0.72);
    max-width: 58ch;
    margin-bottom: 2.8rem;
}

figcaption {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(43, 27, 34, 0.55);
}

figcaption::before {
    content: "";
    display: inline-block;
    width: 1.6rem;
    height: 1px;
    background: var(--gold);
    vertical-align: middle;
    margin-right: 0.6rem;
}

/* ---------- link editorial (CTA da casa) ---------- */

.editorial-link {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--rasp);
    padding-bottom: 0.45rem;
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--body);
}

.editorial-link::after {
    content: "";
    width: 100%;
    height: 1px;
    background: var(--gold);
    transform-origin: left;
    transform: scaleX(0.28);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.editorial-link:hover { color: var(--ink); }
.editorial-link:hover::after { transform: scaleX(1); }

.editorial-link.muted { color: rgba(43, 27, 34, 0.6); }

/* ---------- header: masthead central ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--hairline);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
    border-color: var(--hairline-strong);
    box-shadow: 0 14px 34px -22px rgba(43, 27, 34, 0.28);
}

.masthead {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: min(1180px, 92vw);
    margin: 0 auto;
    padding: 1.15rem 0 0.95rem;
}

.brand { justify-self: center; text-align: center; }

.brand-name {
    font-family: var(--display);
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
    white-space: nowrap;
}

.brand-name em {
    font-family: var(--script);
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--rasp);
    font-size: 1.06em;
}

.masthead-place {
    justify-self: end;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold);
}

.menu-toggle {
    justify-self: start;
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--ink);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(1.2rem, 3.4vw, 3rem);
    width: min(1180px, 92vw);
    margin: 0 auto;
    padding: 0.55rem 0 0.85rem;
    border-top: 1px solid var(--hairline);
}

.nav a {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(43, 27, 34, 0.66);
    position: relative;
    padding: 0.2rem 0;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s ease;
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

/* ---------- hero: abertura do lookbook ---------- */

.hero {
    display: grid;
    grid-template-columns: 76px 1fr;
    align-items: stretch;
    min-height: 86vh;
    padding: clamp(2rem, 5vw, 4rem) 0 0;
}

.hero-spine {
    grid-column: 1;
    grid-row: 1 / 3;
    border-right: 1px solid var(--hairline);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2.5rem;
}

.hero-number {
    writing-mode: vertical-rl;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--gold);
}

.hero-stage {
    grid-column: 2;
    display: grid;
    grid-template-columns: minmax(56px, 92px) 1fr;
    gap: clamp(1.2rem, 2.6vw, 2.4rem);
    align-items: stretch;
}

.hero-title {
    grid-column: 1;
    grid-row: 1;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(2.6rem, 4.6vw, 4.6rem);
    line-height: 1.08;
    color: var(--ink);
    align-self: stretch;
    justify-self: end;
    max-height: 76vh;
}

.hero-frame { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: 0.7rem; }

.hero-frame img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--hairline);
    outline: 1px solid var(--hairline);
    outline-offset: 8px;
    filter: saturate(0.94);
    transition: filter 0.6s ease;
}

.hero-frame:hover img { filter: saturate(1.05); }

.hero-copy {
    grid-column: 2;
    display: grid;
    grid-template-columns: minmax(300px, 460px) 1fr;
    grid-template-rows: auto auto auto;
    gap: 0 0;
    column-gap: clamp(1.5rem, 4vw, 4rem);
    padding: clamp(1.6rem, 3.4vw, 3rem) clamp(0.4rem, 2vw, 2rem) clamp(2.4rem, 5vw, 4rem);
    border-top: 1px solid var(--hairline);
    margin-top: clamp(1.4rem, 3vw, 2.6rem);
}

.hero-season {
    grid-column: 1;
    grid-row: 1;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.9rem;
}

.hero-copy .lead { grid-column: 1; grid-row: 2; font-size: 1.05rem; line-height: 1.85; max-width: 46ch; }

.hero-actions { grid-column: 1; grid-row: 3; display: flex; flex-wrap: wrap; gap: 1.8rem; margin-top: 1.6rem; }

.hero-badges {
    grid-column: 2;
    grid-row: 1 / 4;
    list-style: none;
    align-self: start;
    border-left: 1px solid var(--hairline);
    padding-left: clamp(1.2rem, 2.4vw, 2.4rem);
}

.hero-badges li {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(43, 27, 34, 0.62);
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--hairline);
}

.hero-badges li:first-child { padding-top: 0.2rem; }
.hero-badges li:last-child { border-bottom: none; }

/* ---------- a casa: editorial com capitular ---------- */

.house { padding: var(--sec-pad); background: var(--paper); }

.house-grid {
    display: grid;
    grid-template-columns: minmax(320px, 46%) 1fr;
    gap: clamp(2rem, 6vw, 5.5rem);
    align-items: start;
}

.house-photo { position: relative; }

.house-photo img {
    border: 1px solid var(--hairline);
    outline: 1px solid var(--hairline);
    outline-offset: 10px;
}

.house-photo figcaption { margin-top: 1.3rem; }

.house-copy p { margin-bottom: 1.35rem; color: rgba(43, 27, 34, 0.82); }

.house-copy p:first-of-type::first-letter {
    font-family: var(--display);
    font-size: 3.4em;
    line-height: 0.82;
    float: left;
    padding: 0.08em 0.14em 0 0;
    color: var(--rasp);
}

/* ---------- coleções: lookbook assimétrico ---------- */

.shelf { padding: var(--sec-pad); background: var(--blush); }

.shelf .folio { border-color: rgba(43, 27, 34, 0.14); }

.shelf-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    grid-auto-rows: auto;
    gap: clamp(2.2rem, 5vw, 4rem);
}

.shelf-card.feature { grid-row: 1 / 3; }

.shelf-card.feature .card-media img { aspect-ratio: 4 / 5; }
.shelf-card .card-media img { aspect-ratio: 4 / 3; }

.card-media { overflow: hidden; margin-bottom: 1.1rem; }

.card-media img {
    width: 100%;
    object-fit: cover;
    border: 1px solid rgba(43, 27, 34, 0.12);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.shelf-card:hover .card-media img { transform: scale(1.028); }

.card-tag {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.55rem;
}

.shelf-card h3 {
    font-family: var(--display);
    font-weight: 400;
    font-size: 1.55rem;
    margin-bottom: 0.6rem;
}

.shelf-card p { font-size: 0.95rem; color: rgba(43, 27, 34, 0.78); margin-bottom: 0.9rem; }

.card-body ul { list-style: none; }

.card-body li {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    color: rgba(43, 27, 34, 0.7);
    padding: 0.5rem 0;
    border-top: 1px solid rgba(43, 27, 34, 0.12);
}

.card-body li::before {
    content: "—";
    color: var(--gold);
    margin-right: 0.7rem;
}

/* ---------- vitrine da estação: pranchas ---------- */

.showcase { padding: var(--sec-pad); background: var(--paper); }

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    margin-bottom: clamp(2.4rem, 5vw, 4rem);
}

.showcase-photo img {
    border: 1px solid var(--hairline);
    outline: 1px solid var(--hairline);
    outline-offset: 8px;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-photo:hover img { transform: translateY(-4px); }

.showcase-photo figcaption { margin-top: 1.2rem; }

.showcase-text {
    column-count: 2;
    column-gap: clamp(2.4rem, 5vw, 4.5rem);
    column-rule: 1px solid var(--hairline);
}

.showcase-text p { margin-bottom: 1.3rem; color: rgba(43, 27, 34, 0.8); break-inside: avoid; }

/* ---------- linhas: índice editorial (tabs) ---------- */

.lines { padding: var(--sec-pad); background: var(--paper); }

.lines .container { border-top: 1px solid var(--hairline); padding-top: clamp(2rem, 4vw, 3.4rem); }

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.6rem, 4vw, 3.8rem);
    border-bottom: 1px solid var(--hairline);
    padding-bottom: 1.1rem;
    margin-bottom: 2.4rem;
}

.tab {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--display);
    font-size: 1.18rem;
    color: rgba(43, 27, 34, 0.42);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0;
    transition: color 0.3s ease;
}

.tab .tab-no {
    font-family: var(--body);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--rose);
    transition: color 0.3s ease;
}

.tab:hover, .tab.is-active { color: var(--ink); }
.tab.is-active .tab-no { color: var(--gold); }

.tab.is-active { border-bottom: 1px solid var(--gold); margin-bottom: -1.1rem; padding-bottom: 1.1rem; }

.tab-panel { padding: 0.4rem 0 0.4rem clamp(1.2rem, 3vw, 2.6rem); border-left: 1px solid var(--hairline); }

.tab-panel h3 {
    font-family: var(--display);
    font-weight: 400;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.tab-panel p { max-width: 68ch; color: rgba(43, 27, 34, 0.8); }

/* ---------- conforto: ficha de ateliê + faq ---------- */

.fit { padding: var(--sec-pad); background: var(--blush); }

.fit-tool {
    background: var(--paper);
    border: 1px solid var(--hairline);
    padding: clamp(1.6rem, 4vw, 3rem);
    margin: 2.6rem 0 3rem;
}

.fit-tool h3 {
    font-family: var(--display);
    font-weight: 400;
    font-size: 1.45rem;
    margin-bottom: 0.5rem;
}

.fit-hint { font-size: 0.9rem; color: rgba(43, 27, 34, 0.66); margin-bottom: 1.6rem; }

.fit-controls {
    display: grid;
    grid-template-columns: auto minmax(180px, 260px) auto;
    gap: 1.4rem;
    align-items: end;
}

.fit-controls label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
}

.fit-controls input {
    font-family: var(--body);
    font-size: 1.05rem;
    color: var(--ink);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--hairline-strong);
    padding: 0.5rem 0.1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.fit-controls input:focus { border-color: var(--rasp); }

.fit-result {
    margin-top: 1.4rem;
    font-family: var(--script);
    font-size: 1.2rem;
    color: var(--rasp);
    border-top: 1px solid var(--hairline);
    padding-top: 1.1rem;
}

.accordion { border-top: 1px solid var(--hairline-strong); }

.accordion-item { border-bottom: 1px solid var(--hairline-strong); }

.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.4rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--body);
    font-size: 0.98rem;
    font-weight: 600;
    text-align: left;
    color: var(--ink);
    padding: 1.15rem 0.2rem;
    transition: color 0.3s ease;
}

.accordion-trigger:hover { color: var(--rasp); }

.acc-icon {
    position: relative;
    width: 14px;
    height: 14px;
    flex: none;
}

.acc-icon::before, .acc-icon::after {
    content: "";
    position: absolute;
    background: var(--gold);
    transition: transform 0.35s ease;
}

.acc-icon::before { top: 6.5px; left: 0; width: 14px; height: 1px; }
.acc-icon::after { top: 0; left: 6.5px; width: 1px; height: 14px; }

.accordion-trigger[aria-expanded="true"] .acc-icon::after { transform: rotate(90deg) scaleY(0); }

.accordion-panel { padding: 0 0.2rem 1.4rem; }
.accordion-panel p { max-width: 66ch; color: rgba(43, 27, 34, 0.78); }

/* ---------- depoimentos: citações de revista ---------- */

.voices { padding: var(--sec-pad); background: var(--paper); }

.voices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(2rem, 4.5vw, 4rem);
}

.voice { border-top: 1px solid var(--hairline-strong); padding-top: 1.6rem; }

.voice blockquote::before {
    content: "“";
    font-family: var(--script);
    font-size: 3.4rem;
    line-height: 0.4;
    color: var(--rose);
    display: block;
    margin-bottom: 0.9rem;
}

.voice blockquote p { font-size: 0.97rem; line-height: 1.8; color: rgba(43, 27, 34, 0.82); }

.voice figcaption {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 1.4rem;
}

.voice figcaption img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--gold);
    padding: 2px;
}

.voice figcaption strong { display: block; font-size: 0.85rem; letter-spacing: 0.06em; }

.voice figcaption small {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(43, 27, 34, 0.55);
}

/* ---------- contato ---------- */

.visit { padding: var(--sec-pad); background: var(--paper); }

.visit-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(2.4rem, 6vw, 5.5rem);
}

.visit-copy p { color: rgba(43, 27, 34, 0.8); margin-bottom: 1.2rem; max-width: 56ch; }

.visit-list { list-style: none; margin: 1.4rem 0 1.6rem; }

.visit-list li {
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(43, 27, 34, 0.74);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--hairline);
}

.visit-list li::before { content: "—"; color: var(--gold); margin-right: 0.8rem; }

.visit-note { font-size: 0.88rem; color: rgba(43, 27, 34, 0.62); }

.visit-card {
    border-left: 1px solid var(--hairline-strong);
    padding-left: clamp(1.6rem, 3vw, 3rem);
    align-self: start;
}

.visit-card h3 {
    font-family: var(--display);
    font-weight: 400;
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
}

.visit-card address { font-style: normal; margin-bottom: 1.1rem; }

.visit-card address p { font-size: 0.9rem; color: rgba(43, 27, 34, 0.74); margin-bottom: 0.6rem; }

.visit-mail {
    font-family: var(--script);
    font-size: 1.25rem;
    color: var(--rasp);
    margin-bottom: 1.6rem;
}

/* ---------- rodapé: colofão ---------- */

.site-footer {
    border-top: 1px solid var(--hairline-strong);
    background: var(--paper);
    padding: clamp(2.6rem, 6vw, 4.5rem) 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.4fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    padding-bottom: 2.4rem;
    border-bottom: 1px solid var(--hairline);
}

.footer-brand strong {
    font-family: var(--display);
    font-size: 1.4rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.8rem;
}

.footer-brand strong em {
    font-family: var(--script);
    text-transform: none;
    color: var(--rasp);
    letter-spacing: 0;
}

.footer-brand p { font-size: 0.85rem; color: rgba(43, 27, 34, 0.6); max-width: 40ch; }

.footer-nav { display: flex; flex-direction: column; gap: 0.55rem; }

.footer-nav a {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(43, 27, 34, 0.62);
}

.footer-nav a:hover { color: var(--rasp); }

.footer-authority { display: flex; flex-direction: column; gap: 0.55rem; }

.footer-authority a {
    font-size: 0.76rem;
    color: rgba(43, 27, 34, 0.58);
    border-bottom: 1px solid transparent;
    width: fit-content;
}

.footer-authority a:hover { color: var(--rasp); border-color: var(--gold); }

.footer-bottom { padding-top: 1.6rem; }

.footer-bottom p {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(43, 27, 34, 0.45);
}

/* ---------- whatsapp discreto ---------- */

.whatsapp-float {
    position: fixed;
    right: 1.6rem;
    bottom: 1.6rem;
    z-index: 70;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--rasp);
    color: var(--paper);
    border-radius: 999px;
    padding: 0.8rem 1.1rem;
    box-shadow: 0 16px 34px -14px rgba(142, 59, 93, 0.55);
    transition: background 0.3s ease, transform 0.3s ease;
}

.whatsapp-float:hover { background: var(--ink); transform: translateY(-2px); }

.wa-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid var(--paper);
    position: relative;
}

.wa-icon::after {
    content: "";
    position: absolute;
    inset: 3.5px;
    background: var(--paper);
    clip-path: polygon(0 40%, 100% 0, 70% 100%, 0 62%);
}

.wa-label {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }

.reveal.visible { opacity: 1; transform: translateY(0); }
