/* ============================================
   Aquaduo — Onepage Corporate Styles
   Usa variables --aq-navy / --aq-mint / --aq-lavender de frontend.css
   ============================================ */

/* ---- Reset / base onepage ---- */
.op-body {
    background: var(--aq-navy);
    color: var(--aq-white);
    overflow-x: hidden;
}
.op-serif { font-family: 'Inter', sans-serif; font-style: italic; font-weight: 400; }
.op-mint { color: var(--aq-mint); }
.op-navy { color: var(--aq-navy); }

/* ---- Scroll progress bar ---- */
.op-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: var(--aq-mint);
    z-index: 9999;
    transition: width .08s linear;
    pointer-events: none;
}

/* ---- Section base ---- */
.op-section {
    position: relative;
    padding: clamp(80px, 12vw, 160px) 0;
    overflow: hidden;
}
.op-section--navy  { background: var(--aq-navy); color: var(--aq-white); }
.op-section--mint  { background: var(--aq-mint); color: var(--aq-navy); }
.op-section--image { color: var(--aq-white); }

/* Soft transition between navy & mint */
.op-section--navy + .op-section--mint,
.op-section--mint + .op-section--navy {
    position: relative;
}
.op-section--navy + .op-section--mint::before,
.op-section--mint + .op-section--navy::before {
    content: '';
    position: absolute;
    top: -60px; left: 0; right: 0;
    height: 60px;
    pointer-events: none;
}

.op-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    position: relative;
    z-index: 2;
}

/* ---- Typography ---- */
.op-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--aq-mint);
    margin-bottom: 24px;
}
.op-section--mint .op-eyebrow { color: var(--aq-navy); opacity: .6; }

.op-h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin: 0;
}
.op-h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 24px;
}
.op-h3 {
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 12px;
}
.op-lead {
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    line-height: 1.55;
    max-width: 640px;
    opacity: .88;
}
.op-body-text {
    font-size: 1rem;
    line-height: 1.7;
    opacity: .82;
}

/* ---- Hero ---- */
.op-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: var(--aq-navy);
}
.op-hero-waves {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    mix-blend-mode: screen;
}
.op-hero-content { position: relative; z-index: 3; }
.op-logo {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--aq-white);
    display: inline-flex;
    align-items: center;
    line-height: 1;
    margin-bottom: 40px;
}
.op-logo-dot {
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    border-radius: 50%;
    margin-left: 0.05em;
    position: relative;
    overflow: hidden;
}
.op-logo-dot::before,
.op-logo-dot::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
}
.op-logo-dot::before { left: 0; background: var(--aq-white); }
.op-logo-dot::after  { right: 0; background: var(--aq-mint); }

.op-hero-title {
    color: var(--aq-mint);
    max-width: 15ch;
    margin: 0 auto 28px;
}
.op-hero-subtitle {
    color: var(--aq-white);
    opacity: .85;
    max-width: 520px;
    margin: 0 auto;
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.6;
}

.op-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--aq-white);
    opacity: .6;
    font-size: 0.72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    z-index: 3;
}
.op-scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: var(--aq-mint);
    animation: op-scroll-line 2s ease-in-out infinite;
}
@keyframes op-scroll-line {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---- Decorative arcs ---- */
.op-arc {
    position: absolute;
    pointer-events: none;
    opacity: .9;
    will-change: transform;
}
.op-arc svg { display: block; width: 100%; height: 100%; }

/* ---- Pillars (3 columnas) ---- */
.op-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(32px, 4vw, 56px);
    margin-top: 80px;
}
.op-pillar {
    position: relative;
    padding-top: 40px;
}
.op-pillar-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 28px;
}
.op-pillar-title {
    color: var(--aq-mint);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: .02em;
    font-style: italic;
    margin-bottom: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(63, 232, 195, .35);
}
.op-pillar-text {
    font-size: 1rem;
    line-height: 1.65;
    opacity: .82;
}

/* ---- Statement ---- */
.op-statement {
    font-size: clamp(2rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    max-width: 24ch;
}

/* ---- Fullbleed image ---- */
.op-fullbleed {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.op-fullbleed-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    z-index: 0;
    will-change: transform;
    top: -10%;
}
.op-fullbleed::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,26,140,.35) 0%, rgba(10,26,140,.55) 100%);
    z-index: 1;
}
.op-fullbleed-text {
    position: relative;
    z-index: 2;
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--aq-white);
    max-width: 20ch;
}

/* ---- Steps ---- */
.op-steps {
    position: relative;
    max-width: 900px;
    margin: 80px auto 0;
}
.op-steps-line {
    position: absolute;
    top: 0; bottom: 0; left: 80px;
    width: 2px;
    background: rgba(255,255,255,.08);
    overflow: hidden;
}
.op-steps-line::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: var(--op-progress, 0%);
    background: var(--aq-mint);
    transition: height .15s linear;
}
.op-step {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 32px;
    align-items: start;
    padding: 48px 0;
    position: relative;
}
.op-step-num {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--aq-mint);
    line-height: 1;
    letter-spacing: -0.05em;
    position: relative;
}
.op-step-num::before {
    content: '→';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 12px;
    font-size: 0.5em;
    color: var(--aq-mint);
}
.op-step-content h3 {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.op-step-content p {
    font-size: 1rem;
    line-height: 1.65;
    opacity: .82;
    max-width: 560px;
}

/* ---- Multiplier (3 blocks on mint) ---- */
.op-multi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(24px, 3vw, 40px);
    margin-top: 72px;
}
.op-multi-card {
    position: relative;
    padding-top: 24px;
    border-top: 2px solid var(--aq-navy);
}
.op-multi-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.op-multi-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    opacity: .78;
}

/* ---- Timeline (bottle journey) ---- */
.op-timeline {
    margin-top: 72px;
    position: relative;
}
.op-timeline-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.op-timeline-track::before {
    content: '';
    position: absolute;
    left: 5%; right: 5%;
    top: 32px;
    height: 2px;
    background: rgba(255,255,255,.1);
}
.op-timeline-track::after {
    content: '';
    position: absolute;
    left: 5%;
    top: 32px;
    width: var(--op-timeline-progress, 0%);
    max-width: 90%;
    height: 2px;
    background: var(--aq-mint);
    transition: width .15s linear;
}
.op-timeline-step {
    position: relative;
    text-align: center;
}
.op-timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--aq-navy);
    border: 2px solid var(--aq-mint);
    margin: 24px auto 16px;
    position: relative;
    z-index: 2;
}
.op-timeline-step h5 {
    font-size: 0.82rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--aq-mint);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.op-timeline-step p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    opacity: .75;
}

/* ---- Commitment ---- */
.op-commit {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.op-commit-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    z-index: 0;
    top: -10%;
    will-change: transform;
}
.op-commit::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,26,140,.85) 0%, rgba(10,26,140,.55) 60%, rgba(10,26,140,.35) 100%);
    z-index: 1;
}
.op-commit-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}
.op-commit-percent {
    font-size: clamp(6rem, 14vw, 11rem);
    font-weight: 800;
    color: var(--aq-mint);
    line-height: 1;
    letter-spacing: -0.06em;
    margin: 32px 0 24px;
}
.op-commit-list {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px 32px;
}
.op-commit-list li {
    position: relative;
    padding-left: 28px;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: .88;
}
.op-commit-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 9px;
    width: 14px; height: 2px;
    background: var(--aq-mint);
}

/* ---- CTA ---- */
.op-cta {
    text-align: center;
    padding: clamp(100px, 15vw, 200px) 0;
}
.op-cta-logo { margin-bottom: 48px; }
.op-cta-title {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(4rem, 12vw, 9rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--aq-white);
    margin: 0 0 16px;
}
.op-cta-title .op-cta-punct { color: var(--aq-mint); }
.op-cta-sub {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    opacity: .78;
    max-width: 480px;
    margin: 0 auto 48px;
}
.op-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--aq-mint);
    color: var(--aq-navy) !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 18px 40px;
    border-radius: 999px;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s;
    position: relative;
    will-change: transform;
}
.op-cta-btn:hover {
    box-shadow: 0 12px 40px rgba(63, 232, 195, .35);
    color: var(--aq-navy-deep) !important;
}
.op-cta-btn svg { transition: transform .25s; }
.op-cta-btn:hover svg { transform: translateX(4px); }

/* ---- Reveal on scroll ---- */
.op-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1);
    will-change: opacity, transform;
}
.op-reveal.is-visible { opacity: 1; transform: translateY(0); }

.op-reveal-words > span {
    display: inline-block;
    opacity: 0;
    transform: translateY(.5em);
    transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.op-reveal-words.is-visible > span {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Decorative floating arcs ---- */
.op-floats { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.op-float {
    position: absolute;
    will-change: transform;
    animation: op-spin 60s linear infinite;
    transform-origin: center;
}
.op-float--slow { animation-duration: 120s; }
.op-float--reverse { animation-direction: reverse; }
@keyframes op-spin { to { transform: rotate(360deg); } }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .op-step {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 36px 0;
    }
    .op-steps-line { display: none; }
    .op-step-num::before { display: none; }
    .op-commit-percent { font-size: clamp(4rem, 20vw, 7rem); }
    .op-timeline-track {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .op-timeline-track::before,
    .op-timeline-track::after { display: none; }
    .op-timeline-dot { margin-top: 0; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    .op-reveal,
    .op-reveal-words > span {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .op-float,
    .op-scroll-indicator::after { animation: none !important; }
    .op-progress { transition: none !important; }
    html { scroll-behavior: auto !important; }
}

html { scroll-behavior: smooth; }
