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

:root {
    --bg-dark: #050508;
    --bg-card: rgba(20, 20, 28, 0.7);
    --bg-card-solid: #14141c;
    --bg-info: rgba(15, 25, 45, 0.8);
    --gold: #e8c547;
    --gold-light: #f5d76e;
    --gold-dark: #c9a227;
    --gold-glow: rgba(232, 197, 71, 0.4);
    --text-white: #fafafa;
    --text-gray: #a0a0b0;
    --text-muted: #6b6b7b;
    --warning-red: #ff5c5c;
    --success-green: #00e676;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-gold: rgba(232, 197, 71, 0.25);
}

body {
    font-family: 'Outfit', -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Animated Backgrounds */
.hero-bg, .order-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-bg {
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(232, 197, 71, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(100, 80, 200, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(232, 197, 71, 0.06) 0%, transparent 40%);
}

.order-bg {
    background: 
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(232, 197, 71, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 90% 80%, rgba(232, 197, 71, 0.05) 0%, transparent 40%);
}

/* Header */
.header {
    position: relative;
    z-index: 10;
    background: rgba(5, 5, 8, 0.8);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo,
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-white);
}

.logo-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-white);
}

.logo:hover .logo-name {
    color: var(--gold-light);
}

.logo-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
    transition: filter 0.3s ease;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 12px var(--gold-glow));
}

.logo-circle {
    width: 72px;
    height: 72px;
    border: 2px solid var(--border-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, rgba(232, 197, 71, 0.08) 0%, transparent 70%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover .logo-circle {
    border-color: var(--gold);
    box-shadow: 0 0 30px var(--gold-glow);
}

.logo-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-top {
    font-size: 9px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
    opacity: 0.9;
}

.logo-center {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin: 2px 0;
}

.logo-bottom {
    font-size: 9px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
    opacity: 0.9;
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: lowercase;
}

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

.btn-nav {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    color: #0a0a0c !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(232, 197, 71, 0.25);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 197, 71, 0.4);
}

/* Header profissional (estilo referência) */
.header-pro {
    padding: 16px 0;
}
.header-pro-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-center .nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    text-transform: lowercase;
}
.nav-center .nav-link:hover {
    color: var(--gold);
    background: rgba(232, 197, 71, 0.06);
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-right .nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    text-transform: lowercase;
}
.nav-right .nav-link:hover {
    color: var(--gold);
    background: rgba(232, 197, 71, 0.06);
}
.nav-link-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.nav-link-icon .nav-icon {
    flex-shrink: 0;
    opacity: 0.9;
}
.btn-nav-pro {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    text-transform: lowercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.btn-nav-pro .btn-nav-icon {
    flex-shrink: 0;
}

/* Minha conta dropdown no header */
.nav-user-wrap {
    position: relative;
    display: inline-block;
}
.nav-user-wrap::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
}
.nav-user-trigger {
    border: none;
    background: transparent;
    cursor: pointer;
    color: inherit;
    font: inherit;
    padding: 8px 12px;
    border-radius: 8px;
}
.nav-user-trigger:hover {
    color: var(--gold);
    background: rgba(232, 197, 71, 0.06);
}
.nav-user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 2px;
    min-width: 180px;
    background: var(--bg-card-solid);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    padding: 8px 0;
    z-index: 1000;
}
.nav-user-dropdown[hidden] {
    display: none !important;
}
.nav-user-dropdown-item {
    display: block;
    width: 100%;
    padding: 10px 16px;
    text-align: left;
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}
.nav-user-dropdown-item:hover {
    background: rgba(232, 197, 71, 0.1);
    color: var(--gold);
}
.nav-user-sair {
    border-top: 1px solid var(--border-subtle);
    margin-top: 4px;
    padding-top: 12px;
}

@media (max-width: 900px) {
    .nav-center {
        position: static;
        transform: none;
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid var(--border-subtle);
    }
    .header-pro-inner {
        flex-wrap: wrap;
    }
    .nav-right .nav-link-icon span {
        display: none;
    }
    .nav-right .nav-link-icon {
        padding: 10px;
    }
}

/* Landing Page */
.main-landing {
    position: relative;
    z-index: 1;
    flex: 1;
    padding: 80px 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(232, 197, 71, 0.12);
    border: 1px solid var(--border-gold);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
}

.hero-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 8px;
    line-height: 1.7;
    font-weight: 400;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #0a0a0c;
    padding: 18px 40px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    margin-top: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 25px rgba(232, 197, 71, 0.35);
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(232, 197, 71, 0.5);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Sobre (#sobre) */
.sobre-section {
    position: relative;
    z-index: 1;
    padding: 64px 0 80px;
    border-top: 1px solid var(--border-subtle);
    scroll-margin-top: 100px;
}

.sobre-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.sobre-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
    margin-top: 32px;
    margin-bottom: 12px;
}

.sobre-content {
    max-width: 720px;
}

.sobre-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.sobre-list {
    margin: 12px 0 20px 24px;
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 16px;
}

.sobre-list li {
    margin-bottom: 8px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Order Page */
.main-order {
    position: relative;
    z-index: 1;
    flex: 1;
    padding: 60px 0 80px;
}

.main-order .container {
    position: relative;
}

.order-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    margin-top: 40px;
    align-items: start;
}

.panel {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    border-radius: 24px;
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.4s ease;
}

.pedido-panel {
    display: flex;
    flex-direction: column;
}

.panel:hover {
    border-color: var(--border-gold);
}

.panel-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.02em;
}

.panel-icon {
    font-size: 22px;
    opacity: 0.9;
}

/* Platform Selection */
.platform-selection {
    display: flex;
    gap: 18px;
    margin-bottom: 32px;
}

.platform-btn {
    position: relative;
    flex: 1;
    background: #050508;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
    color: var(--text-white);
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 14px;
}

.platform-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(232, 197, 71, 0.4);
    background: #0a0a0d;
}

.platform-btn:active {
    transform: translateY(0) scale(0.98);
}

.platform-btn.active {
    background: linear-gradient(180deg, rgba(232, 197, 71, 0.04) 0%, transparent 50%);
    border-color: var(--gold);
    box-shadow: 0 0 0 1px rgba(232, 197, 71, 0.08), 0 0 8px rgba(232, 197, 71, 0.06);
}

.platform-btn.active:hover {
    box-shadow: 0 0 0 1px rgba(232, 197, 71, 0.1), 0 0 10px rgba(232, 197, 71, 0.08);
}

.platform-btn-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(232, 197, 71, 0.2);
    color: var(--gold);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.platform-btn.active .platform-btn-check {
    opacity: 1;
    transform: scale(1);
}

.platform-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background: #050508;
    border-radius: 10px;
}

.platform-btn-icon svg,
.platform-btn-icon img {
    width: 44px;
    height: 44px;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}

.platform-btn-icon svg {
    flex-shrink: 0;
}

.platform-btn-icon img.ps-logo-img {
    filter: invert(1);
}

/* Quantity Input */
.quantity-input-group {
    margin-bottom: 32px;
}

.input-wrapper {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.quantity-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 18px 20px;
    color: var(--text-white);
    font-size: 17px;
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
}

.quantity-input:focus {
    border-color: var(--gold);
    background: rgba(232, 197, 71, 0.05);
    box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.15);
}

.quantity-input::placeholder {
    color: var(--text-muted);
}

.cupom-row {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}
.cupom-row .quantity-input {
    flex: 1;
    min-width: 0;
}
.btn-cupom-aplicar {
    flex-shrink: 0;
    width: auto;
    min-width: 90px;
    max-width: 120px;
    white-space: nowrap;
    padding: 12px 18px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #0a0a0c;
    box-shadow: 0 2px 10px rgba(232, 197, 71, 0.3);
}
.btn-cupom-aplicar:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(232, 197, 71, 0.45);
}
.btn-cupom-aplicar:active {
    transform: translateY(0);
}

.unit-btn {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border: none;
    border-radius: 14px;
    padding: 18px 28px;
    color: #0a0a0c;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.unit-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(232, 197, 71, 0.4);
}

.warning-text {
    color: var(--warning-red);
    font-size: 13px;
    font-weight: 500;
    margin-top: 8px;
}

.quantity-validation-hint {
    color: var(--warning-red);
    font-size: 13px;
    font-weight: 500;
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 1.5;
    white-space: pre-line;
}

.quantity-helper {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    margin-bottom: 0;
    line-height: 1.4;
}

.btn-contact {
    width: 100%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border: none;
    border-radius: 16px;
    padding: 24px 28px;
    color: #0a0a0c;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 32px;
    box-shadow: 0 4px 24px rgba(232, 197, 71, 0.35);
}

.btn-contact:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(232, 197, 71, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    margin-top: 12px;
    border: 2px solid var(--border-gold);
}

.btn-secondary:hover {
    background: rgba(232, 197, 71, 0.2);
}

.info-box {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin-top: 0;
}

.info-box summary {
    padding: 16px 20px;
    color: var(--text-gray);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.info-box summary::-webkit-details-marker { display: none; }

.info-box summary::after {
    content: '+';
    font-size: 18px;
    font-weight: 400;
    opacity: 0.6;
}

.info-box[open] summary::after {
    content: '−';
}

.info-box .info-box-inner {
    padding: 16px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.info-box .info-box-inner p {
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 10px;
    font-weight: 400;
}

.info-box .info-box-inner p:last-child {
    margin-bottom: 0;
}

.info-box strong {
    color: var(--text-white);
}

.resumo-panel {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, var(--bg-card) 30%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.summary-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.total-value {
    color: var(--success-green);
    font-weight: 800;
    font-size: 36px;
    letter-spacing: -0.02em;
    text-shadow: 0 0 30px rgba(0, 230, 118, 0.3);
    transition: transform 0.15s ease;
}

.payment-icons {
    display: flex;
    gap: 28px;
    justify-content: center;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.payment-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 24px;
    opacity: 0.7;
}

.payment-icon span {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer {
    position: relative;
    z-index: 10;
    background: rgba(5, 5, 8, 0.9);
    padding: 24px 0;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    margin-top: auto;
    backdrop-filter: blur(20px);
}

.footer p {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 400;
}

.footer a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

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

@media (max-width: 968px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .order-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* header-pro: manter logo + menu + CTAs numa linha (foco telemóvel) */
    .header-pro .container {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
    }
    .header:not(.header-pro) .container {
        flex-direction: column;
        gap: 24px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .hero-content {
        margin-bottom: 60px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .platform-selection {
        flex-direction: column;
    }

    .input-wrapper {
        flex-direction: column;
    }

    .unit-btn {
        width: 100%;
    }

    .panel {
        padding: 28px;
    }

    .pedido-panel .info-box {
        order: 3;
        margin-top: 0;
        margin-bottom: 24px;
    }
    .pedido-panel .btn-contact {
        order: 4;
    }

    .main-landing {
        padding: 60px 0 80px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .btn-primary {
        padding: 16px 32px;
        font-size: 16px;
    }

    .feature-card {
        padding: 24px;
    }

    .panel {
        padding: 24px;
        border-radius: 20px;
    }
}

/* Acessibilidade: foco visível em elementos interativos */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.35);
}

a:focus {
    outline: none;
}

.btn-primary:disabled,
.btn-nav:disabled,
.btn-nav-pro:disabled,
.auth-form .btn-submit:disabled,
.btn-google:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    filter: grayscale(0.1);
}

/* Botão flutuante WhatsApp (suporte) */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9998;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
    color: #fff;
}
.whatsapp-float:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}
@media (max-width: 480px) {
    .whatsapp-float {
        bottom: max(20px, env(safe-area-inset-bottom, 0px));
        right: max(20px, env(safe-area-inset-right, 0px));
        width: 52px;
        height: 52px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

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

:root {
    --bg-dark: #050508;
    --bg-card: rgba(20, 20, 28, 0.7);
    --bg-card-solid: #14141c;
    --bg-info: rgba(15, 25, 45, 0.8);
    --gold: #e8c547;
    --gold-light: #f5d76e;
    --gold-dark: #c9a227;
    --gold-glow: rgba(232, 197, 71, 0.4);
    --text-white: #fafafa;
    --text-gray: #a0a0b0;
    --text-muted: #6b6b7b;
    --warning-red: #ff5c5c;
    --success-green: #00e676;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-gold: rgba(232, 197, 71, 0.25);
}

body {
    font-family: 'Outfit', -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Animated Backgrounds */
.hero-bg, .order-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-bg {
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(232, 197, 71, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(100, 80, 200, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(232, 197, 71, 0.06) 0%, transparent 40%);
}

.order-bg {
    background: 
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(232, 197, 71, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 90% 80%, rgba(232, 197, 71, 0.05) 0%, transparent 40%);
}

/* Header */
.header {
    position: relative;
    z-index: 10;
    background: rgba(5, 5, 8, 0.8);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo,
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-white);
}

.logo-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-white);
}

.logo:hover .logo-name {
    color: var(--gold-light);
}

.logo-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
    transition: filter 0.3s ease;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 12px var(--gold-glow));
}

.logo-circle {
    width: 72px;
    height: 72px;
    border: 2px solid var(--border-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, rgba(232, 197, 71, 0.08) 0%, transparent 70%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover .logo-circle {
    border-color: var(--gold);
    box-shadow: 0 0 30px var(--gold-glow);
}

.logo-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-top {
    font-size: 9px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
    opacity: 0.9;
}

.logo-center {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin: 2px 0;
}

.logo-bottom {
    font-size: 9px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
    opacity: 0.9;
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: lowercase;
}

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

.btn-nav {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    color: #0a0a0c !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(232, 197, 71, 0.25);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 197, 71, 0.4);
}

/* Header profissional (estilo referência) */
.header-pro {
    padding: 16px 0;
}
.header-pro-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-center .nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    text-transform: lowercase;
}
.nav-center .nav-link:hover {
    color: var(--gold);
    background: rgba(232, 197, 71, 0.06);
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-right .nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    text-transform: lowercase;
}
.nav-right .nav-link:hover {
    color: var(--gold);
    background: rgba(232, 197, 71, 0.06);
}
.nav-link-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.nav-link-icon .nav-icon {
    flex-shrink: 0;
    opacity: 0.9;
}
.btn-nav-pro {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    text-transform: lowercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.btn-nav-pro .btn-nav-icon {
    flex-shrink: 0;
}

/* Minha conta dropdown no header */
.nav-user-wrap {
    position: relative;
    display: inline-block;
}
/* Ponte invisível entre o botão e o dropdown para o hover não cortar ao mover o rato */
.nav-user-wrap::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
}
.nav-user-trigger {
    border: none;
    background: transparent;
    cursor: pointer;
    color: inherit;
    font: inherit;
    padding: 8px 12px;
    border-radius: 8px;
}
.nav-user-trigger:hover {
    color: var(--gold);
    background: rgba(232, 197, 71, 0.06);
}
.nav-user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 2px;
    min-width: 180px;
    background: var(--bg-card-solid);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    padding: 8px 0;
    z-index: 1000;
}
.nav-user-dropdown[hidden] {
    display: none !important;
}
.nav-user-dropdown-item {
    display: block;
    width: 100%;
    padding: 10px 16px;
    text-align: left;
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}
.nav-user-dropdown-item:hover {
    background: rgba(232, 197, 71, 0.1);
    color: var(--gold);
}
.nav-user-sair {
    border-top: 1px solid var(--border-subtle);
    margin-top: 4px;
    padding-top: 12px;
}

@media (max-width: 900px) {
    .nav-center {
        position: static;
        transform: none;
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid var(--border-subtle);
    }
    .header-pro-inner {
        flex-wrap: wrap;
    }
    .nav-right .nav-link-icon span {
        display: none;
    }
    .nav-right .nav-link-icon {
        padding: 10px;
    }
}

/* Landing Page */
.main-landing {
    position: relative;
    z-index: 1;
    flex: 1;
    padding: 80px 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(232, 197, 71, 0.12);
    border: 1px solid var(--border-gold);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
}

.hero-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 8px;
    line-height: 1.7;
    font-weight: 400;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #0a0a0c;
    padding: 18px 40px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    margin-top: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 25px rgba(232, 197, 71, 0.35);
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(232, 197, 71, 0.5);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Sobre (#sobre) */
.sobre-section {
    position: relative;
    z-index: 1;
    padding: 64px 0 80px;
    border-top: 1px solid var(--border-subtle);
    scroll-margin-top: 100px;
}

.sobre-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.sobre-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
    margin-top: 32px;
    margin-bottom: 12px;
}

.sobre-content {
    max-width: 720px;
}

.sobre-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.sobre-list {
    margin: 12px 0 20px 24px;
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 16px;
}

.sobre-list li {
    margin-bottom: 8px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Order Page */
.main-order {
    position: relative;
    z-index: 1;
    flex: 1;
    padding: 60px 0 80px;
}

.main-order .container {
    position: relative;
}

.order-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    margin-top: 40px;
    align-items: start;
}

.panel {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    border-radius: 24px;
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.4s ease;
}

.pedido-panel {
    display: flex;
    flex-direction: column;
}

.panel:hover {
    border-color: var(--border-gold);
}

.panel-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.02em;
}

.panel-icon {
    font-size: 22px;
    opacity: 0.9;
}

/* Platform Selection */
.platform-selection {
    display: flex;
    gap: 18px;
    margin-bottom: 32px;
}

.platform-btn {
    position: relative;
    flex: 1;
    background: #050508;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
    color: var(--text-white);
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 14px;
}

.platform-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(232, 197, 71, 0.4);
    background: #0a0a0d;
}

.platform-btn:active {
    transform: translateY(0) scale(0.98);
}

.platform-btn.active {
    background: linear-gradient(180deg, rgba(232, 197, 71, 0.04) 0%, transparent 50%);
    border-color: var(--gold);
    box-shadow: 0 0 0 1px rgba(232, 197, 71, 0.08), 0 0 8px rgba(232, 197, 71, 0.06);
}

.platform-btn.active:hover {
    box-shadow: 0 0 0 1px rgba(232, 197, 71, 0.1), 0 0 10px rgba(232, 197, 71, 0.08);
}

/* Check de seleção (discreto no canto) */
.platform-btn-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(232, 197, 71, 0.2);
    color: var(--gold);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.platform-btn.active .platform-btn-check {
    opacity: 1;
    transform: scale(1);
}

.platform-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background: #050508;
    border-radius: 10px;
}

.platform-btn-icon svg,
.platform-btn-icon img {
    width: 44px;
    height: 44px;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}

.platform-btn-icon svg {
    flex-shrink: 0;
}

/* Logo PS (preto no ficheiro) → branco no tema escuro */
.platform-btn-icon img.ps-logo-img {
    filter: invert(1);
}

/* Quantity Input */
.quantity-input-group {
    margin-bottom: 32px;
}

.input-wrapper {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.quantity-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 18px 20px;
    color: var(--text-white);
    font-size: 17px;
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
}

.quantity-input:focus {
    border-color: var(--gold);
    background: rgba(232, 197, 71, 0.05);
    box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.15);
}

.quantity-input::placeholder {
    color: var(--text-muted);
}

/* Linha cupom: input + botão compacto ao lado */
.cupom-row {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}
.cupom-row .quantity-input {
    flex: 1;
    min-width: 0;
}
/* Botão Aplicar cupom: estilo próprio, compacto (não usa .btn-contact) */
.btn-cupom-aplicar {
    flex-shrink: 0;
    width: auto;
    min-width: 90px;
    max-width: 120px;
    white-space: nowrap;
    padding: 12px 18px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #0a0a0c;
    box-shadow: 0 2px 10px rgba(232, 197, 71, 0.3);
}
.btn-cupom-aplicar:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(232, 197, 71, 0.45);
}
.btn-cupom-aplicar:active {
    transform: translateY(0);
}

.unit-btn {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border: none;
    border-radius: 14px;
    padding: 18px 28px;
    color: #0a0a0c;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.unit-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(232, 197, 71, 0.4);
}

.warning-text {
    color: var(--warning-red);
    font-size: 13px;
    font-weight: 500;
    margin-top: 8px;
}

.quantity-validation-hint {
    color: var(--warning-red);
    font-size: 13px;
    font-weight: 500;
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 1.5;
    white-space: pre-line;
}

.quantity-helper {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    margin-bottom: 0;
    line-height: 1.4;
}

.btn-contact {
    width: 100%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border: none;
    border-radius: 16px;
    padding: 24px 28px;
    color: #0a0a0c;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 32px;
    box-shadow: 0 4px 24px rgba(232, 197, 71, 0.35);
}

.btn-contact:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(232, 197, 71, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    margin-top: 12px;
    border: 2px solid var(--border-gold);
}

.btn-secondary:hover {
    background: rgba(232, 197, 71, 0.2);
}

/* Info Box (discreto e colapsável) */
.info-box {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin-top: 0;
}

.info-box summary {
    padding: 16px 20px;
    color: var(--text-gray);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.info-box summary::-webkit-details-marker { display: none; }

.info-box summary::after {
    content: '+';
    font-size: 18px;
    font-weight: 400;
    opacity: 0.6;
}

.info-box[open] summary::after {
    content: '−';
}

.info-box .info-box-inner {
    padding: 16px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.info-box .info-box-inner p {
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 10px;
    font-weight: 400;
}

.info-box .info-box-inner p:last-child {
    margin-bottom: 0;
}

.info-box strong {
    color: var(--text-white);
}

/* Summary Panel */
.resumo-panel {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, var(--bg-card) 30%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.summary-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.total-value {
    color: var(--success-green);
    font-weight: 800;
    font-size: 36px;
    letter-spacing: -0.02em;
    text-shadow: 0 0 30px rgba(0, 230, 118, 0.3);
    transition: transform 0.15s ease;
}

.payment-icons {
    display: flex;
    gap: 28px;
    justify-content: center;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.payment-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 24px;
    opacity: 0.7;
}

.payment-icon span {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Footer */
.footer {
    position: relative;
    z-index: 10;
    background: rgba(5, 5, 8, 0.9);
    padding: 24px 0;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    margin-top: auto;
    backdrop-filter: blur(20px);
}

.footer p {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 400;
}

.footer a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Responsive */
@media (max-width: 968px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .order-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* header-pro: manter logo + menu + CTAs numa linha (foco telemóvel) */
    .header-pro .container {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
    }
    .header:not(.header-pro) .container {
        flex-direction: column;
        gap: 24px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .hero-content {
        margin-bottom: 60px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .platform-selection {
        flex-direction: column;
    }

    .input-wrapper {
        flex-direction: column;
    }

    .unit-btn {
        width: 100%;
    }

    .panel {
        padding: 28px;
    }

    /* No mobile: "Prezado Cliente" aparece antes do botão para ficar visível */
    .pedido-panel .info-box {
        order: 3;
        margin-top: 0;
        margin-bottom: 24px;
    }
    .pedido-panel .btn-contact {
        order: 4;
    }

    .main-landing {
        padding: 60px 0 80px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .btn-primary {
        padding: 16px 32px;
        font-size: 16px;
    }

    .feature-card {
        padding: 24px;
    }

    .panel {
        padding: 24px;
        border-radius: 20px;
    }
}

/* Acessibilidade: foco visível em elementos interativos */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.35);
}

/* Não remover completamente o outline em hover/focus */
a:focus {
    outline: none;
}

/* Estados desativados mais claros em botões principais */
.btn-primary:disabled,
.btn-nav:disabled,
.btn-nav-pro:disabled,
.auth-form .btn-submit:disabled,
.btn-google:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    filter: grayscale(0.1);
}

/* Botão flutuante WhatsApp (suporte) */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9998;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
    color: #fff;
}
.whatsapp-float:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}
@media (max-width: 480px) {
    .whatsapp-float {
        bottom: max(20px, env(safe-area-inset-bottom, 0px));
        right: max(20px, env(safe-area-inset-right, 0px));
        width: 52px;
        height: 52px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* Site nav: Sniper mega-menu + hamburger (append to styles.css) */
.header.header-pro {
    overflow: visible;
}
.header-pro-inner {
    position: relative;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
}
.header-pro-inner .logo {
    flex-shrink: 0;
    z-index: 2;
}

.site-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    color: var(--text-white);
    z-index: 2001;
    transition: background 0.2s, border-color 0.2s;
}
.site-nav-toggle:hover {
    background: rgba(232, 197, 71, 0.1);
    border-color: rgba(232, 197, 71, 0.35);
}
.site-nav-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 1px;
    background: var(--text-white);
    transition: transform 0.25s ease, opacity 0.2s;
}
body.site-nav-open .site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
body.site-nav-open .site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bar:nth-child(2) {
    opacity: 0;
}
body.site-nav-open .site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px 20px;
    flex-wrap: wrap;
    z-index: 5;
    max-width: min(720px, calc(100vw - 360px));
}

.nav-dropdown--sniper {
    position: relative;
    display: none !important;
}
.nav-dropdown--sniper.ffc-sniper-nav--visible {
    display: block !important;
}
.nav-dropdown--sniper::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
}
.nav-dropdown__trigger--desktop {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    color: var(--gold);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: lowercase;
    padding: 10px 16px;
    border-radius: 10px;
    position: relative;
    transition: color 0.2s, background 0.2s;
}
.nav-dropdown__trigger--desktop::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 6px;
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0);
    transition: transform 0.28s ease;
}
.nav-dropdown--sniper:hover .nav-dropdown__trigger--desktop::after,
.nav-dropdown--sniper:focus-within .nav-dropdown__trigger--desktop::after,
.nav-dropdown__trigger--desktop:hover::after,
.nav-dropdown__trigger--desktop.is-active::after {
    transform: scaleX(1);
}
.nav-dropdown__trigger--desktop:hover,
.nav-dropdown__trigger--desktop:focus-visible {
    background: rgba(232, 197, 71, 0.12);
    outline: none;
}
.nav-dropdown__trigger--desktop.is-active {
    color: var(--gold-light);
    text-shadow: 0 0 24px rgba(232, 197, 71, 0.35);
}
.nav-dropdown__caret {
    flex-shrink: 0;
    opacity: 0.85;
    transition: transform 0.25s ease;
}
.nav-dropdown--sniper:hover .nav-dropdown__caret,
.nav-dropdown--sniper:focus-within .nav-dropdown__caret {
    transform: rotate(180deg);
}

.nav-mobile-section-label {
    display: none;
    width: 100%;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 8px 0;
    padding-left: 2px;
}

.nav-dropdown__panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 560px;
    max-width: calc(100vw - 48px);
    padding: 16px;
    background: linear-gradient(165deg, rgba(22, 22, 30, 0.98), rgba(10, 10, 14, 0.99));
    border: 1px solid rgba(232, 197, 71, 0.2);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 2100;
}
@media (min-width: 901px) {
    .nav-dropdown--sniper:hover .nav-dropdown__panel,
    .nav-dropdown--sniper:focus-within .nav-dropdown__panel,
    .nav-dropdown--sniper.nav-dropdown--open-mobile .nav-dropdown__panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
}

.nav-sniper-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.nav-sniper-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 12px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.25);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.nav-sniper-group:hover {
    border-color: rgba(232, 197, 71, 0.28);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.nav-sniper-group.is-active {
    border-color: rgba(232, 197, 71, 0.45);
    background: rgba(232, 197, 71, 0.08);
    box-shadow: 0 0 0 1px rgba(232, 197, 71, 0.15);
}
.nav-sniper-group__head {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-sniper-group__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(232, 197, 71, 0.1);
    border: 1px solid rgba(232, 197, 71, 0.22);
    color: var(--gold);
    flex-shrink: 0;
}
.nav-sniper-group__title {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.nav-sniper-group__desc {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-muted);
    flex: 1;
}
.nav-sniper-group__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.nav-sniper-group__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    text-transform: lowercase;
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav-sniper-group__link:hover {
    background: rgba(232, 197, 71, 0.15);
    border-color: rgba(232, 197, 71, 0.35);
    color: var(--gold-light);
}

.nav-sniper-area-extras {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.nav-sniper-area-extras__label {
    width: 100%;
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}
.nav-sniper-area-extras__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    text-transform: lowercase;
    color: var(--text-white);
    background: rgba(232, 197, 71, 0.1);
    border: 1px solid rgba(232, 197, 71, 0.28);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav-sniper-area-extras__link:hover,
.nav-sniper-area-extras__link:focus-visible {
    background: rgba(232, 197, 71, 0.18);
    border-color: rgba(232, 197, 71, 0.45);
    color: var(--gold-light);
}
.nav-sniper-area-extras__link.is-active {
    color: var(--gold);
    border-color: rgba(232, 197, 71, 0.55);
    background: rgba(232, 197, 71, 0.14);
}

.nav-institutional {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    border-left: none;
}
.site-nav:has(.nav-dropdown--sniper.ffc-sniper-nav--visible) .nav-institutional {
    padding: 0 0 0 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-institutional .nav-link--muted {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    text-transform: lowercase;
    position: relative;
    transition: color 0.2s, background 0.2s;
}
.nav-institutional .nav-link--muted::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 4px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.25s ease;
    opacity: 0.7;
}
.nav-institutional .nav-link--muted:hover,
.nav-institutional .nav-link--muted:focus-visible {
    color: var(--text-gray);
    background: rgba(255, 255, 255, 0.04);
}
.nav-institutional .nav-link--muted:hover::after,
.nav-institutional .nav-link--muted:focus-visible::after {
    transform: scaleX(1);
}
.nav-institutional .nav-link--muted.is-active {
    color: var(--gold);
    font-weight: 600;
}
.nav-institutional .nav-link--muted.is-active::after {
    transform: scaleX(1);
}

@media (max-width: 900px) {
    .site-nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }
    .header-pro-inner .nav.nav-right {
        flex-shrink: 0;
    }
    .site-nav {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        max-width: none;
        transform: none;
        margin: 0;
        padding: calc(88px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) max(32px, env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 24px;
        background: rgba(5, 5, 8, 0.97);
        backdrop-filter: blur(16px);
        overflow-y: auto;
        z-index: 1999;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.28s ease, visibility 0.28s;
    }
    .site-nav.site-nav--open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .nav-dropdown__trigger--desktop {
        display: none;
    }
    .nav-mobile-section-label {
        display: block;
    }
    .nav-dropdown__panel {
        position: static;
        left: auto;
        transform: none;
        min-width: 0;
        max-width: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        margin-top: 0;
        padding: 0;
        border: none;
        background: transparent;
        box-shadow: none;
    }
    .nav-sniper-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .nav-sniper-group {
        padding: 16px 14px;
    }
    .nav-sniper-group__link {
        min-height: 44px;
        padding: 10px 16px;
        font-size: 13px;
        box-sizing: border-box;
    }
    .nav-institutional {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px 0 0;
        border-left: none;
        border-top: 1px solid var(--border-subtle);
    }
    .nav-institutional .nav-link--muted {
        font-size: 15px;
        padding: 14px 16px;
        min-height: 48px;
        display: flex;
        align-items: center;
        box-sizing: border-box;
    }
    .header-pro-inner .logo,
    .site-nav-toggle,
    .header-pro-inner .nav.nav-right {
        position: relative;
        z-index: 2002;
    }
}
body.site-nav-open {
    overflow: hidden;
}

@media (min-width: 901px) {
    .site-nav-toggle {
        display: none !important;
    }
}

.nav-sniper-group__link.is-active {
    border-color: rgba(232, 197, 71, 0.55);
    color: var(--gold-light);
    background: rgba(232, 197, 71, 0.12);
}

/* Evita flash de "entrar" antes do getSession() (Supabase + config) — header-auth.js */
body.ffc-header-auth-pending #header-user-slot {
    min-width: 7.5rem;
    min-height: 2.75rem;
    position: relative;
}
body.ffc-header-auth-pending #header-user-slot > * {
    opacity: 0 !important;
    pointer-events: none;
}
body.ffc-header-auth-pending #header-user-slot::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border-radius: 50%;
    border: 2px solid rgba(232, 197, 71, 0.2);
    border-top-color: var(--gold-light, #e8c547);
    animation: ffc-header-auth-spin 0.65s linear infinite;
    pointer-events: none;
}
@keyframes ffc-header-auth-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Aviso IP — só nas páginas Sniper (header-auth.js); acompanha o scroll no topo */
#ffc-ip-notice.ffc-ip-notice {
    position: sticky;
    top: 0;
    z-index: 10000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    padding: 12px 20px;
    margin: 0;
    box-sizing: border-box;
    width: 100%;
    background: rgba(12, 12, 18, 0.96);
    border-bottom: 1px solid rgba(232, 197, 71, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 13px;
    line-height: 1.45;
    color: rgba(245, 245, 250, 0.92);
}
#ffc-ip-notice.ffc-ip-notice p {
    margin: 0;
    flex: 1 1 220px;
    max-width: 100%;
}
#ffc-ip-notice .ffc-ip-notice-dismiss {
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid rgba(232, 197, 71, 0.45);
    background: rgba(232, 197, 71, 0.12);
    color: var(--gold-light, #f5d76e);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, border-color 0.2s;
}
#ffc-ip-notice .ffc-ip-notice-dismiss:hover {
    background: rgba(232, 197, 71, 0.22);
    border-color: rgba(232, 197, 71, 0.65);
}

/* ========== Telemóvel: legibilidade, safe areas, toque (cascata final) ========== */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
@supports (min-height: 100dvh) {
    body {
        min-height: 100dvh;
    }
}
@media (max-width: 640px) {
    .container {
        padding-left: max(16px, env(safe-area-inset-left, 0px));
        padding-right: max(16px, env(safe-area-inset-right, 0px));
    }
    .header.header-pro {
        padding-top: max(12px, env(safe-area-inset-top, 0px));
    }
    .footer {
        padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
    }
    .btn-nav-pro {
        min-height: 44px;
        padding-left: 14px;
        padding-right: 14px;
        box-sizing: border-box;
    }
    .main-landing .btn-primary,
    .como-cta .btn-primary {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        min-height: 52px;
        box-sizing: border-box;
    }
    .btn-primary {
        min-height: 48px;
        justify-content: center;
        box-sizing: border-box;
    }
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
    select,
    textarea {
        font-size: 16px !important;
    }
}
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(30px, 9vw, 42px) !important;
        line-height: 1.12;
    }
    .hero-subtitle {
        font-size: 17px !important;
        line-height: 1.65;
    }
    .header-pro .logo-img {
        width: 56px;
        height: 56px;
    }
    .header-pro .logo-name {
        font-size: 1.05rem;
        max-width: 42vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .feature-card h3 {
        font-size: 17px;
    }
    .feature-card p {
        font-size: 15px;
    }
}
@media (max-width: 900px) {
    .header-pro-inner {
        flex-wrap: nowrap;
        gap: 6px;
    }
}
#ffc-ip-notice.ffc-ip-notice {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
}
#ffc-ip-notice .ffc-ip-notice-dismiss {
    min-height: 44px;
    padding: 10px 18px;
}
