/* ============================================================
   KURA BRAVE — Design System & Landing Page Styles
   ============================================================ */

/* ── Design Tokens ───────────────────────────────────────── */
:root {
    /* Paleta Oficial */
    --osso:    #EDE7DA;
    --carvao:  #14120F;
    --iodo:    #C0451B;
    --cimento: #8A8577;
    --cal:     #FBFAF6;

    /* Semânticas */
    --bg-dark:    var(--carvao);
    --bg-light:   var(--osso);
    --bg-lighter: var(--cal);
    --text-dark:  var(--carvao);
    --text-light: var(--osso);
    --accent:     var(--iodo);
    --muted:      var(--cimento);

    /* Tipografia */
    --font-display: 'Syne', sans-serif;
    --font-mono:    'Space Mono', monospace;
    --font-body:    'Archivo', sans-serif;

    /* Espaçamento */
    --space-xs:  0.5rem;
    --space-sm:  1rem;
    --space-md:  1.5rem;
    --space-lg:  2.5rem;
    --space-xl:  4rem;
    --space-2xl: 6rem;
    --space-3xl: 10rem;

    /* Container */
    --container-max: 1280px;
    --container-pad: 1.5rem;

    /* Transições */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --duration: 0.4s;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-dark);
    background: var(--bg-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ── Skip Link ───────────────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-sm);
    background: var(--accent);
    color: var(--cal);
    padding: var(--space-xs) var(--space-sm);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    z-index: 9999;
    transition: top var(--duration) var(--ease-out);
}
.skip-link:focus {
    top: var(--space-sm);
}

/* ── Utilities ───────────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

.mono {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.875rem 2rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--duration) var(--ease-out);
    white-space: nowrap;
}

.btn--primary {
    background: var(--accent);
    color: var(--cal);
    border-color: var(--accent);
}
.btn--primary:hover,
.btn--primary:focus-visible {
    background: #a33b17;
    border-color: #a33b17;
    transform: translateY(-2px);
}

.btn--ghost {
    background: transparent;
    color: var(--cal);
    border-color: var(--cal);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
    background: var(--cal);
    color: var(--carvao);
    transform: translateY(-2px);
}

.btn--lg { padding: 1.1rem 2.5rem; font-size: 0.8rem; }

.btn:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* ── HEADER ──────────────────────────────────────────────── */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: background var(--duration) var(--ease-out),
                box-shadow var(--duration) var(--ease-out);
    background: transparent;
}

.header--scrolled {
    background: rgba(20, 18, 15, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(138, 133, 119, 0.15);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.header__brand {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.header__logo {
    width: 44px;
    height: auto;
    border-radius: 4px;
}

.header__name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--cal);
    letter-spacing: 0.08em;
}

.header__nav { display: flex; }

.header__menu {
    display: flex;
    gap: var(--space-lg);
}

.header__menu a {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--osso);
    transition: color var(--duration);
    padding: var(--space-xs) 0;
    position: relative;
}

.header__menu a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width var(--duration) var(--ease-out);
}

.header__menu a:hover::after,
.header__menu a:focus-visible::after { width: 100%; }

.header__menu a:hover,
.header__menu a:focus-visible { color: var(--cal); }

.header__cta {
    font-size: 0.65rem !important;
    padding: 0.65rem 1.4rem !important;
}

.header__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.header__toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--cal);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(2) {
    opacity: 0;
}
.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--carvao);
    transition: opacity 0.6s;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(20, 18, 15, 0.55) 0%,
        rgba(20, 18, 15, 0.4) 40%,
        rgba(20, 18, 15, 0.7) 100%
    );
}

.hero__watermark {
    position: absolute;
    right: -5%;
    bottom: -10%;
    width: 55vw;
    max-width: 700px;
    opacity: 0.06;
    pointer-events: none;
    user-select: none;
    border-radius: 8px;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 900px;
    padding-top: 100px;
}

.hero__tag {
    color: var(--cimento);
    margin-bottom: var(--space-lg);
    font-size: 0.7rem;
}

.hero__title {
    margin-bottom: var(--space-lg);
}

.hero__line {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    line-height: 1.05;
    color: var(--cal);
    letter-spacing: -0.02em;
}

.hero__line--accent {
    color: var(--accent);
}

.hero__subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    color: var(--osso);
    margin-bottom: var(--space-xl);
    opacity: 0.85;
}

.hero__actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--cimento);
    z-index: 2;
}

.hero__scroll-line {
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--cimento), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.3); }
}

/* ── SECTIONS COMMON ─────────────────────────────────────── */
.section {
    padding: var(--space-3xl) 0;
}

.section--dark  { background: var(--bg-dark);    color: var(--text-light); }
.section--bone  { background: var(--bg-light);   color: var(--text-dark);  }
.section--cal   { background: var(--bg-lighter); color: var(--text-dark);  }

.section__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-2xl);
}

.section__header--light { color: var(--cal); }
.section__header--light .section__lead { color: var(--osso); opacity: 0.8; }

.section__tag {
    display: inline-block;
    color: var(--accent);
    margin-bottom: var(--space-sm);
    font-size: 0.7rem;
}

.section__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.section__lead {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--muted);
}

/* ── VALUE CARDS ─────────────────────────────────────────── */
.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-lg);
}

.value-card {
    padding: var(--space-lg) var(--space-md);
    border: 1px solid rgba(20, 18, 15, 0.08);
    background: var(--cal);
    transition: transform var(--duration) var(--ease-out),
                box-shadow var(--duration) var(--ease-out);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(20, 18, 15, 0.08);
}

.value-card__number {
    display: block;
    font-size: 0.7rem;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.value-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
    letter-spacing: -0.01em;
}

.value-card__text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--muted);
}

/* ── STEPS (Personalização) ──────────────────────────────── */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-md);
}

.step {
    padding: var(--space-lg) var(--space-md);
    border: 1px solid rgba(237, 231, 218, 0.08);
    transition: border-color var(--duration);
    position: relative;
}

.step:hover { border-color: var(--accent); }

.step__icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.step__number {
    display: block;
    font-size: 0.65rem;
    color: var(--cimento);
    margin-bottom: var(--space-xs);
}

.step__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--cal);
    margin-bottom: var(--space-xs);
}

.step__text {
    font-size: 0.9rem;
    color: var(--cimento);
    line-height: 1.5;
}

/* ── PIPELINE ────────────────────────────────────────────── */
.pipeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.pipeline__stage {
    text-align: center;
    flex: 0 1 160px;
}

.pipeline__visual {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-sm);
    color: var(--carvao);
    border: 2px solid var(--carvao);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration) var(--ease-out);
}

.pipeline__stage:hover .pipeline__visual {
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.05);
}

.pipeline__visual svg { width: 40px; height: 40px; }

.pipeline__label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--carvao);
    margin-bottom: 4px;
}

.pipeline__desc {
    font-size: 0.85rem;
    color: var(--muted);
}

.pipeline__arrow {
    font-size: 1.5rem;
    color: var(--cimento);
    padding-top: 28px;
    user-select: none;
}

.pipeline__detail {
    text-align: center;
    margin-top: var(--space-2xl);
    padding: var(--space-md);
    border-top: 1px solid rgba(20, 18, 15, 0.1);
    border-bottom: 1px solid rgba(20, 18, 15, 0.1);
    color: var(--muted);
}

.pipeline__detail .mono {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
}

/* ── EDITORIAL ───────────────────────────────────────────── */
.editorial {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.editorial__bg {
    position: absolute;
    inset: 0;
    background: url('assets/kura-brave/campaign/campaign-vertical.png') center/cover no-repeat;
    background-color: var(--carvao);
}

.editorial__overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 18, 15, 0.75);
}

.editorial__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-3xl) 0;
}

.editorial__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    line-height: 1.08;
    color: var(--cal);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.editorial__title span { display: block; }

.editorial__title--accent { color: var(--accent); }

.editorial__sub {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--osso);
    margin-bottom: var(--space-xl);
    opacity: 0.8;
}

/* ── DETAIL (Close-up) ───────────────────────────────────── */
.detail__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.detail__image {
    overflow: hidden;
    background: var(--carvao);
    aspect-ratio: 1;
}

.detail__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.detail__image:hover img { transform: scale(1.03); }

.detail__text .section__tag { margin-bottom: var(--space-sm); }
.detail__text .section__title { text-align: left; margin-bottom: var(--space-md); }

.detail__text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: var(--space-sm);
}

.detail__specs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.detail__specs span {
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid var(--carvao);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--carvao);
}

/* ── PRODUCTS ────────────────────────────────────────────── */
.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: var(--space-md);
}

.product-card {
    border: 1px solid rgba(237, 231, 218, 0.08);
    overflow: hidden;
    transition: border-color var(--duration);
}

.product-card:hover { border-color: var(--accent); }

.product-card__image {
    aspect-ratio: 1;
    overflow: hidden;
    background: #1a1816;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.product-card:hover .product-card__image img { transform: scale(1.05); }

.product-card__info {
    padding: var(--space-md);
}

.product-card__ref {
    display: block;
    font-size: 0.6rem;
    color: var(--cimento);
    margin-bottom: var(--space-xs);
    letter-spacing: 0.12em;
}

.product-card__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--cal);
    margin-bottom: var(--space-xs);
}

.product-card__desc {
    font-size: 0.85rem;
    color: var(--cimento);
    line-height: 1.5;
}

/* ── SHOWCASE (Costas) ───────────────────────────────────── */
.showcase {
    background: var(--carvao);
    overflow: hidden;
}

.showcase__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

.showcase__image {
    overflow: hidden;
    background: #1a1816;
}

.showcase__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-2xl);
    color: var(--cal);
}

.showcase__text .section__title {
    text-align: left;
    margin-bottom: var(--space-md);
}

.showcase__text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--cimento);
    margin-bottom: var(--space-lg);
    max-width: 420px;
}

/* ── PACKAGING ───────────────────────────────────────────── */
.packaging__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.packaging__item {
    text-align: center;
}

.packaging__item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    margin-bottom: var(--space-sm);
    background: var(--cal);
    transition: transform 0.6s var(--ease-out);
}

.packaging__item:hover img { transform: scale(1.02); }

.packaging__item .mono {
    font-size: 0.65rem;
    color: var(--muted);
    letter-spacing: 0.15em;
}

/* ── PROOF (Personalização Flow) ─────────────────────────── */
.proof__flow {
    max-width: 800px;
    margin: 0 auto var(--space-xl);
}

.proof__step {
    border: 1px solid rgba(237, 231, 218, 0.06);
    margin-bottom: 2px;
    overflow: hidden;
    transition: border-color var(--duration);
}

.proof__step--active,
.proof__step:hover { border-color: rgba(237, 231, 218, 0.15); }

.proof__step-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    cursor: pointer;
}

.proof__step-num {
    font-size: 0.7rem;
    color: var(--accent);
    flex-shrink: 0;
}

.proof__step-header h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--cal);
}

.proof__step-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out), padding 0.3s;
    padding: 0 var(--space-lg);
}

.proof__step--active .proof__step-content {
    max-height: 400px;
    padding: 0 var(--space-lg) var(--space-lg);
}

.proof__mockup {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.proof__tshirt {
    width: 200px;
    flex-shrink: 0;
}

.proof__tshirt svg { width: 100%; }

.proof__options {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.proof__option {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid rgba(237, 231, 218, 0.15);
    color: var(--cimento);
    transition: all var(--duration);
    text-align: left;
}

.proof__option:hover,
.proof__option--active {
    color: var(--cal);
    border-color: var(--accent);
    background: rgba(192, 69, 27, 0.1);
}

.proof__upload { max-width: 400px; }

.proof__dropzone {
    border: 2px dashed rgba(237, 231, 218, 0.15);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--cimento);
    transition: border-color var(--duration);
    cursor: pointer;
}

.proof__dropzone:hover { border-color: var(--accent); }

.proof__formats { font-size: 0.6rem; color: var(--cimento); opacity: 0.6; }

.proof__detail {
    font-size: 0.65rem !important;
    color: var(--cimento);
    letter-spacing: 0.12em;
}

.proof__cta {
    text-align: center;
}

/* ── CAMPAIGN ────────────────────────────────────────────── */
.campaign {
    background: var(--osso);
    overflow: hidden;
}

.campaign__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
}

.campaign__main {
    overflow: hidden;
    background: var(--carvao);
}

.campaign__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.campaign__side {
    display: flex;
    align-items: center;
}

.campaign__text {
    padding: var(--space-2xl);
}

.campaign__text .section__title {
    text-align: left;
    color: var(--carvao);
    margin-bottom: var(--space-md);
}

.campaign__text .mono {
    color: var(--muted);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
}

.campaign__text .section__tag { margin-bottom: var(--space-md); }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
    background: var(--carvao);
    color: var(--osso);
    padding: var(--space-3xl) 0 var(--space-lg);
    border-top: 1px solid rgba(237, 231, 218, 0.06);
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(237, 231, 218, 0.06);
}

.footer__brand { display: flex; flex-direction: column; gap: var(--space-sm); }

.footer__logo {
    width: 60px;
    height: auto;
    border-radius: 4px;
}

.footer__name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--cal);
    letter-spacing: 0.05em;
}

.footer__tagline {
    font-size: 0.9rem;
    color: var(--cimento);
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.footer__heading {
    font-size: 0.65rem;
    color: var(--cimento);
    margin-bottom: var(--space-md);
    letter-spacing: 0.15em;
}

.footer__nav ul { display: flex; flex-direction: column; gap: var(--space-xs); }

.footer__nav a {
    font-size: 0.9rem;
    color: var(--osso);
    opacity: 0.7;
    transition: opacity var(--duration), color var(--duration);
}

.footer__nav a:hover,
.footer__nav a:focus-visible {
    opacity: 1;
    color: var(--cal);
}

.footer__cta-section {
    text-align: center;
    padding: var(--space-2xl) 0;
    border-bottom: 1px solid rgba(237, 231, 218, 0.06);
}

.footer__cta-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--cal);
    margin-bottom: var(--space-lg);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
}

.footer__bottom .mono {
    font-size: 0.6rem;
    color: var(--cimento);
    letter-spacing: 0.1em;
}

/* ── ANIMATIONS ──────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* Stagger effect */
.values .value-card:nth-child(2) { transition-delay: 0.1s; }
.values .value-card:nth-child(3) { transition-delay: 0.2s; }
.values .value-card:nth-child(4) { transition-delay: 0.3s; }
.values .value-card:nth-child(5) { transition-delay: 0.4s; }

.steps .step:nth-child(2) { transition-delay: 0.05s; }
.steps .step:nth-child(3) { transition-delay: 0.1s; }
.steps .step:nth-child(4) { transition-delay: 0.15s; }
.steps .step:nth-child(5) { transition-delay: 0.2s; }
.steps .step:nth-child(6) { transition-delay: 0.25s; }
.steps .step:nth-child(7) { transition-delay: 0.3s; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .header__menu { gap: var(--space-md); }
    .detail__grid { gap: var(--space-xl); }
}

@media (max-width: 768px) {
    :root {
        --container-pad: 1.25rem;
        --space-3xl: 5rem;
        --space-2xl: 3.5rem;
    }

    /* Header mobile */
    .header__nav {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(20, 18, 15, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
        z-index: 998;
    }

    .header__nav.open {
        opacity: 1;
        visibility: visible;
    }

    .header__menu {
        flex-direction: column;
        align-items: center;
        gap: var(--space-xl);
    }

    .header__menu a { font-size: 1rem; }

    .header__cta { display: none; }
    .header__toggle { display: flex; z-index: 999; }

    /* Hero */
    .hero__content { padding-top: 120px; }
    .hero__watermark { width: 80vw; right: -20%; bottom: -5%; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }

    /* Grid fallbacks */
    .detail__grid { grid-template-columns: 1fr; }
    .detail__image { aspect-ratio: 4/3; }
    .showcase__split { grid-template-columns: 1fr; }
    .showcase__image { aspect-ratio: 3/4; max-height: 60vh; }
    .showcase__text { padding: var(--space-xl) var(--container-pad); }
    .campaign__grid { grid-template-columns: 1fr; }
    .campaign__main { aspect-ratio: 3/4; max-height: 70vh; }
    .campaign__text { padding: var(--space-xl) var(--container-pad); }
    .packaging__grid { grid-template-columns: 1fr; gap: var(--space-md); }
    .footer__top { grid-template-columns: 1fr; gap: var(--space-xl); }
    .footer__nav { grid-template-columns: repeat(2, 1fr); }
    .footer__bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }

    /* Pipeline */
    .pipeline { flex-direction: column; align-items: center; }
    .pipeline__arrow { transform: rotate(90deg); padding: 0; }
    .pipeline__stage { flex: none; width: 100%; max-width: 280px; }

    /* Proof */
    .proof__mockup { flex-direction: column; }
    .proof__step-header { padding: var(--space-sm) var(--space-md); }
    .proof__step-content { padding: 0 var(--space-md); }
    .proof__step--active .proof__step-content { padding-bottom: var(--space-md); }

    /* Products */
    .products__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    :root { --space-3xl: 4rem; }
    .hero__line { font-size: clamp(2rem, 10vw, 3rem); }
    .editorial__title { font-size: clamp(1.8rem, 8vw, 3rem); }
    .products__grid { grid-template-columns: 1fr; }
    .footer__nav { grid-template-columns: 1fr; }
    .values { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
}

/* ── Noise Texture Overlay (Subtle grain) ────────────────── */
.hero::after,
.editorial::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    z-index: 1;
}

/* ── Print styles ────────────────────────────────────────── */
@media print {
    .header, .hero__scroll, .btn { display: none; }
    .section { padding: 2rem 0; break-inside: avoid; }
    body { color: #000; background: #fff; }
}
